MCPcopy Create free account
hub / github.com/allegro/bigcache / pop

Function pop

queue/bytes_queue_test.go:452–458  ·  view source on GitHub ↗
(queue *BytesQueue)

Source from the content-addressed store, hash-verified

450}
451
452func pop(queue *BytesQueue) []byte {
453 entry, err := queue.Pop()
454 if err != nil {
455 panic(err)
456 }
457 return entry
458}
459
460func get(queue *BytesQueue, index int) []byte {
461 entry, err := queue.Get(index)

Calls 1

PopMethod · 0.80

Tested by

no test coverage detected