Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Xchgint64 (0.08 sec)

  1. src/internal/runtime/atomic/types.go

    	return Casint64(&i.value, old, new)
    }
    
    // Swap replaces i's value with new, returning
    // i's value before the replacement.
    //
    //go:nosplit
    func (i *Int64) Swap(new int64) int64 {
    	return Xchgint64(&i.value, new)
    }
    
    // Add adds delta to i atomically, returning
    // the new updated value.
    //
    // This operation wraps around in the usual
    // two's-complement way.
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top