Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodisLabs/codis
/ Set
Method
Set
pkg/utils/sync2/atomic2/bool.go:30–32 ·
view source on GitHub ↗
(v bool)
Source
from the content-addressed store, hash-verified
28
}
29
30
func
(b *Bool) Set(v bool) {
31
b.c.Set(b.toInt64(v))
32
}
33
34
func
(b *Bool) CompareAndSwap(o, n bool) bool {
35
return
b.c.CompareAndSwap(b.toInt64(o), b.toInt64(n))
Callers
nothing calls this directly
Calls
1
toInt64
Method · 0.95
Tested by
no test coverage detected