type sync/atomic.Int32
14 uses
sync/atomic (current package)
type.go#L68: type Int32 struct {
type.go#L74: func (x *Int32) Load() int32 { return LoadInt32(&x.v) }
type.go#L77: func (x *Int32) Store(val int32) { StoreInt32(&x.v, val) }
type.go#L80: func (x *Int32) Swap(new int32) (old int32) { return SwapInt32(&x.v, new) }
type.go#L83: func (x *Int32) CompareAndSwap(old, new int32) (swapped bool) {
type.go#L88: func (x *Int32) Add(delta int32) (new int32) { return AddInt32(&x.v, delta) }
sync
rwmutex.go#L40: readerCount atomic.Int32 // number of pending readers
rwmutex.go#L41: readerWait atomic.Int32 // number of departing readers
context
context.go#L356: var goroutines atomic.Int32
crypto/tls
conn.go#L119: activeCall atomic.Int32
go.uber.org/zap
level.go#L72: l *atomic.Int32
level.go#L80: lvl := AtomicLevel{l: new(atomic.Int32)}
level.go#L136: lvl.l = &atomic.Int32{}
log
log.go#L62: flag atomic.Int32 // properties
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. |