- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hammerStoreLoadInt64Method (0.15 sec)
-
src/sync/atomic/atomic_test.go
vlo := v & ((1 << 32) - 1) vhi := v >> 32 if vlo != vhi { t.Fatalf("Int64: %#x != %#x", vlo, vhi) } new := v + 1 + 1<<32 StoreInt64(addr, new) } func hammerStoreLoadInt64Method(t *testing.T, paddr unsafe.Pointer) { addr := (*Int64)(paddr) v := addr.Load() vlo := v & ((1 << 32) - 1) vhi := v >> 32 if vlo != vhi { t.Fatalf("Int64: %#x != %#x", 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)