- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 302 for logf (0.17 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/testing/testserver.go
return result, fmt.Errorf("failed to set default options: %v", err) } if err := s.Validate(); err != nil { return result, fmt.Errorf("failed to validate options: %v", err) } t.Logf("runtime-config=%v", s.APIEnablement.RuntimeConfig) t.Logf("Starting apiextensions-apiserver on port %d...", s.RecommendedOptions.SecureServing.BindPort) config, err := s.Config() if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 9K bytes - Viewed (1) -
pkg/monitoring/monitortest/test.go
for _, lv := range row.Label { k, v := *lv.Name, *lv.Value if want[k] == v { delete(want, k) } else { m.t.Logf("skip metric: want %v=%v, got %v=%v", k, want[k], k, v) } } if len(want) > 0 { // Not a match m.t.Logf("skip metric: missing labels: %+v", want) continue } var v any if row.Counter != nil { cv := *row.Counter.Value
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 13 16:04:48 UTC 2023 - 7.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go
// counterpart: // // log.Print("%d", 123) // log.Print call has possible formatting directive %d // // # Inferred printf wrappers // // Functions that delegate their arguments to fmt.Printf are // considered "printf wrappers"; calls to them are subject to the same // checking. In this example, logf is a printf wrapper: // // func logf(level int, format string, args ...any) { // if enabled(level) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 3.2K bytes - Viewed (0) -
src/syscall/dirent_test.go
// On linux, 'man getdents64' says that EINVAL indicates “result buffer is too small”. // Try a bigger buffer. t.Logf("ReadDirent: %v; retrying with larger buffer", err) buf = bytes.Repeat([]byte{0xCD}, len(buf)*2) continue } if err != nil { t.Fatalf("syscall.readdir: %v", err) } t.Logf("ReadDirent: read %d bytes", n) if n == 0 { break } var consumed, count int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/test/util/yml/cache_test.go
} func TestCache_GetFileFor_Empty(t *testing.T) { g := NewWithT(t) d := t.TempDir() t.Logf("Test Dir: %q", d) c := NewCache(d) f := c.GetFileFor(CacheKey{}) g.Expect(f).To(BeEmpty()) } func TestCache_Delete(t *testing.T) { g := NewWithT(t) d := t.TempDir() t.Logf("Test Dir: %q", d) c := NewCache(d) _, err := c.Apply(gateway) g.Expect(err).To(BeNil())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 6.8K bytes - Viewed (0) -
src/internal/coverage/cfile/ts_test.go
// running "go test -cover" for this package). func TestTestSupport(t *testing.T) { if !goexperiment.CoverageRedesign { return } if testing.CoverMode() == "" { return } tgcd := testGoCoverDir(t) t.Logf("testing.testGoCoverDir() returns %s mode=%s\n", tgcd, testing.CoverMode()) textfile := filepath.Join(t.TempDir(), "file.txt") var sb strings.Builder err := ProcessCoverTestDir(tgcd, textfile,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:58:07 UTC 2024 - 5.2K bytes - Viewed (0) -
src/runtime/pprof/vminfo_darwin_test.go
} if !retryable { return 0, 0, err } t.Logf("retrying vmmap after error: %v", err) } } func useVMMap(t *testing.T) (hi, lo uint64, retryable bool, err error) { pid := strconv.Itoa(os.Getpid()) testenv.MustHaveExecPath(t, "vmmap") cmd := testenv.Command(t, "vmmap", pid) out, cmdErr := cmd.Output() if cmdErr != nil { t.Logf("vmmap output: %s", out)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 19:59:50 UTC 2024 - 5.5K 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/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/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)