Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
465
func
(c *cache) items() int64 {
466
c.mu.RLock()
467
defer
c.mu.RUnlock()
468
return
c.itemsLocked()
469
}
470
471
func
(c *cache) itemsLocked() int64 {
472
if
c.lru == nil {
Callers
1
TestNoDedup
Function · 0.80
Calls
1
itemsLocked
Method · 0.95
Tested by
1
TestNoDedup
Function · 0.64