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

Method CheckGet

queue/bytes_queue.go:198–200  ·  view source on GitHub ↗

CheckGet checks if an entry can be read from index

(index int)

Source from the content-addressed store, hash-verified

196
197// CheckGet checks if an entry can be read from index
198func (q *BytesQueue) CheckGet(index int) error {
199 return q.peekCheckErr(index)
200}
201
202// Capacity returns number of allocated bytes for queue
203func (q *BytesQueue) Capacity() int {

Callers 4

delMethod · 0.80

Calls 1

peekCheckErrMethod · 0.95

Tested by 3