- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 602 for _logf (0.12 sec)
-
staging/src/k8s.io/apiextensions-apiserver/test/integration/pruning_test.go
t.Fatal(err) } foo, err = fooClient.Create(context.TODO(), foo, metav1.CreateOptions{}) if err != nil { t.Fatalf("Unable to create CR: %v", err) } t.Logf("CR created: %#v", foo.UnstructuredContent()) t.Logf("Comparing with expected, pruned value") x := runtime.DeepCopyJSON(foo.Object) delete(x, "apiVersion") delete(x, "kind") delete(x, "metadata") var expected map[string]interface{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 03 06:51:04 UTC 2023 - 19.6K bytes - Viewed (0) -
src/internal/platform/zosarch_test.go
t.Fatal(err) } cmd = testenv.Command(t, "gofmt") cmd.Stdin = bytes.NewReader(tmplOut.Bytes()) want, err := cmd.Output() if err != nil { t.Logf("stdin:\n%s", tmplOut.Bytes()) if ee, ok := err.(*exec.ExitError); ok && len(ee.Stderr) > 0 { t.Logf("stderr:\n%s", ee.Stderr) } t.Fatalf("%v: %v", cmd, err) } got, err := os.ReadFile("zosarch.go") if err == nil && bytes.Equal(got, want) { return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 22 19:44:52 UTC 2023 - 2.9K bytes - Viewed (0) -
src/internal/coverage/cformat/fmt_test.go
if wantFuncs != gotFuncs { t.Errorf("emit funcs: got:\n%s\nwant:\n%s\n", gotFuncs, wantFuncs) } if false { t.Logf("text is %s\n", b1.String()) t.Logf("perc is %s\n", b2.String()) t.Logf("perc2 is %s\n", b3.String()) t.Logf("funcs is %s\n", b4.String()) } } func TestEmptyPackages(t *testing.T) { fm := cformat.NewFormatter(coverage.CtrModeAtomic)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:36:57 UTC 2023 - 3.9K 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) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go
_, _, newFTRs, newCatchAlls := genFSs(t, rng, trialStep, desiredPLNames, newBadPLNames, 0) for j := 0; ; { if testDebugLogs { t.Logf("For %s, desiredPLNames=%#+v", trialStep, desiredPLNames) t.Logf("For %s, newFTRs=%#+v", trialStep, newFTRs) } // Check that the latest digestion did the right thing nextPLNames := sets.NewString()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 18.4K bytes - Viewed (0) -
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/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/cmd/compile/internal/dwarfgen/dwinl.go
for i := 0; i < ilevel; i++ { base.Ctxt.Logf(" ") } ic := inlcalls.Calls[idx] callee := base.Ctxt.InlTree.InlinedFunction(ic.InlIndex) base.Ctxt.Logf(" %d: II:%d (%s) V: (", idx, ic.InlIndex, callee.Name) for _, f := range ic.InlVars { base.Ctxt.Logf(" %v", f.Name) } base.Ctxt.Logf(" ) C: (") for _, k := range ic.Children { base.Ctxt.Logf(" %v", k) } base.Ctxt.Logf(" ) R:")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:45:07 UTC 2024 - 12.8K bytes - Viewed (0) -
src/runtime/crash_test.go
if err == nil { t.Logf("try %d: program exited successfully, should have failed", i+1) continue } if i > 0 { t.Logf("try %d:\n", i+1) } t.Logf("%s\n", got) wants := []string{ "panic: crash", "PanicRace", "created by ", } for _, want := range wants { if !bytes.Contains(got, []byte(want)) { t.Logf("did not find expected string %q", want)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0) -
src/cmd/go/internal/work/shell_test.go
// We haven't checked that the shell would actually reject this input too, // but if splitPkgConfigOutput rejected it it's probably too dangerous to // run in the script. t.Logf("%#q: %v", b, err) return } t.Logf("splitPkgConfigOutput(%#q) = %#q", b, args) if len(args) == 0 { t.Skipf("skipping %#q: contains no arguments", b) } var buf strings.Builder for _, arg := range args {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 15 15:30:05 UTC 2023 - 4.5K bytes - Viewed (0)