type sync/atomic.Uint32
7 uses
sync/atomic (current package)
type.go#L115: type Uint32 struct {
type.go#L121: func (x *Uint32) Load() uint32 { return LoadUint32(&x.v) }
type.go#L124: func (x *Uint32) Store(val uint32) { StoreUint32(&x.v, val) }
type.go#L127: func (x *Uint32) Swap(new uint32) (old uint32) { return SwapUint32(&x.v, new) }
type.go#L130: func (x *Uint32) CompareAndSwap(old, new uint32) (swapped bool) {
type.go#L135: func (x *Uint32) Add(delta uint32) (new uint32) { return AddUint32(&x.v, delta) }
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.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. |