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

Method pickKey

concurrent_test.go:404–407  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

402}
403
404func (w *worker) pickKey() []byte {
405 key := fmt.Sprintf("%s_%d", keyPrefix, mrand.Intn(w.conf.keyCount))
406 return []byte(key)
407}
408
409func (w *worker) pickOperation() OperationType {
410 sum := 0

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected