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) {