func sync/atomic.SwapUint64
4 uses
sync/atomic (current package)
doc.go#L65: func SwapUint64(addr *uint64, new uint64) (old uint64)
go.opentelemetry.io/otel/api/metric
number.go#L306: return NewNumberFromRaw(atomic.SwapUint64(n.AsRawPtr(), nn.AsRaw()))
number.go#L313: return atomic.SwapUint64(n.AsRawPtr(), r)
number.go#L326: return internal.RawToFloat64(atomic.SwapUint64(n.AsRawPtr(), internal.Float64ToRaw(f)))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |