- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestSwapInt32 (0.17 sec)
-
src/sync/atomic/atomic_test.go
// The struct fields x.before and x.after check that the // operations do not extend past the full word size. const ( magic32 = 0xdedbeef magic64 = 0xdeddeadbeefbeef ) func TestSwapInt32(t *testing.T) { var x struct { before int32 i int32 after int32 } x.before = magic32 x.after = magic32 var j int32 for delta := int32(1); delta+delta > delta; delta += delta {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 71.4K bytes - Viewed (0)