MCPcopy Index your code
hub / github.com/CodisLabs/codis / Bool

Method Bool

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

Source from the content-addressed store, hash-verified

8}
9
10func (b *Bool) Bool() bool {
11 return b.IsTrue()
12}
13
14func (b *Bool) IsTrue() bool {
15 return b.c.Int64() != 0

Callers 2

StatsMethod · 0.80
GetSlotActionDisabledMethod · 0.80

Calls 1

IsTrueMethod · 0.95

Tested by

no test coverage detected