Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
404
func
(w *worker) pickKey() []byte {
405
key := fmt.Sprintf(
"%s_%d"
, keyPrefix, mrand.Intn(w.conf.keyCount))
406
return
[]byte(key)
407
}
408
409
func
(w *worker) pickOperation() OperationType {
410
sum := 0
Callers
1
run
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected