- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for WriteProfileTo (0.64 sec)
-
pkg/util/coverage/fake_test_deps.go
func (fakeTestDeps) WriteHeapProfile(io.Writer) error { return nil } //nolint:unused // U1000 see comment above, we know it's unused normally. func (fakeTestDeps) WriteProfileTo(string, io.Writer, int) error { return nil } //nolint:unused // U1000 see comment above, we know it's unused normally.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 15:31:22 UTC 2024 - 3.5K bytes - Viewed (0) -
src/testing/internal/testdeps/deps.go
} func (TestDeps) StartCPUProfile(w io.Writer) error { return pprof.StartCPUProfile(w) } func (TestDeps) StopCPUProfile() { pprof.StopCPUProfile() } func (TestDeps) WriteProfileTo(name string, w io.Writer, debug int) error { return pprof.Lookup(name).WriteTo(w, debug) } // ImportPath is the import path of the testing binary, set by the generated main function. var ImportPath string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 6.2K bytes - Viewed (0) -
src/testing/testing.go
func (f matchStringOnly) StartCPUProfile(w io.Writer) error { return errMain } func (f matchStringOnly) StopCPUProfile() {} func (f matchStringOnly) WriteProfileTo(string, io.Writer, int) error { return errMain } func (f matchStringOnly) ImportPath() string { return "" } func (f matchStringOnly) StartTestLog(io.Writer) {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0)