Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/temporalio/temporal
/ functions
Functions
43,335 in github.com/temporalio/temporal
⨍
Functions
43,335
◇
Types & classes
5,614
↓ 1 callers
Method
tryEvictAndGetPreviousElement
(entry *entryImpl, element *list.Element)
common/cache/lru.go:416
↓ 1 callers
Method
tryEvictUntilCacheSizeUnderLimit
tryEvictUntilCacheSizeUnderLimit tries to evict entries until c.currSize is less than c.maxSize.
common/cache/lru.go:393
↓ 1 callers
Function
tryFindOneNestedField
(t reflect.Type, name string, path string, maxDepth int)
cmd/tools/genrpcwrappers/main.go:200
↓ 1 callers
Method
tryInsert
( ctx context.Context, queueType persistence.QueueV2Type, queueName string, blob *commonpb.DataBlob, mess
common/persistence/cassandra/queue_v2_store.go:338
↓ 1 callers
Method
tryLock
()
service/matching/task_gc.go:95
↓ 1 callers
Function
tryParseDataRace
tryParseDataRace parses a data race alert at position i if present.
tools/testrunner/log.go:226
↓ 1 callers
Function
tryParseFatal
tryParseFatal parses a runtime fatal error alert at position i if present.
tools/testrunner/log.go:277
↓ 1 callers
Function
tryParsePanic
tryParsePanic parses a non-timeout panic alert at position i if present.
tools/testrunner/log.go:263
↓ 1 callers
Method
trySetRPSFromUserDataLocked
trySetRPSFromUserDataLocked sets the apiConfigRPS from user data. Called exclusively in response to updates in user data.
service/matching/ratelimit_manager.go:219
↓ 1 callers
Function
tryVisibilityMapper
tryVisibilityMapper might find a successful match in which case we return it otherwise we continue with the fallback logic.
common/persistence/visibility/store/query/resolve.go:57
↓ 1 callers
Method
tryWatchWorkflow
(ctx context.Context, req *schedulespb.WatchWorkflowRequest)
service/worker/scheduler/activities.go:108
↓ 1 callers
Function
tweakablesFromContext
tweakablesFromContext returns the scheduler Tweakables for the context's namespace, falling back to DefaultTweakables when no config is registered.
chasm/lib/scheduler/config.go:42
↓ 1 callers
Method
txExecute
(ctx context.Context, operation string, f func(tx sqlplugin.Tx) error)
common/persistence/sql/task_user_data.go:157
↓ 1 callers
Method
unaliasAndValidateSearchAttributes
(historyBatches []*commonpb.DataBlob, nsName namespace.Name)
service/frontend/admin_handler.go:727
↓ 1 callers
Method
unaryMetricsHandlerLogTags
(req any, fullMethod string, methodName string, nsName namespace.Name)
common/rpc/interceptor/telemetry.go:384
↓ 1 callers
Function
unfairness
(vs []int)
tests/priority_fairness_test.go:606
↓ 1 callers
Method
uniqueString
(key string)
common/testing/testvars/test_vars.go:87
↓ 1 callers
Method
unloadTaskQueue
( env *testcore.TestEnv, tq string, )
tests/versioning_test.go:4998
↓ 1 callers
Method
unlock
()
service/matching/task_gc.go:99
↓ 1 callers
Method
unpinAckLevel
(writeErr error)
service/matching/fair_task_reader.go:635
↓ 1 callers
Method
unregisterBacklogTask
(task *internalTask)
service/matching/matcher.go:573
↓ 1 callers
Method
unsetPreviousRamp
nolint:staticcheck // SA1019
service/worker/workerdeployment/workflow.go:1057
↓ 1 callers
Method
unsetRamp
nolint:staticcheck // SA1019
service/worker/workerdeployment/workflow.go:935
↓ 1 callers
Function
unsetRampingFromRoutingConfig
( workerDeploymentData *persistencespb.WorkerDeploymentData, )
service/matching/matching_engine.go:3755
↓ 1 callers
Method
unversionedWorkflowStaysUnversioned
(env *testcore.TestEnv)
tests/versioning_test.go:667
↓ 1 callers
Method
updateAckLevel
( ctx context.Context, lastProcessedMessageID int64, clusterName string, isDLQ bool, )
common/persistence/namespace_replication_queue.go:182
↓ 1 callers
Method
updateAddTarget
( cfg dynamicconfig.SimplePartitionScalerSettings, target int, )
service/matching/simple_partition_scaler.go:114
↓ 1 callers
Method
updateAsCurrent
( ctx context.Context, targetWorkflow Workflow, newWorkflow Workflow, )
service/history/ndc/transaction_manager_existing_workflow.go:213
↓ 1 callers
Method
updateAsZombie
( ctx context.Context, currentWorkflow Workflow, targetWorkflow Workflow, newWorkflow Workflow, archetype
service/history/ndc/transaction_manager_existing_workflow.go:231
↓ 1 callers
Method
updateBacklogAge
(task *internalTask)
service/matching/task_reader.go:70
↓ 1 callers
Method
updateBinaryChecksumSearchAttribute
()
service/history/workflow/mutable_state_impl.go:3547
↓ 1 callers
Function
updateBufferedEvents
( ctx context.Context, tx sqlplugin.Tx, batch *commonpb.DataBlob, shardID int32, namespaceID primitives.U
common/persistence/sql/execution_state_non_map.go:101
↓ 1 callers
Function
updateBufferedEvents
( batch *gocql.Batch, newBufferedEvents *commonpb.DataBlob, clearBufferedEvents bool, shardID int32, name
common/persistence/cassandra/util.go:1075
↓ 1 callers
Method
updateChannelWeightLocked
()
common/tasks/interleaved_weighted_round_robin.go:322
↓ 1 callers
Method
updateComponent
( ctx context.Context, ref chasm.ComponentRef, updateFn func(chasm.MutableContext, chasm.Component) error,
service/history/chasm_engine.go:531
↓ 1 callers
Method
updateContext
( batch []Vertex, )
common/testing/event_generator.go:221
↓ 1 callers
Method
updateCustomSearchAttributes
(searchAttributes *commonpb.SearchAttributes)
service/worker/scheduler/workflow.go:1195
↓ 1 callers
Method
updateDrainState
(ctx context.Context)
service/matching/scale_manager.go:321
↓ 1 callers
Method
updateEphemeralDataIteration
(prevBacklogPriority map[PhysicalTaskQueueVersion]int64)
service/matching/task_queue_partition_manager.go:1520
↓ 1 callers
Function
updateErrorMetric
(handler metrics.Handler, logger log.Logger, operation string, err error)
common/persistence/persistence_metric_clients.go:1436
↓ 1 callers
Method
updateEvents
( item *ReplicationProgress, eventVersionHistoryItems []*historyspb.VersionHistoryItem, )
service/history/replication/progress_cache.go:112
↓ 1 callers
Method
updateExecution
( ctx context.Context, shardContext historyi.ShardContext, executionLease api.WorkflowLease, executionRef
service/history/chasm_engine.go:362
↓ 1 callers
Method
updateHandoverNamespacePendingTaskID
()
service/history/shard/context_impl.go:1734
↓ 1 callers
Method
updateIndexMappings
updateIndexMappings updates the mappings of an existing index using raw HTTP request
tools/elasticsearch/tasks.go:153
↓ 1 callers
Method
updateKeysFromURI
( uri string, rsaKeys map[string]*rsa.PublicKey, ecKeys map[string]*ecdsa.PublicKey, )
common/authorization/default_token_key_provider.go:138
↓ 1 callers
Method
updateLastTask
(task *batchedTask)
service/history/replication/sequential_batch_queue.go:91
↓ 1 callers
Method
updateMaxResultWindow
(env *testcore.TestEnv)
tests/advanced_visibility_test.go:2654
↓ 1 callers
Method
updateMemo
( updatedMemo map[string]*commonpb.Payload, )
service/history/workflow/mutable_state_impl.go:7610
↓ 1 callers
Method
updateMemoAndSearchAttributes
()
service/worker/scheduler/workflow.go:1242
↓ 1 callers
Method
updateQueue
( ctx context.Context, q *Queue, queueType persistence.QueueV2Type, queueName string, )
common/persistence/cassandra/queue_v2_store.go:305
↓ 1 callers
Method
updateQueueState
( tasksCompleted int, readerScopes map[int64][]Scope, )
service/history/queues/queue_base.go:392
↓ 1 callers
Method
updateRatelimitLocked
updateRatelimitLocked checks and updates the overall queue rate limit if changed.
service/matching/ratelimit_manager.go:247
↓ 1 callers
Method
updateRefreshTimer
()
common/persistence/client/health_request_rate_limiter.go:147
↓ 1 callers
Method
updateRegistrySize
(size int)
service/history/workflow/update/util.go:95
↓ 1 callers
Method
updateResult
updateResult returns the update result sent by the worker in this cluster.
tests/xdc/history_replication_signals_and_updates_test.go:853
↓ 1 callers
Method
updateScheduleCHASM
( ctx context.Context, request *workflowservice.UpdateScheduleRequest, )
service/frontend/workflow_handler.go:4623
↓ 1 callers
Method
updateScheduleWorkflow
( ctx context.Context, request *workflowservice.UpdateScheduleRequest, )
service/frontend/workflow_handler.go:4643
↓ 1 callers
Method
updateSchemaVersion
(oldVer string, cs *changeSet)
tools/common/schema/updatetask.go:156
↓ 1 callers
Method
updateShardRangeID
()
service/history/queues/queue_base.go:359
↓ 1 callers
Method
updateStates
( item *ReplicationProgress, versionedTransitions []*persistencespb.VersionedTransition, )
service/history/replication/progress_cache.go:80
↓ 1 callers
Method
updateUserData
UpdateUserData allows callers to update user data (such as worker build IDs) for this task queue. The pointer passed to the update function is guarant
service/matching/user_data_manager.go:512
↓ 1 callers
Function
updateVersionSetImpl
nolint:revive // cyclomatic complexity
service/matching/version_sets.go:183
↓ 1 callers
Method
updateVersioningData
(data *persistencespb.VersioningData)
service/matching/task_queue_partition_manager_test.go:2085
↓ 1 callers
Method
updateWithLastWriteEvent
( lastEvent *historypb.HistoryEvent, transactionPolicy historyi.TransactionPolicy, )
service/history/workflow/mutable_state_impl.go:8607
↓ 1 callers
Method
updateWithStartExecution
( ctx context.Context, executionRef chasm.ComponentRef, startFn func(chasm.MutableContext) (chasm.RootCompo
service/history/chasm_engine.go:281
↓ 1 callers
Method
updateWithStartWorkerDeploymentVersion
( ctx context.Context, namespaceEntry *namespace.Namespace, deploymentName, buildID string, updateRequest
service/worker/workerdeployment/client.go:1543
↓ 1 callers
Function
updateWorkflowExecution
( ctx context.Context, shardContext historyi.ShardContext, updateWorkflowFailoverVersion int64, newWorkflo
service/history/workflow/transaction_impl.go:506
↓ 1 callers
Method
updateWorkflowExecutionEventReapply
( ctx context.Context, shardContext historyi.ShardContext, updateMode persistence.UpdateWorkflowMode, even
service/history/workflow/context.go:821
↓ 1 callers
Method
updateWorkflowExecutionTx
( ctx context.Context, tx sqlplugin.Tx, request *p.InternalUpdateWorkflowExecutionRequest, )
common/persistence/sql/execution.go:360
↓ 1 callers
Method
upsertHeartbeats
upsertHeartbeat records or refreshes a WorkerHeartbeat under the given namespace. New entries increment the global counter.
service/matching/workers/registry_impl.go:272
↓ 1 callers
Method
userDataChanged
(to *persistencespb.VersionedTaskQueueUserData)
service/matching/task_queue_partition_manager.go:2450
↓ 1 callers
Method
userDataFetchSource
()
service/matching/user_data_manager.go:258
↓ 1 callers
Method
uuidNSetter
Generate new uuid for every new n.
common/testing/testvars/test_vars.go:74
↓ 1 callers
Method
validate
(rawURL string)
components/callbacks/config.go:59
↓ 1 callers
Method
validate
( mutableState *MutableState, )
service/worker/scanner/executions/task.go:134
↓ 1 callers
Method
validate
()
temporaltest/internal/lite_server.go:186
↓ 1 callers
Function
validateAcceptanceMsg
(msg *updatepb.Acceptance)
service/history/workflow/update/validation.go:72
↓ 1 callers
Method
validateAccessHelper
validateAccessHelper is a helper method that validates both the current node's lifecycle state AND its ancestors recursively. Do not call this method
chasm/tree.go:522
↓ 1 callers
Method
validateActivity
( activityInfos map[int64]*persistencespb.ActivityInfo, lastEventID int64, )
service/worker/scanner/executions/mutable_state_validator.go:119
↓ 1 callers
Function
validateActivityRetryPolicy
( namespaceID namespace.ID, retryPolicy *commonpb.RetryPolicy, getDefaultActivityRetrySettings dynamicconfi
chasm/lib/activity/validator.go:135
↓ 1 callers
Method
validateActivityRetryPolicy
( namespaceID namespace.ID, retryPolicy *commonpb.RetryPolicy, )
service/history/api/command_attr_validator.go:553
↓ 1 callers
Function
validateAdminBatchOperation
(params *adminservice.StartAdminBatchOperationRequest)
service/frontend/admin_handler.go:1709
↓ 1 callers
Function
validateAndNormalizeIDPolicy
(req *workflowservice.StartActivityExecutionRequest)
chasm/lib/activity/validator.go:217
↓ 1 callers
Function
validateAndNormalizeSearchAttributes
( req *workflowservice.StartNexusOperationExecutionRequest, saMapperProvider searchattribute.MapperProvider,
chasm/lib/nexusoperation/validator.go:318
↓ 1 callers
Function
validateAndNormalizeSearchAttributes
( req *workflowservice.StartActivityExecutionRequest, saMapperProvider searchattribute.MapperProvider, saVa
chasm/lib/activity/validator.go:281
↓ 1 callers
Function
validateAndNormalizeTimeouts
( activityID string, activityType string, runTimeout *durationpb.Duration, options *activitypb.ActivityOpt
chasm/lib/activity/validator.go:149
↓ 1 callers
Function
validateAndSetNamespaceHandoverParams
(params *NamespaceHandoverParams)
service/worker/migration/handover_workflow.go:188
↓ 1 callers
Method
validateAndSetReceiverMode
Receiver mode can only be set once for the lifetime of the receiver. Receiver mode is set when receiver receive the first task. If the first task is p
service/history/replication/stream_receiver.go:467
↓ 1 callers
Method
validateBuildIdCompatibilityUpdate
nolint:revive // cyclomatic complexity
service/frontend/workflow_handler.go:6396
↓ 1 callers
Function
validateCQLStmts
(stmts []string)
tools/common/schema/updatetask.go:251
↓ 1 callers
Method
validateCachedState
validateCachedState clears cached fields whenever the Scheduler's ConflictToken doesn't match its cacheConflictToken field. Validation is only as effe
chasm/lib/scheduler/scheduler.go:453
↓ 1 callers
Function
validateCatchupParams
(params *CatchUpParams)
service/worker/migration/catchup_workflow.go:50
↓ 1 callers
Method
validateChildWorkflow
( childExecutionInfos map[int64]*persistencespb.ChildExecutionInfo, lastEventID int64, )
service/worker/scanner/executions/mutable_state_validator.go:161
↓ 1 callers
Function
validateCoefficient
(coefficient float64)
common/backoff/jitter.go:23
↓ 1 callers
Function
validateCompletion
(completion *tokenspb.NexusOperationCompletion)
common/nexus/callback_token.go:72
↓ 1 callers
Method
validateConflictToken
(token []byte)
chasm/lib/scheduler/scheduler.go:927
↓ 1 callers
Method
validateCreateWorkerDeployment
(args *deploymentspb.CreateWorkerDeploymentArgs)
service/worker/workerdeployment/workflow.go:464
↓ 1 callers
Method
validateCreateWorkerDeploymentVersion
(args *deploymentspb.CreateWorkerDeploymentVersionArgs)
service/worker/workerdeployment/workflow.go:509
↓ 1 callers
Function
validateDeleteRequest
(request *operatorservice.DeleteNexusEndpointRequest)
service/frontend/nexus_endpoint_client.go:386
↓ 1 callers
Method
validateDeploymentOptions
(deploymentOptions *deploymentpb.WorkerDeploymentOptions)
service/frontend/workflow_handler.go:6378
← previous
next →
13,301–13,400 of 43,335, ranked by callers