sync/atomic.Int64.CompareAndSwap (method)

2 uses

	sync/atomic (current package)
		type.go#L107: func (x *Int64) CompareAndSwap(old, new int64) (swapped bool) {

	go.uber.org/zap/zapcore
		sampler.go#L74: 	if !c.resetAt.CompareAndSwap(resetAfter, newResetAfter) {