MCPcopy Create free account
hub / github.com/betty200744/ultimate-go / Dequeue

Method Dequeue

algorithms/data-structures/queue/queue.go:44–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 q.len++
43}
44func (q *Queue) Dequeue() interface{} {
45 el := q.queue[0]
46 q.queue = q.queue[1:]
47 q.len--
48 return el
49}

Callers 1

Test_QueueFunction · 0.80

Calls

no outgoing calls

Tested by 1

Test_QueueFunction · 0.64