internal/runtime/atomic.Uint64.CompareAndSwap (method)
9 uses
internal/runtime/atomic (current package)
types.go#L324: func (u *Uint64) CompareAndSwap(old, new uint64) bool {
runtime
mgclimit.go#L439: if e.stamp.CompareAndSwap(uint64(old), uint64(new)) {
mgclimit.go#L457: if e.stamp.CompareAndSwap(uint64(stamp), uint64(limiterEventStampNone)) {
mgcpacer.go#L1371: if c.idleMarkWorkers.CompareAndSwap(old, new) {
mgcpacer.go#L1401: if c.idleMarkWorkers.CompareAndSwap(old, new) {
mgcpacer.go#L1421: if c.idleMarkWorkers.CompareAndSwap(old, new) {
mspanset.go#L362: return h.u.CompareAndSwap(uint64(old), uint64(new))
profbuf.go#L169: if b.overflow.CompareAndSwap(overflow, ((overflow>>32)+1)<<32) {
profbuf.go#L199: if b.overflow.CompareAndSwap(overflow, overflow+1) {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)