- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestFakeMapping (0.11 sec)
-
src/runtime/pprof/proto_test.go
f := l.Function if l.Line == 0 || f == nil || f.Name == "" || f.Filename == "" { return false } return true } // TestFakeMapping tests if at least one mapping exists // (including a fake mapping), and their HasFunctions bits // are set correctly. func TestFakeMapping(t *testing.T) { var buf bytes.Buffer if err := Lookup("heap").WriteTo(&buf, 0); err != nil { t.Fatalf("failed to write heap profile: %v", err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 23:21:53 UTC 2024 - 17K bytes - Viewed (0)