go.opentelemetry.io/otel/api/metric.Number.AsRaw (method)
9 uses
go.opentelemetry.io/otel/api/metric (current package)
number.go#L120: func (n *Number) AsRaw() uint64 {
number.go#L127: return internal.RawToInt64(n.AsRaw())
number.go#L133: return internal.RawToFloat64(n.AsRaw())
number.go#L216: *n.AsRawPtr() = nn.AsRaw()
number.go#L242: atomic.StoreUint64(n.AsRawPtr(), nn.AsRaw())
number.go#L279: old := n.AsRaw()
number.go#L306: return NewNumberFromRaw(atomic.SwapUint64(n.AsRawPtr(), nn.AsRaw()))
number.go#L403: return atomic.CompareAndSwapUint64(n.AsRawPtr(), on.AsRaw(), nn.AsRaw())
![]() |
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. |