Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
38
func
(b *Bool) Swap(v bool) bool {
39
return
b.c.Swap(b.toInt64(v)) != 0
40
}
Callers
nothing calls this directly
Calls
1
toInt64
Method · 0.95
Tested by
no test coverage detected