Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 537 for logf (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/internal/obj/pcln.go

    		// add terminating varint-encoded 0, which is just 0
    		dst = append(dst, 0)
    	}
    
    	if dbg {
    		ctxt.Logf("wrote %d bytes to %p\n", len(dst), dst)
    		for _, p := range dst {
    			ctxt.Logf(" %02x", p)
    		}
    		ctxt.Logf("\n")
    	}
    
    	sym.Size = int64(len(dst))
    	sym.P = dst
    	return sym
    }
    
    // pctofileline computes either the file number (arg == 0)
    // or the line number (arg == 1) to use at p.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  6. src/cmd/covdata/tool_test.go

    	t.Helper()
    
    	if debugtrace {
    		if indir != "" {
    			t.Logf("in dir %s: ", indir)
    		}
    		t.Logf("cmd: %s %+v\n", testenv.GoToolPath(t), bargs)
    	}
    	cmd := testenv.Command(t, testenv.GoToolPath(t), bargs...)
    	cmd.Dir = indir
    	b, err := cmd.CombinedOutput()
    	if len(b) != 0 {
    		t.Logf("## build output:\n%s", b)
    	}
    	if err != nil {
    		t.Fatalf("build error: %v", err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go

    	// (broken = runN, b.Negate = true).
    
    	b.Logf("checking target with all changes disabled")
    	runN := b.Run("n")
    
    	b.Logf("checking target with all changes enabled")
    	runY := b.Run("y")
    
    	var broken *Result
    	switch {
    	case runN.Success && !runY.Success:
    		b.Logf("target succeeds with no changes, fails with all changes")
    		b.Logf("searching for minimal set of enabled changes causing failure")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  8. pkg/api/v1/persistentvolume/util_test.go

    		t.Logf("Missing expected secret paths:\n%s", strings.Join(sets.List[string](missingPaths), "\n"))
    		t.Error("Missing expected secret paths. Verify VisitPVSecretNames() is correctly finding the missing paths, then correct expectedSecretPaths")
    	}
    	if extraPaths := secretPaths.Difference(expectedSecretPaths); len(extraPaths) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  9. 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)
  10. src/net/timeout_test.go

    						// Dial, so just log the error and ignore it.
    						t.Logf("DialContext: %v", err)
    						return
    					}
    					t.Logf("Dialed %v -> %v", c.LocalAddr(), c.RemoteAddr())
    					c.Close()
    				}()
    
    				time.Sleep(10 * time.Millisecond)
    			}
    
    			if err := ln.(*TCPListener).SetDeadline(time.Now().Add(timeout)); err != nil {
    				t.Fatal(err)
    			}
    			t.Logf("ln.SetDeadline(time.Now().Add(%v))", timeout)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 18:06:55 UTC 2024
    - 30K bytes
    - Viewed (0)
Back to top