- Sort Score
- Result 10 results
- Languages All
Results 21 - 26 of 26 for AndUintptr (0.26 sec)
-
src/sync/atomic/doc.go
func AndUint64(addr *uint64, mask uint64) (old uint64) // AndUintptr atomically performs a bitwise AND operation on *addr using the bitmask provided as mask // and returns the old value. // Consider using the more ergonomic and less error-prone [Uintptr.And] instead. func AndUintptr(addr *uintptr, mask uintptr) (old uintptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 11.7K bytes - Viewed (0) -
api/go1.23.txt
pkg sync/atomic, func AndInt64(*int64, int64) int64 #61395 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 20:48:49 UTC 2024 - 8.4K bytes - Viewed (0) -
src/sync/atomic/type.go
// And atomically performs a bitwise AND operation on x using the bitmask // provided as mask and returns the old value. func (x *Uintptr) And(mask uintptr) (old uintptr) { return AndUintptr(&x.v, mask) } // Or atomically performs a bitwise OR operation on x using the bitmask // provided as mask and returns the updated value after the OR operation.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 8.5K bytes - Viewed (0) -
src/runtime/race.go
//go:linkname abigen_sync_atomic_AndUint64 sync/atomic.AndUint64 func abigen_sync_atomic_AndUint64(addr *uint64, mask uint64) (old uint64) //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)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0) -
src/sync/atomic/atomic_test.go
} var m uint64 = magic64 magicptr := uintptr(m) x.before = magicptr x.after = magicptr x.i = ^uintptr(0) j := x.i for mask := uintptr(1); mask != 0; mask <<= 1 { old := x.i k := AndUintptr(&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 != magicptr || x.after != magicptr {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 71.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
alias("internal/runtime/atomic", "CasRel", "internal/runtime/atomic", "Cas", lwatomics...) // Aliases for atomic And/Or operations alias("internal/runtime/atomic", "Anduintptr", "internal/runtime/atomic", "And64", sys.ArchARM64) alias("internal/runtime/atomic", "Oruintptr", "internal/runtime/atomic", "Or64", sys.ArchARM64) /******** math ********/ addF("math", "sqrt",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0)