func sync/atomic.AddInt32
7 uses
sync/atomic (current package)
doc.go#L118: func AddInt32(addr *int32, delta int32) (new int32)
type.go#L88: func (x *Int32) Add(delta int32) (new int32) { return AddInt32(&x.v, delta) }
sync
mutex.go#L191: atomic.AddInt32(&m.state, delta)
mutex.go#L219: new := atomic.AddInt32(&m.state, -mutexLocked)
go.uber.org/atomic
int32.go#L50: return atomic.AddInt32(&i.v, delta)
int32.go#L55: return atomic.AddInt32(&i.v, -delta)
nhooyr.io/websocket
conn.go#L215: p := atomic.AddInt32(&c.pingCounter, 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. |