MCPcopy
hub / github.com/CodisLabs/codis / IsFalse

Method IsFalse

pkg/utils/sync2/atomic2/bool.go:18–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18func (b *Bool) IsFalse() bool {
19 return b.c.Int64() == 0
20}
21
22func (b *Bool) toInt64(v bool) int64 {
23 if v {

Callers 3

KeepAliveMethod · 0.80
runMethod · 0.80
delayBeforeRetryMethod · 0.80

Calls 1

Int64Method · 0.45

Tested by

no test coverage detected