func sync/atomic.CompareAndSwapPointer

9 uses

	sync/atomic (current package)
		doc.go#L114: func CompareAndSwapPointer(addr *unsafe.Pointer, old, new unsafe.Pointer) (swapped bool)
		type.go#L64: 	return CompareAndSwapPointer(&x.v, unsafe.Pointer(old), unsafe.Pointer(new))
		value.go#L60: 			if !CompareAndSwapPointer(&vp.typ, nil, unsafe.Pointer(&firstStoreInProgress)) {
		value.go#L104: 			if !CompareAndSwapPointer(&vp.typ, nil, unsafe.Pointer(&firstStoreInProgress)) {
		value.go#L156: 			if !CompareAndSwapPointer(&vp.typ, nil, unsafe.Pointer(&firstStoreInProgress)) {
		value.go#L188: 		return CompareAndSwapPointer(&vp.data, data, np.data)

	sync
		poolqueue.go#L300: 		if atomic.CompareAndSwapPointer((*unsafe.Pointer)(unsafe.Pointer(&c.tail)), unsafe.Pointer(d), unsafe.Pointer(d2)) {

	go.uber.org/atomic
		unsafe_pointer.go#L64: 	return atomic.CompareAndSwapPointer(&p.v, old, new)

	internal/bisect
		bisect.go#L329: 	return atomic.CompareAndSwapPointer(&p.p, unsafe.Pointer(old), unsafe.Pointer(new))