- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MyGenericFunc (0.1 sec)
-
src/runtime/gc_test.go
got := runTestProg(t, "testprog", "GCMemoryLimitNoGCPercent") want := "OK\n" if got != want { t.Fatalf("expected %q, but got %q", want, got) } } func TestMyGenericFunc(t *testing.T) { runtime.MyGenericFunc[int]()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 22:33:52 UTC 2024 - 17.6K bytes - Viewed (0) -
src/runtime/export_test.go
) func SetPinnerLeakPanic(f func()) { pinnerLeakPanic = f } func GetPinnerLeakPanic() func() { return pinnerLeakPanic } var testUintptr uintptr func MyGenericFunc[T any]() { systemstack(func() { testUintptr = 4 }) } func UnsafePoint(pc uintptr) bool { fi := findfunc(pc) v := pcdatavalue(fi, abi.PCDATA_UnsafePoint, pc) switch v {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0)