MCPcopy Index your code
hub / github.com/golang/groupcache / items

Method items

groupcache.go:465–469  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

463}
464
465func (c *cache) items() int64 {
466 c.mu.RLock()
467 defer c.mu.RUnlock()
468 return c.itemsLocked()
469}
470
471func (c *cache) itemsLocked() int64 {
472 if c.lru == nil {

Callers 1

TestNoDedupFunction · 0.80

Calls 1

itemsLockedMethod · 0.95

Tested by 1

TestNoDedupFunction · 0.64