sync/atomic.Uint64.Add (method)
5 uses
sync/atomic (current package)
type.go#L159: func (x *Uint64) Add(delta uint64) (new uint64) { return AddUint64(&x.v, delta) }
sync
waitgroup.go#L52: state := wg.state.Add(uint64(delta) << 32)
go.uber.org/zap/zapcore
sampler.go#L68: return c.counter.Add(1)
sampler.go#L77: return c.counter.Add(1)
internal/godebug
godebug.go#L103: s.nonDefault.Add(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. |