Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for dumpStackV2 (0.42 sec)

  1. src/runtime/trace_cgo_test.go

    		}
    		for category := range logs {
    			event := mustFindLogV2(t, bytes.NewReader(traceData), category)
    			if wantEvent := logs[category]; wantEvent == nil {
    				logs[category] = &event
    			} else if got, want := dumpStackV2(&event), dumpStackV2(wantEvent); got != want {
    				t.Errorf("%q: got stack:\n%s\nwant stack:\n%s\n", category, got, want)
    			}
    		}
    	}
    }
    
    func mustFindLogV2(t *testing.T, trc io.Reader, category string) trace.Event {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top