- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for bSubCopy (0.2 sec)
-
src/runtime/arena_test.go
bSub := b[1:3] bSubCopy := UserArenaClone(bSub) if unsafe.Pointer(&bSub[0]) == unsafe.Pointer(&bSubCopy[0]) { t.Errorf("Clone did not make a copy: %#v -> %#v", bSub, bSubCopy) } if len(bSub) != len(bSubCopy) { t.Errorf("Clone made an incorrect copy (bad length): %d -> %d", len(bSub), len(bSubCopy)) } else { for i := range bSub { if bSub[i] != bSubCopy[i] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 13.4K bytes - Viewed (0)