Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eth-easl/dirigent
/ Find
Method
Find
pkg/atomic_map/atomic_map.go:41–44 ·
view source on GitHub ↗
(key K)
Source
from the content-addressed store, hash-verified
39
}
40
41
func
(c *AtomicMap[K, V]) Find(key K) bool {
42
_, ok := c.Load(key)
43
return
ok
44
}
45
46
func
(c *AtomicMap[K, V]) Get(key K) (V, bool) {
47
count, ok := c.Load(key)
Callers
1
TestAtomicMap_AtomicGet
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestAtomicMap_AtomicGet
Function · 0.64