MCPcopy Create free account
hub / github.com/eth-easl/dirigent / Set

Method Set

pkg/synchronization/control_plane_sync.go:41–41  ·  view source on GitHub ↗

Not thread safe

(key K, value V)

Source from the content-addressed store, hash-verified

39 GetKeys() []K // Not thread safe
40 GetValues() []V // Not thread safe
41 Set(key K, value V) // Not thread safe
42 Get(key K) (V, bool) // Not thread safe
43 GetNoCheck(key K) V // Not thread safe
44 Remove(key K) // Not thread safe

Callers 15

FireFunction · 0.65
TestAtomicMap_CopyOnGetFunction · 0.65
TestAtomicMap_AtomicAddFunction · 0.65
TestAtomicMap_AtomicLennFunction · 0.65
GetImageMethod · 0.65
AddSandboxMethod · 0.65
RegisterDataplaneMethod · 0.65

Calls

no outgoing calls

Tested by 9

TestAtomicMap_CopyOnGetFunction · 0.52
TestAtomicMap_AtomicAddFunction · 0.52
TestAtomicMap_AtomicLennFunction · 0.52
TestRandomPolicyFunction · 0.52
TestRoundRobinFunction · 0.52