Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/flant/shell-operator
/ GetFirst
Method
GetFirst
pkg/task/queue/task_queue_benchmark_test.go:85–85 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
83
AddLast(tasks ...task.Task)
84
AddFirst(tasks ...task.Task)
85
GetFirst() task.Task
86
RemoveFirst() task.Task
87
Get(id string) task.Task
88
}
Callers
11
GetFirst
Method · 0.65
TestTaskStorage_BasicOperations
Function · 0.65
TestTaskStorage_SnapshotAndIteration
Function · 0.65
TestTaskStorage_ConcurrentReadWrite
Function · 0.65
TestTaskStorage_DeadlockPrevention
Function · 0.65
TestTaskStorage_RaceConditionDetection
Function · 0.65
TestTaskStorage_EdgeCases
Function · 0.65
TestTaskStorage_LargeScaleOperations
Function · 0.65
benchmarkGetFirst
Function · 0.65
TestConcurrentOperations
Function · 0.65
Combined
Method · 0.65
Implementers
2
TaskQueue
pkg/task/queue/task_queue.go
TaskStorage
pkg/task/queue/task_storage.go
Calls
no outgoing calls
Tested by
9
TestTaskStorage_BasicOperations
Function · 0.52
TestTaskStorage_SnapshotAndIteration
Function · 0.52
TestTaskStorage_ConcurrentReadWrite
Function · 0.52
TestTaskStorage_DeadlockPrevention
Function · 0.52
TestTaskStorage_RaceConditionDetection
Function · 0.52
TestTaskStorage_EdgeCases
Function · 0.52
TestTaskStorage_LargeScaleOperations
Function · 0.52
benchmarkGetFirst
Function · 0.52
TestConcurrentOperations
Function · 0.52