MCPcopy Create free account
hub / github.com/aclements/go-misc / Range

Method Range

split/value.go:191–216  ·  view source on GitHub ↗

Range calls each of its argument functions with pointers to all of the shards in v. Each argument must be a function with type func(*T), where T is the shard type of the Value. Range calls its first argument N times with a pointer to each of the N shards of v. It then calls its second argument with

(fn ...interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

NewFunction · 0.95
Example_counterFunction · 0.80
Example_loggingFunction · 0.80
LockMethod · 0.80
UnlockMethod · 0.80

Calls 1

shardMethod · 0.95

Tested by 6

Example_counterFunction · 0.64
Example_loggingFunction · 0.64
LockMethod · 0.64
UnlockMethod · 0.64