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

Function get

queue/bytes_queue_test.go:460–466  ·  view source on GitHub ↗
(queue *BytesQueue, index int)

Source from the content-addressed store, hash-verified

458}
459
460func get(queue *BytesQueue, index int) []byte {
461 entry, err := queue.Get(index)
462 if err != nil {
463 panic(err)
464 }
465 return entry
466}
467
468func blob(char byte, len int) []byte {
469 return bytes.Repeat([]byte{char}, len)

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected