Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 189 for _logf (0.07 sec)

  1. 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)
  2. src/runtime/pprof/pprof_test.go

    			bad := avoidSamples[i]
    			if bad != 0 {
    				t.Logf("found %d samples in avoid-function %s\n", bad, name)
    				ok = false
    			}
    		}
    
    		if len(need) == 0 {
    			return
    		}
    
    		var total uintptr
    		for i, name := range need {
    			total += have[i]
    			t.Logf("found %d samples in expected function %s\n", have[i], name)
    		}
    		if total == 0 {
    			t.Logf("no samples in expected functions")
    			ok = false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  3. pkg/registry/discovery/endpointslice/strategy_test.go

    			dropDisabledFieldsOnCreate(testcase.eps)
    			if !apiequality.Semantic.DeepEqual(testcase.eps, testcase.expectedEPS) {
    				t.Logf("actual endpointslice: %v", testcase.eps)
    				t.Logf("expected endpointslice: %v", testcase.expectedEPS)
    				t.Errorf("unexpected EndpointSlice on create API strategy")
    			}
    		})
    	}
    }
    
    func Test_dropDisabledFieldsOnUpdate(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_attacher_test.go

    				<-ticker.C
    				continue
    			}
    			t.Error(err)
    		}
    		if attach != nil {
    			t.Logf("attachment found on try %d, stopping wait...", i)
    			break
    		}
    	}
    	t.Logf("stopped waiting for attachment")
    
    	if attach == nil {
    		t.Logf("attachment not found for id:%v", attachID)
    	} else {
    		attach.Status = status
    		t.Logf("updating attachment %s with attach status %v", attachID, status)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    				if actualCallCount == expectedAttachCallCount {
    					return true, nil
    				}
    				t.Logf(
    					"Warning: Wrong attacher[%v].GetAttachCallCount(). Expected: <%v> Actual: <%v>. Will try next attacher.",
    					i,
    					expectedAttachCallCount,
    					actualCallCount)
    			}
    
    			t.Logf(
    				"Warning: No attachers have expected AttachCallCount. Expected: <%v>. Will retry.",
    				expectedAttachCallCount)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation_test.go

    	for _, typeName := range typeNames {
    		s := Structural{
    			Generic: Generic{
    				Type: typeName,
    			},
    		}
    
    		errs := validateStructuralMetadataInvariants(&s, true, rootLevel, nil)
    		if len(errs) != 0 {
    			t.Logf("errors returned: %v", errs)
    		}
    		if len(errs) != 0 && typeName == "object" {
    			t.Errorf("unexpected forbidden field validation errors for: %#v", s)
    		}
    		if len(errs) == 0 && typeName != "object" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 18:20:00 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. 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)
  8. src/net/resolverdialfunc_test.go

    	r := &Resolver{
    		PreferGo: true,
    		Dial: newResolverDialFunc(&resolverDialHandler{
    			StartDial: func(network, address string) error {
    				t.Logf("StartDial(%q, %q) ...", network, address)
    				return nil
    			},
    			Question: func(h dnsmessage.Header, q dnsmessage.Question) {
    				t.Logf("Header: %+v for %q (type=%v, class=%v)", h,
    					q.Name.String(), q.Type, q.Class)
    			},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. src/crypto/tls/boring_test.go

    		serverConfig.BuildNameToCertificate()
    
    		clientErr, _ := boringHandshake(t, clientConfig, serverConfig)
    
    		if (clientErr == nil) == ok {
    			if ok {
    				t.Logf("%s: accept", desc)
    			} else {
    				t.Logf("%s: reject", desc)
    			}
    		} else {
    			if ok {
    				t.Errorf("%s: BAD reject (%v)", desc, clientErr)
    			} else {
    				t.Errorf("%s: BAD accept", desc)
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. security/pkg/k8s/chiron/utils_test.go

    	handler := http.HandlerFunc(func(resp http.ResponseWriter, req *http.Request) {
    		t.Logf("request: %+v", *req)
    		switch req.URL.Path {
    		default:
    			t.Logf("The request contains path: %v", req.URL)
    			resp.WriteHeader(http.StatusOK)
    		}
    	})
    
    	server.httpServer = httptest.NewTLSServer(handler)
    
    	t.Logf("Serving TLS at: %v", server.httpServer.URL)
    
    	return server
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top