- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hammerStoreLoadUintptrMethod (2.08 sec)
-
src/sync/atomic/atomic_test.go
if vlo != vhi { t.Fatalf("Uintptr: %#x != %#x", vlo, vhi) } inc := uint64(1 + 1<<32) new = v + uintptr(inc) } StoreUintptr(addr, new) } //go:nocheckptr func hammerStoreLoadUintptrMethod(t *testing.T, paddr unsafe.Pointer) { addr := (*Uintptr)(paddr) v := addr.Load() new := v if arch32 { vlo := v & ((1 << 16) - 1) vhi := v >> 16 if vlo != vhi {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 71.4K bytes - Viewed (0)