- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getRandomRange (0.07 sec)
-
cmd/test-utils_test.go
return endpoint.Host } } } return net.JoinHostPort(globalMinioHost, globalMinioPort) } // fetches a random number between range min-max. func getRandomRange(min, max int, seed int64) int { // special value -1 means no explicit seeding. if seed != -1 { rand.Seed(seed) } return rand.Intn(max-min) + min }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0)