sync/atomic.Uint32.CompareAndSwap (method)

2 uses

	sync/atomic (current package)
		type.go#L130: func (x *Uint32) CompareAndSwap(old, new uint32) (swapped bool) {

	crypto/rand
		rand_unix.go#L50: 	if r.used.CompareAndSwap(0, 1) {