func sync/atomic.SwapInt64
6 uses
sync/atomic (current package)
doc.go#L59: func SwapInt64(addr *int64, new int64) (old int64)
go.opentelemetry.io/otel/api/metric
number.go#L319: return atomic.SwapInt64(n.AsInt64Ptr(), i)
google.golang.org/grpc/balancer/grpclb
grpclb_picker.go#L63: NumCallsStarted: atomic.SwapInt64(&s.numCallsStarted, 0),
grpclb_picker.go#L64: NumCallsFinished: atomic.SwapInt64(&s.numCallsFinished, 0),
grpclb_picker.go#L65: NumCallsFinishedWithClientFailedToSend: atomic.SwapInt64(&s.numCallsFinishedWithClientFailedToSend, 0),
grpclb_picker.go#L66: NumCallsFinishedKnownReceived: atomic.SwapInt64(&s.numCallsFinishedKnownReceived, 0),
 |
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. |