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

Function boolInt

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

Source from the content-addressed store, hash-verified

656}
657
658func boolInt(ok bool) int {
659 if ok {
660 return 1
661 }
662 return 0
663}
664
665func maxInt(a, b int) int {
666 if a > b {

Callers 1

buildSummaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected