Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/golang/groupcache
/ removeOldest
Method
removeOldest
groupcache.go:451–457 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
449
}
450
451
func
(c *cache) removeOldest() {
452
c.mu.Lock()
453
defer
c.mu.Unlock()
454
if
c.lru != nil {
455
c.lru.RemoveOldest()
456
}
457
}
458
459
func
(c *cache) bytes() int64 {
460
c.mu.RLock()
Callers
1
populateCache
Method · 0.80
Calls
1
RemoveOldest
Method · 0.80
Tested by
no test coverage detected