MCPcopy Index your code
hub / github.com/flant/shell-operator / Length

Method Length

pkg/task/queue/task_queue.go:288–292  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

286}
287
288func (q *TaskQueue) Length() int {
289 defer q.MeasureActionTime("Length")()
290
291 return q.storage.Length()
292}
293
294// AddFirst adds new head element.
295func (q *TaskQueue) AddFirst(tasks ...task.Task) {

Callers 15

RemoveLastMethod · 0.95
waitForTaskMethod · 0.95
StringMethod · 0.95
withLockMethod · 0.95
AddLastMethod · 0.45
compactionMethod · 0.45
processOneMethod · 0.45

Calls 1

MeasureActionTimeMethod · 0.95