Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for OrInt32 (0.11 sec)

  1. src/sync/atomic/asm.s

    	JMP	internal∕runtime∕atomic·Anduintptr(SB)
    
    TEXT ·AndInt64(SB),NOSPLIT,$0
    	JMP	internal∕runtime∕atomic·And64(SB)
    
    TEXT ·AndUint64(SB),NOSPLIT,$0
    	JMP	internal∕runtime∕atomic·And64(SB)
    
    TEXT ·OrInt32(SB),NOSPLIT,$0
    	JMP	internal∕runtime∕atomic·Or32(SB)
    
    TEXT ·OrUint32(SB),NOSPLIT,$0
    	JMP	internal∕runtime∕atomic·Or32(SB)
    
    TEXT ·OrUintptr(SB),NOSPLIT,$0
    	JMP	internal∕runtime∕atomic·Oruintptr(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/sync/atomic/doc.go

    func AndUintptr(addr *uintptr, mask uintptr) (old uintptr)
    
    // OrInt32 atomically performs a bitwise OR operation on *addr using the bitmask provided as mask
    // and returns the old value.
    // Consider using the more ergonomic and less error-prone [Int32.Or] instead.
    func OrInt32(addr *int32, mask int32) (old int32)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. api/go1.23.txt

    pkg sync/atomic, func AndUint32(*uint32, uint32) uint32 #61395
    pkg sync/atomic, func AndUint64(*uint64, uint64) uint64 #61395
    pkg sync/atomic, func AndUintptr(*uintptr, uintptr) uintptr #61395
    pkg sync/atomic, func OrInt32(*int32, int32) int32 #61395
    pkg sync/atomic, func OrInt64(*int64, int64) int64 #61395
    pkg sync/atomic, func OrUint32(*uint32, uint32) uint32 #61395
    pkg sync/atomic, func OrUint64(*uint64, uint64) uint64 #61395
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. src/sync/atomic/type.go

    // Or atomically performs a bitwise OR operation on x using the bitmask
    // provided as mask and returns the old value.
    func (x *Int32) Or(mask int32) (old int32) { return OrInt32(&x.v, mask) }
    
    // An Int64 is an atomic int64. The zero value is zero.
    type Int64 struct {
    	_ noCopy
    	_ align64
    	v int64
    }
    
    // Load atomically loads and returns the value stored in x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/runtime/race.go

    //go:linkname abigen_sync_atomic_AndUintptr sync/atomic.AndUintptr
    func abigen_sync_atomic_AndUintptr(addr *uintptr, mask uintptr) (old uintptr)
    
    //go:linkname abigen_sync_atomic_OrInt32 sync/atomic.OrInt32
    func abigen_sync_atomic_OrInt32(addr *int32, mask int32) (old int32)
    
    //go:linkname abigen_sync_atomic_OrUint32 sync/atomic.OrUint32
    func abigen_sync_atomic_OrUint32(addr *uint32, mask uint32) (old uint32)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. src/sync/atomic/atomic_test.go

    	var x struct {
    		before int32
    		i      int32
    		after  int32
    	}
    	x.before = magic32
    	x.after = magic32
    	var j int32
    	for mask := int32(1); mask != 0; mask <<= 1 {
    		old := x.i
    		k := OrInt32(&x.i, mask)
    		j |= mask
    		if x.i != j || k != old {
    			t.Fatalf("mask=%d i=%d j=%d k=%d old=%d", mask, x.i, j, k, old)
    		}
    	}
    	if x.before != magic32 || x.after != magic32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssagen/ssa.go

    	alias("sync/atomic", "AndUint64", "internal/runtime/atomic", "And64", sys.ArchARM64)
    	alias("sync/atomic", "AndUintptr", "internal/runtime/atomic", "And64", sys.ArchARM64)
    	alias("sync/atomic", "OrInt32", "internal/runtime/atomic", "Or32", sys.ArchARM64)
    	alias("sync/atomic", "OrUint32", "internal/runtime/atomic", "Or32", sys.ArchARM64)
    	alias("sync/atomic", "OrInt64", "internal/runtime/atomic", "Or64", sys.ArchARM64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top