func sync/atomic.CompareAndSwapUint64

19 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#L122: 		if atomic.CompareAndSwapUint64(statep, state, state+1) {

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

	github.com/prometheus/client_golang/prometheus
		counter.go#L100: 		if atomic.CompareAndSwapUint64(&c.valBits, oldBits, newBits) {
		gauge.go#L114: 		if atomic.CompareAndSwapUint64(&g.valBits, oldBits, newBits) {
		histogram.go#L287: 		if atomic.CompareAndSwapUint64(&hotCounts.sumBits, oldBits, newBits) {
		histogram.go#L343: 		if atomic.CompareAndSwapUint64(&hotCounts.sumBits, oldBits, newBits) {
		summary.go#L440: 		if atomic.CompareAndSwapUint64(&hotCounts.sumBits, oldBits, newBits) {
		summary.go#L487: 		if atomic.CompareAndSwapUint64(&hotCounts.sumBits, oldBits, newBits) {

	go.opentelemetry.io/otel/api/metric
		number.go#L403: 	return atomic.CompareAndSwapUint64(n.AsRawPtr(), on.AsRaw(), nn.AsRaw())
		number.go#L410: 	return atomic.CompareAndSwapUint64(n.AsRawPtr(), or, nr)
		number.go#L422: 	return atomic.CompareAndSwapUint64(n.AsRawPtr(), internal.Float64ToRaw(of), internal.Float64ToRaw(nf))

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