go.uber.org/atomic.Int64.CompareAndSwap (method)
3 uses
go.uber.org/atomic (current package)
duration.go#L67: return x.v.CompareAndSwap(int64(old), int64(new))
int64.go#L72: return i.CompareAndSwap(old, new)
int64.go#L76: func (i *Int64) CompareAndSwap(old, new int64) (swapped bool) {
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |