MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / boolCount

Function boolCount

tests/loadtest/tools/queue_benchmark.go:651–656  ·  view source on GitHub ↗
(ok bool)

Source from the content-addressed store, hash-verified

649}
650
651func boolCount(ok bool) float64 {
652 if ok {
653 return 1
654 }
655 return 0
656}
657
658func boolInt(ok bool) int {
659 if ok {

Callers 1

buildSummaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected