Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/flant/shell-operator
/ AddLast
Method
AddLast
pkg/task/queue/task_queue_benchmark_test.go:83–83 ·
view source on GitHub ↗
(tasks ...task.Task)
Source
from the content-addressed store, hash-verified
81
82
type
Queue
interface
{
83
AddLast(tasks ...task.Task)
84
AddFirst(tasks ...task.Task)
85
GetFirst() task.Task
86
RemoveFirst() task.Task
Callers
15
AddLast
Method · 0.65
TestTaskStorage_BasicOperations
Function · 0.65
TestTaskStorage_AddBeforeAfter
Function · 0.65
TestTaskStorage_DeleteFunc
Function · 0.65
TestTaskStorage_ProcessResult
Function · 0.65
TestTaskStorage_SnapshotAndIteration
Function · 0.65
TestTaskStorage_ConcurrentReadWrite
Function · 0.65
TestTaskStorage_DeadlockPrevention
Function · 0.65
TestTaskStorage_RaceConditionDetection
Function · 0.65
TestTaskStorage_ProcessResultConcurrent
Function · 0.65
TestTaskStorage_EdgeCases
Function · 0.65
TestTaskStorage_LargeScaleOperations
Function · 0.65
Implementers
2
TaskQueue
pkg/task/queue/task_queue.go
TaskStorage
pkg/task/queue/task_storage.go
Calls
no outgoing calls
Tested by
15
TestTaskStorage_BasicOperations
Function · 0.52
TestTaskStorage_AddBeforeAfter
Function · 0.52
TestTaskStorage_DeleteFunc
Function · 0.52
TestTaskStorage_ProcessResult
Function · 0.52
TestTaskStorage_SnapshotAndIteration
Function · 0.52
TestTaskStorage_ConcurrentReadWrite
Function · 0.52
TestTaskStorage_DeadlockPrevention
Function · 0.52
TestTaskStorage_RaceConditionDetection
Function · 0.52
TestTaskStorage_ProcessResultConcurrent
Function · 0.52
TestTaskStorage_EdgeCases
Function · 0.52
TestTaskStorage_LargeScaleOperations
Function · 0.52
benchmarkAddLast
Function · 0.52