go.opentelemetry.io/otel/api/metric.Number.AsInt64Ptr (method)
8 uses
go.opentelemetry.io/otel/api/metric (current package)
number.go#L152: return atomic.LoadInt64(n.AsInt64Ptr())
number.go#L171: func (n *Number) AsInt64Ptr() *int64 {
number.go#L228: *n.AsInt64Ptr() = i
number.go#L255: atomic.StoreInt64(n.AsInt64Ptr(), i)
number.go#L319: return atomic.SwapInt64(n.AsInt64Ptr(), i)
number.go#L351: *n.AsInt64Ptr() += i
number.go#L383: atomic.AddInt64(n.AsInt64Ptr(), i)
number.go#L416: return atomic.CompareAndSwapInt64(n.AsInt64Ptr(), oi, ni)
![]() |
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. |