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

Method Swap

pkg/utils/sync2/atomic2/bool.go:38–40  ·  view source on GitHub ↗
(v bool)

Source from the content-addressed store, hash-verified

36}
37
38func (b *Bool) Swap(v bool) bool {
39 return b.c.Swap(b.toInt64(v)) != 0
40}

Callers

nothing calls this directly

Calls 1

toInt64Method · 0.95

Tested by

no test coverage detected