- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 189 for _logf (0.14 sec)
-
src/net/http/transport_dial_test.go
} rt.reqBody.Close() io.ReadAll(rt.res.Body) rt.res.Body.Close() rt.t.Logf("RoundTrip %v: closed request body", rt.roundTripID) } // wantDial waits for the Transport to start a Dial. func (dt *transportDialTester) wantDial() *transportDialTesterConn { c := <-dt.dials c.connID = dt.dialCount dt.dialCount++ dt.t.Logf("Dial %v: started", c.connID) return c } // finish completes a Dial.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:11:57 UTC 2024 - 6.3K bytes - Viewed (0) -
src/cmd/compile/internal/test/mergelocals_test.go
mls, err := liveness.MakeMergeLocalsState(testcase.partition, testcase.vars) t.Logf("tc %d err is %v\n", k, err) if testcase.experr && err == nil { t.Fatalf("tc:%d missing error mls %v", k, mls) } else if !testcase.experr && err != nil { t.Fatalf("tc:%d unexpected error mls %v", k, err) } if mls != nil { t.Logf("tc %d: mls: %v\n", k, mls.String()) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:43:53 UTC 2024 - 4.7K bytes - Viewed (0) -
src/runtime/debug/stack_test.go
// _testmain.go:71 +0x170 data, err := os.ReadFile(crashOutput) if err != nil { t.Fatalf("child process failed to write crash report: %v", err) } crash := string(data) t.Logf("crash = <<%s>>", crash) t.Logf("stderr = <<%s>>", stderr) // Check that the crash file and the stderr both contain the panic and stack trace. for _, want := range []string{ "panic: oops", "goroutine 1",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 5.5K bytes - Viewed (0) -
tests/integration/telemetry/tracing/tracing.go
t.Logf("got span %+v, want span %+v", got, want) return false } if len(got.ChildSpans) < len(want.ChildSpans) { t.Logf("got %d child spans from, want %d child spans, maybe trace has not be fully reported", len(got.ChildSpans), len(want.ChildSpans)) return false } else if len(got.ChildSpans) > len(want.ChildSpans) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 19:05:09 UTC 2024 - 6.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/export_test.go
} func (d TestFrontend) Logf(msg string, args ...interface{}) { d.t.Logf(msg, args...) } func (d TestFrontend) Log() bool { return true } func (d TestFrontend) Fatalf(_ src.XPos, msg string, args ...interface{}) { d.t.Fatalf(msg, args...) } func (d TestFrontend) Warnl(_ src.XPos, msg string, args ...interface{}) { d.t.Logf(msg, args...) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 21:19:39 UTC 2024 - 3.2K bytes - Viewed (0) -
src/runtime/race/testdata/rangefunc_test.go
// therefore foo can early exit. func TestRaceRangeFuncIterator(t *testing.T) { x := foo(4) t.Logf("foo(4)=%d", x) } // TestNoRaceRangeFuncIterator does not race because x%5 is never 5, // therefore foo's loop will not exit early, and this it will not race. func TestNoRaceRangeFuncIterator(t *testing.T) { x := foo(5) t.Logf("foo(5)=%d", x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/fmahash_test.go
cmd.Env = append(cmd.Env, "GOCOMPILEDEBUG=fmahash=1/0", "GOOS=linux", "GOARCH=arm64", "HOME="+tmpdir) t.Logf("%v", cmd) t.Logf("%v", cmd.Env) b, e := cmd.CombinedOutput() if e != nil { t.Errorf("build failed: %v\n%s", e, b) } s := string(b) // Looking for "GOFMAHASH triggered main.main:24"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 21:57:53 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug.go
} // RegisterSet is a bitmap of registers, indexed by Register.num. type RegisterSet uint64 // logf prints debug-specific logging to stdout (always stdout) if the // current function is tagged by GOSSAFUNC (for ssa output directed // either to stdout or html). func (s *debugState) logf(msg string, args ...interface{}) { if s.f.PrintOrHtmlSSA { fmt.Printf(msg, args...) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 58.4K bytes - Viewed (0) -
src/internal/trace/trace_test.go
} for stack, pprofSamples := range pprofStacks { t.Logf("CPU profile included %d samples at stack %q not present in execution trace", pprofSamples, stack) if !overflowed { t.Fail() } } if t.Failed() { t.Logf("execution trace CPU samples:") for stack, samples := range traceStacks { t.Logf("%d: %q", samples, stack) } t.Logf("CPU profile:\n%s", stderr) } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/errors_test.go
for _, re := range errors { found := false for _, line := range lines { if re.Match(line) { t.Logf("found match for %#q: %q", re, line) found = true break } } if !found { t.Errorf("expected error output to contain %#q", re) } } if t.Failed() { t.Logf("actual output:\n%s", out) } } func sizeofLongDouble(t *testing.T) int { testenv.MustHaveGoRun(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 4K bytes - Viewed (0)