MCPcopy Create free account
hub / github.com/bigwhite/experiments / Range

Method Range

inside-syncmap/syncmap/sync/map.go:334–365  ·  view source on GitHub ↗

Range calls f sequentially for each key and value present in the map. If f returns false, range stops the iteration. Range does not necessarily correspond to any consistent snapshot of the Map's contents: no key will be visited more than once, but if the value for any key is stored or deleted concu

(f func(key, value interface{}) bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

LoadMethod · 0.80
StoreMethod · 0.80
fFunction · 0.50
loadMethod · 0.45

Tested by

no test coverage detected