MCPcopy Create free account
hub / github.com/pydio/cells / getRandomSource

Function getRandomSource

common/utils/std/random.go:46–51  ·  view source on GitHub ↗

Random [m,n]

()

Source from the content-addressed store, hash-verified

44
45// Random [m,n]
46func getRandomSource() rand.Source {
47 randMutex.Lock()
48 defer randMutex.Unlock()
49
50 return src
51}
52
53// Randkey produces a random string with a given length
54func Randkey(n int) string {

Callers 1

RandkeyFunction · 0.85

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…