Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 274 for _logf (0.14 sec)

  1. 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)
  2. 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)
  3. pkg/test/framework/components/istioctl/kube.go

    func (c *kubeComponent) InvokeOrFail(t test.Failer, args []string) (string, string) {
    	output, stderr, err := c.Invoke(args)
    	if err != nil {
    		t.Logf("Unwanted exception for 'istioctl %s': %v", strings.Join(args, " "), err)
    		t.Logf("Output:\n%v", output)
    		t.Logf("Error:\n%v", stderr)
    		t.FailNow()
    	}
    	return output, stderr
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/net/timeout_test.go

    				// another error immediately.
    				t.Logf("closing spurious connection from Dial")
    				c.Close()
    
    				if delta <= 1 && d.Timeout <= 1 {
    					t.Fatalf("can't reduce Timeout or Deadline")
    				}
    				if delta > 1 {
    					delta /= 2
    					t.Logf("reducing Deadline delta to %v", delta)
    				}
    				if d.Timeout > 1 {
    					d.Timeout /= 2
    					t.Logf("reducing Timeout to %v", d.Timeout)
    				}
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 18:06:55 UTC 2024
    - 30K bytes
    - Viewed (0)
  10. src/cmd/objdump/objdump_test.go

    	args = append(args, flags...)
    	args = append(args, srcfname)
    	cmd := testenv.Command(t, testenv.GoToolPath(t), args...)
    	// "Bad line" bug #36683 is sensitive to being run in the source directory.
    	cmd.Dir = "testdata"
    	t.Logf("Running %v", cmd.Args)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("go build %s: %v\n%s", srcfname, err, out)
    	}
    	need := []string{
    		"TEXT main.main(SB)",
    	}
    
    	if printCode {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top