MCPcopy Index your code
hub / github.com/cortexproject/cortex / RandRange

Function RandRange

integration/e2e/util.go:258–260  ·  view source on GitHub ↗
(rnd *rand.Rand, min, max int64)

Source from the content-addressed store, hash-verified

256}
257
258func RandRange(rnd *rand.Rand, min, max int64) int64 {
259 return rnd.Int63n(max-min) + min
260}
261
262func CreateNHBlock(
263 ctx context.Context,

Calls

no outgoing calls