MCPcopy
hub / github.com/etcd-io/bbolt / randomIntInRange

Function randomIntInRange

concurrent_test.go:528–530  ·  view source on GitHub ↗
(min, max int)

Source from the content-addressed store, hash-verified

526}
527
528func randomIntInRange(min, max int) int {
529 return mrand.Intn(max-min) + min
530}
531
532func formatBytes(val []byte) string {
533 if utf8.ValidString(string(val)) {

Callers 1

executeWriteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected