- Sort Score
- Result 10 results
- Languages All
Results 11 - 13 of 13 for panicmem (0.09 sec)
-
src/runtime/export_debug_test.go
// Call the debug function. h.debugCallRun(ctxt) case 1: // Function returned. Copy frame and result registers back out. h.debugCallReturn(ctxt) case 2: // Function panicked. Copy panic out. h.debugCallPanicOut(ctxt) case 8: // Call isn't safe. Get the reason. h.debugCallUnsafe(ctxt) // Don't wake h.done. We need to transition to status 16 first. case 16:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 5.1K bytes - Viewed (0) -
src/syscall/exec_unix_test.go
if v != uint64(orig.Cur) { t.Errorf("exec rlimit = %d, want %d", v, orig) } } func TestForkExecNilArgv(t *testing.T) { defer func() { if p := recover(); p != nil { t.Fatal("forkExec panicked") } }() // We don't really care what the result of forkExec is, just that it doesn't // panic, so we choose something we know won't actually spawn a process (probably).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 7.9K bytes - Viewed (0) -
src/strings/builder_test.go
} for _, tt := range tests { didPanic := make(chan bool) go func() { defer func() { didPanic <- recover() != nil }() tt.fn() }() if got := <-didPanic; got != tt.wantPanic { t.Errorf("%s: panicked = %v; want %v", tt.name, got, tt.wantPanic) } } } func TestBuilderWriteInvalidRune(t *testing.T) { // Invalid runes, including negative ones, should be written as // utf8.RuneError.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 19:51:15 UTC 2024 - 8.1K bytes - Viewed (0)