type sync/atomic.Uint32
10 uses
sync/atomic (current package)
type.go#L131: type Uint32 struct {
type.go#L137: func (x *Uint32) Load() uint32 { return LoadUint32(&x.v) }
type.go#L140: func (x *Uint32) Store(val uint32) { StoreUint32(&x.v, val) }
type.go#L143: func (x *Uint32) Swap(new uint32) (old uint32) { return SwapUint32(&x.v, new) }
type.go#L146: func (x *Uint32) CompareAndSwap(old, new uint32) (swapped bool) {
type.go#L151: func (x *Uint32) Add(delta uint32) (new uint32) { return AddUint32(&x.v, delta) }
type.go#L155: func (x *Uint32) And(mask uint32) (old uint32) { return AndUint32(&x.v, mask) }
type.go#L159: func (x *Uint32) Or(mask uint32) (old uint32) { return OrUint32(&x.v, mask) }
sync
once.go#L26: done atomic.Uint32
crypto/rand
rand_unix.go#L37: used atomic.Uint32 // Atomic: 0 - never used, 1 - used, but f == nil, 2 - used, and f != nil
 |
The pages are generated with Golds v0.7.6. (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. |