- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TracebackContext (0.51 sec)
-
src/runtime/testdata/testprogcgo/tracebackctxt.go
*/ import "C" import ( "fmt" "runtime" "sync" "unsafe" ) func init() { register("TracebackContext", TracebackContext) register("TracebackContextPreemption", TracebackContextPreemption) } var tracebackOK bool func TracebackContext() { runtime.SetCgoTraceback(0, unsafe.Pointer(C.tcTraceback), unsafe.Pointer(C.tcContext), unsafe.Pointer(C.tcSymbolizer)) C.C1()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 29 15:30:38 UTC 2021 - 2.8K bytes - Viewed (0) -
src/runtime/crash_cgo_test.go
if !strings.Contains(got, want) { t.Errorf("missing %s", want) } } } func TestCgoTracebackContext(t *testing.T) { t.Parallel() got := runTestProg(t, "testprogcgo", "TracebackContext") want := "OK\n" if got != want { t.Errorf("expected %q got %v", want, got) } } func TestCgoTracebackContextPreemption(t *testing.T) { t.Parallel()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 16:44:47 UTC 2024 - 22.2K bytes - Viewed (0)