MCPcopy Create free account
hub / github.com/koding/kite / Seed

Method Seed

utils/utils.go:30–34  ·  view source on GitHub ↗
(seed int64)

Source from the content-addressed store, hash-verified

28}
29
30func (r *lockedSource) Seed(seed int64) {
31 r.lk.Lock()
32 r.src.Seed(seed)
33 r.lk.Unlock()
34}
35
36// Int31n returns a pseudo-random int32 in range [0, n).
37func Int31n(n int32) int32 {

Callers 6

initFunction · 0.80
initFunction · 0.80
RunMethod · 0.80
initFunction · 0.80
initFunction · 0.80
initFunction · 0.80

Calls

no outgoing calls

Tested by 2

initFunction · 0.64
initFunction · 0.64