MCPcopy
hub / github.com/minio/minio-go / Int63

Method Int63

api.go:238–243  ·  api.go::lockedRandSource.Int63

Int63 returns a non-negative pseudo-random 63-bit integer as an int64.

()

Source from the content-addressed store, hash-verified

236
237// Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
238func (r *lockedRandSource) Int63() (n int64) {
239 r.lk.Lock()
240 n = r.src.Int63()
241 r.lk.Unlock()
242 return n
243}
244
245// Seed uses the provided seed value to initialize the generator to a
246// deterministic state.

Callers 2

randStringFunction · 0.80
randStringFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected