func sync/atomic.CompareAndSwapUint32
6 uses
sync/atomic (current package)
doc.go#L99: func CompareAndSwapUint32(addr *uint32, old, new uint32) (swapped bool)
type.go#L29: return CompareAndSwapUint32(&x.v, b32(old), b32(new))
type.go#L157: return CompareAndSwapUint32(&x.v, old, new)
github.com/gotd/td/rpc
engine.go#L109: 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#L7899: reused := !atomic.CompareAndSwapUint32(&cc.atomicReused, 0, 1)
 |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |