Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/evilsocket/sum
/ Get
Method
Get
service/cache.go:18–22 ·
view source on GitHub ↗
(id uint64)
Source
from the content-addressed store, hash-verified
16
}
17
18
func
(cc *compiledCache) Get(id uint64) *compiled {
19
cc.RLock()
20
defer
cc.RUnlock()
21
return
cc.cache[id]
22
}
23
24
func
(cc *compiledCache) Add(id uint64, c *compiled) {
25
cc.Lock()
Callers
2
Run
Method · 0.45
Run
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected