- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestStackWrapperCallers (0.19 sec)
-
src/runtime/stack_test.go
// Check that the wrapper doesn't affect the stack trace. if dc, ic := d.caller(), wrapper(&d); dc != ic { t.Fatalf("direct caller %q != indirect caller %q", dc, ic) } } func TestStackWrapperCallers(t *testing.T) { var d structWithMethod wrapper := (*structWithMethod).callers // Check that <autogenerated> doesn't appear in the stack trace. pcs := wrapper(&d) frames := CallersFrames(pcs) for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 23.1K bytes - Viewed (0)