- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestFuncLayout (0.12 sec)
-
src/reflect/all_test.go
func clobber() { runtime.GC() for i := 1; i < 32; i++ { for j := 0; j < 10; j++ { obj := make([]*byte, i) sink = obj } } runtime.GC() } func TestFuncLayout(t *testing.T) { align := func(x uintptr) uintptr { return (x + goarch.PtrSize - 1) &^ (goarch.PtrSize - 1) } var r []byte if goarch.PtrSize == 4 { r = []byte{0, 0, 0, 1} } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)