func sync/atomic.CompareAndSwapUint32
6 uses
sync/atomic (current package)
doc.go#L101: func CompareAndSwapUint32(addr *uint32, old, new uint32) (swapped bool)
type.go#L27: return CompareAndSwapUint32(&x.v, b32(old), b32(new))
type.go#L131: return CompareAndSwapUint32(&x.v, old, new)
github.com/gotd/td/internal/rpc
engine.go#L101: if ok := atomic.CompareAndSwapUint32(&handlerCalled, 0, 1); !ok {
go.uber.org/atomic
uint32.go#L77: return atomic.CompareAndSwapUint32(&i.v, old, new)
net/http
h2_bundle.go#L7647: reused := !atomic.CompareAndSwapUint32(&cc.reused, 0, 1)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |