sync/atomic.Uint64.Add (method)
5 uses
sync/atomic (current package)
type.go#L195: func (x *Uint64) Add(delta uint64) (new uint64) { return AddUint64(&x.v, delta) }
sync
poolqueue.go#L105: d.headTail.Add(1 << dequeueBits)
waitgroup.go#L104: state := wg.state.Add(uint64(delta) << 32)
go.opentelemetry.io/otel/attribute
encoder.go#L67: return EncoderID{value: encoderIDCounter.Add(1)}
internal/godebug
godebug.go#L123: s.nonDefault.Add(1)
![]() |
The pages are generated with Golds v0.8.4. (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. |