Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grpc/grpc-go
/ addEntry
Method
addEntry
balancer/rls/cache.go:134–137 ·
view source on GitHub ↗
(key cacheKey)
Source
from the content-addressed store, hash-verified
132
}
133
134
func
(l *lru) addEntry(key cacheKey) {
135
e := l.ll.PushBack(key)
136
l.m[key] = e
137
}
138
139
func
(l *lru) makeRecent(key cacheKey) {
140
e := l.m[key]
Callers
8
handleRouteLookupResponse
Method · 0.45
addEntry
Method · 0.45
TestLRU_BasicOperations
Method · 0.45
TestDataCache_BasicOperations
Method · 0.45
TestDataCache_AddForcesResize
Method · 0.45
TestDataCache_Resize
Method · 0.45
TestDataCache_EvictExpiredEntries
Method · 0.45
TestDataCache_ResetBackoffState
Method · 0.45
Calls
no outgoing calls
Tested by
6
TestLRU_BasicOperations
Method · 0.36
TestDataCache_BasicOperations
Method · 0.36
TestDataCache_AddForcesResize
Method · 0.36
TestDataCache_Resize
Method · 0.36
TestDataCache_EvictExpiredEntries
Method · 0.36
TestDataCache_ResetBackoffState
Method · 0.36