Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for logf (2.53 sec)

  1. 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)
  2. 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)
  3. pkg/api/pod/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 VisitPodSecretNames() 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: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  4. src/database/sql/sql_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    
    	opens := driver.openCount - opens0
    	if opens > 1 {
    		t.Errorf("opens = %d; want <= 1", opens)
    		t.Logf("db = %#v", db)
    		t.Logf("driver = %#v", driver)
    		t.Logf("stmt = %#v", stmt)
    	}
    }
    
    // Issue 3857
    // This used to deadlock.
    func TestSimultaneousQueries(t *testing.T) {
    	db := newTestDB(t, "people")
    	defer closeDB(t, db)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    	request, err := http.NewRequest("GET", server.URL+"/logs", nil)
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    	response, err := client.Do(request)
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    	body, err := ioutil.ReadAll(response.Body)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	t.Logf("Data: %s", string(body))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  6. src/net/http/server.go

    }
    
    func (s *Server) logf(format string, args ...any) {
    	if s.ErrorLog != nil {
    		s.ErrorLog.Printf(format, args...)
    	} else {
    		log.Printf(format, args...)
    	}
    }
    
    // logf prints to the ErrorLog of the *Server associated with request r
    // via ServerContextKey. If there's no associated server, or if ErrorLog
    // is nil, logging is done via the log package's standard logger.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_test.go

    					if !ok {
    						t.Logf("expected kubernetes.io/os label to be present")
    						return false, nil
    					}
    					if val != goruntime.GOOS {
    						t.Logf("expected kubernetes.io/os to match runtime.GOOS but got %v", val)
    						return false, nil
    					}
    					val, ok = savedNode.Labels[v1.LabelArchStable]
    					if !ok {
    						t.Logf("expected kubernetes.io/arch label to be present")
    						return false, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/proxier_test.go

    			makeServiceMap(fp, test.services...)
    			populateEndpointSlices(fp, test.endpoints...)
    
    			fp.syncProxyRules()
    
    			if !reflect.DeepEqual(ipvs, test.expectedIPVS) {
    				t.Logf("actual ipvs state: %+v", ipvs)
    				t.Logf("expected ipvs state: %+v", test.expectedIPVS)
    				t.Errorf("unexpected IPVS state")
    			}
    
    			if test.expectedIPSets != nil {
    				checkIPSet(t, fp, test.expectedIPSets)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/memorymanager/policy_static_test.go

    		return false
    	}
    
    	for podUID, container := range cma1 {
    		if _, ok := cma2[podUID]; !ok {
    			t.Logf("[memorymanager_tests] the assignment does not have pod UID %s", podUID)
    			return false
    		}
    
    		for containerName, memoryBlocks := range container {
    			if _, ok := cma2[podUID][containerName]; !ok {
    				t.Logf("[memorymanager_tests] the assignment does not have container name %s", containerName)
    				return false
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
  10. pkg/controller/garbagecollector/garbagecollector_test.go

    						actualEvents = append(actualEvents, event)
    					default:
    						break loop
    					}
    				}
    				if !reflect.DeepEqual(actualEvents, s.events) {
    					ctx.t.Logf("expected:\n%s", strings.Join(s.events, "\n"))
    					ctx.t.Logf("actual:\n%s", strings.Join(actualEvents, "\n"))
    					ctx.t.Fatalf("did not get expected events")
    				}
    			}
    
    			{
    				var actualClientActions []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
Back to top