- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestPtrToGC (0.14 sec)
-
src/reflect/all_test.go
} for i = 0; i < 100; i++ { typ = typ.Elem() } if typ != TypeOf(z) { t.Errorf("after 100 PointerTo and Elem, have %s, want %s", typ, TypeOf(z)) } } func TestPtrToGC(t *testing.T) { type T *uintptr tt := TypeOf(T(nil)) pt := PointerTo(tt) const n = 100 var x []any for i := 0; i < n; i++ { v := New(pt) p := new(*uintptr) *p = new(uintptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)