Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for logf (0.14 sec)

  1. 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)
  2. src/os/exec/exec_test.go

    	// process to exit.
    	t.Run("Wait", func(t *testing.T) {
    		t.Parallel()
    		cmd := startHang(t, context.Background(), 1*time.Millisecond, os.Kill, 0)
    		err := cmd.Wait()
    		t.Logf("stderr:\n%s", cmd.Stderr)
    		t.Logf("[%d] %v", cmd.Process.Pid, err)
    
    		if err != nil {
    			t.Errorf("Wait: %v; want <nil>", err)
    		}
    		if ps := cmd.ProcessState; !ps.Exited() {
    			t.Errorf("cmd did not exit: %v", ps)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  3. src/net/http/transport_test.go

    		GetConn:      func(hostPort string) { t.Logf("GetConn(%q)", hostPort) },
    		GotConn:      func(ci httptrace.GotConnInfo) { t.Logf("GotConn(%+v)", ci) },
    		PutIdleConn:  func(err error) { t.Logf("PutIdleConn(%v)", err) },
    		ConnectStart: func(network, addr string) { t.Logf("ConnectStart(%q, %q)", network, addr) },
    		ConnectDone:  func(network, addr string, err error) { t.Logf("ConnectDone(%q, %q, %v)", network, addr, err) },
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  4. src/runtime/gc_test.go

    	}
    	pause := ms.PauseNs[(ms.NumGC+255)%256]
    	// Due to timer granularity, pause can actually be 0 on windows
    	// or on virtualized environments.
    	if pause == 0 {
    		t.Logf("last GC pause was 0")
    	} else if pause > 10e9 {
    		t.Logf("bad last GC pause: got %v, want [0, 10e9]", pause)
    	}
    }
    
    var hugeSink any
    
    func TestHugeGCInfo(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/net/netip/inlining_test.go

    		if !got[want] {
    			t.Errorf("%q is no longer inlinable", want)
    			continue
    		}
    		delete(got, want)
    	}
    	for sym := range got {
    		if strings.Contains(sym, ".func") {
    			continue
    		}
    		t.Logf("not in expected set, but also inlinable: %q", sym)
    
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/deadcode.go

    				m := d.decodeIfaceMethod(d.ldr, d.ctxt.Arch, rs, r.Add())
    				if d.ctxt.Debugvlog > 1 {
    					d.ctxt.Logf("reached iface method: %v\n", m)
    				}
    				d.ifaceMethod[m] = true
    				continue
    			case objabi.R_USENAMEDMETHOD:
    				name := d.decodeGenericIfaceMethod(d.ldr, r.Sym())
    				if d.ctxt.Debugvlog > 1 {
    					d.ctxt.Logf("reached generic iface method: %s\n", name)
    				}
    				d.genericIfaceMethod[name] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    			if err != nil {
    				t.Logf("unexpected error: %v", err)
    			}
    			defer rwc.Close()
    		}
    		panic(panicValue)
    	})
    	if wrapper != nil {
    		handler = wrapper(handler)
    	}
    	cst := newClientServerTest(t, mode, handler, func(ts *httptest.Server) {
    		ts.Config.ErrorLog = log.New(pw, "", 0)
    	})
    
    	// Do a blocking read on the log output pipe.
    	done := make(chan bool, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. src/time/tick_test.go

    		Sleep(2 * delta)
    		select {
    		case <-ticker.C:
    			errs = append(errs, "Ticker did not shut down")
    			continue
    		default:
    			// ok
    		}
    
    		// Test passed, so all done.
    		if len(errs) > 0 {
    			t.Logf("saw %d errors, ignoring to avoid flakiness", len(errs))
    			logErrs()
    		}
    
    		return
    	}
    
    	t.Errorf("saw %d errors", len(errs))
    	logErrs()
    }
    
    // Issue 21874
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. pkg/kubelet/pluginmanager/plugin_manager_test.go

    		100*time.Millisecond,
    		func() (bool, error) {
    			fakePluginHandler.Lock()
    			defer fakePluginHandler.Unlock()
    			if reflect.DeepEqual(fakePluginHandler.events, expected) {
    				return true, nil
    			}
    			t.Logf("expected %#v, got %#v, will retry", expected, fakePluginHandler.events)
    			return false, nil
    		},
    	)
    	if err != nil {
    		t.Fatalf("Timed out waiting for plugin to be added to actual state of world cache.")
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. tests/integration/ambient/baseline_test.go

    						query := buildQuery(localSrc, localDst)
    						stc.Logf("prometheus query: %#v", query)
    						err := retry.Until(func() bool {
    							stc.Logf("sending call from %q to %q", deployName(localSrc), localDst.Config().Service)
    							localSrc.CallOrFail(stc, opt)
    							reqs, err := prom.QuerySum(localSrc.Config().Cluster, query)
    							if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
Back to top