- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for PanicTraceback (0.15 sec)
-
src/runtime/testdata/testprog/deadlock.go
register("RecoverBeforePanicAfterGoexit", RecoverBeforePanicAfterGoexit) register("RecoverBeforePanicAfterGoexit2", RecoverBeforePanicAfterGoexit2) register("PanicTraceback", PanicTraceback) register("GoschedInPanic", GoschedInPanic) register("SyscallInPanic", SyscallInPanic) register("PanicLoop", PanicLoop) } func SimpleDeadlock() { select {} panic("not reached") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 27 20:44:24 UTC 2021 - 6.5K bytes - Viewed (0) -
src/runtime/crash_test.go
if !strings.HasSuffix(output, want) { t.Fatalf("output does not start with %q:\n%s", want, output) } } func TestPanicTraceback(t *testing.T) { t.Parallel() output := runTestProg(t, "testprog", "PanicTraceback") want := "panic: hello\n\tpanic: panic pt2\n\tpanic: panic pt1\n" if !strings.HasPrefix(output, want) { t.Fatalf("output does not start with %q:\n%s", want, output) } // Check functions in the traceback.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0)