MCPcopy Index your code
hub / github.com/allegro/bigcache / copy

Method copy

queue/bytes_queue.go:158–160  ·  view source on GitHub ↗
(data []byte, len int)

Source from the content-addressed store, hash-verified

156}
157
158func (q *BytesQueue) copy(data []byte, len int) {
159 q.tail += copy(q.array[q.tail:], data[:len])
160}
161
162// Pop reads the oldest entry from queue and moves head pointer to the next one
163func (q *BytesQueue) Pop() ([]byte, error) {

Callers 1

pushMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected