func sync/atomic.CompareAndSwapUint64

11 uses

	sync/atomic (current package)
		doc.go#L83: func CompareAndSwapUint64(addr *uint64, old, new uint64) (swapped bool)

	sync
		poolqueue.go#L127: 		if atomic.CompareAndSwapUint64(&d.headTail, ptrs, ptrs2) {
		poolqueue.go#L161: 		if atomic.CompareAndSwapUint64(&d.headTail, ptrs, ptrs2) {
		waitgroup.go#L128: 		if atomic.CompareAndSwapUint64(statep, state, state+1) {

	expvar
		expvar.go#L89: 		if atomic.CompareAndSwapUint64(&v.f, cur, nxt) {

	go.uber.org/atomic
		uint64.go#L77: 	return atomic.CompareAndSwapUint64(&i.v, old, new)

	internal/poll
		fd_mutex.go#L63: 		if atomic.CompareAndSwapUint64(&mu.state, old, new) {
		fd_mutex.go#L84: 		if atomic.CompareAndSwapUint64(&mu.state, old, new) {
		fd_mutex.go#L109: 		if atomic.CompareAndSwapUint64(&mu.state, old, new) {
		fd_mutex.go#L150: 		if atomic.CompareAndSwapUint64(&mu.state, old, new) {
		fd_mutex.go#L186: 		if atomic.CompareAndSwapUint64(&mu.state, old, new) {