func runtime/internal/atomic.Cas64
12 uses
runtime/internal/atomic (current package)
atomic_amd64.go#L89: func Cas64(ptr *uint64, old, new uint64) bool
types.go#L244: return Cas64(&u.value, old, new)
runtime
lfstack.go#L35: if atomic.Cas64((*uint64)(head), old, new) {
lfstack.go#L49: if atomic.Cas64((*uint64)(head), old, next) {
mspanset.go#L327: return atomic.Cas64((*uint64)(h), uint64(old), uint64(new))
proc.go#L5130: atomic.Cas64(&sched.lastpoll, uint64(lastpoll), uint64(now))
profbuf.go#L126: return atomic.Cas64((*uint64)(x), uint64(old), uint64(new))
profbuf.go#L170: if atomic.Cas64(&b.overflow, overflow, ((overflow>>32)+1)<<32) {
profbuf.go#L200: if atomic.Cas64(&b.overflow, overflow, overflow+1) {
runtime1.go#L103: if atomic.Cas64(&test_z64, test_x64, 1) {
runtime1.go#L110: if !atomic.Cas64(&test_z64, test_x64, 1) {
time.go#L1004: if atomic.Cas64(&pp.timerModifiedEarliest, old, uint64(nextwhen)) {