Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 251 for _logf (0.1 sec)

  1. 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)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/subresources_test.go

    	obj := NewNoxuSubresourceInstanceWithReplicas(ns, "foo", "v1beta1", "replicas[0]")
    	obj, err = noxuResourceClient.Create(context.TODO(), obj, metav1.CreateOptions{})
    	if err != nil {
    		t.Logf("%#v", obj)
    		t.Fatalf("Failed to create CustomResource: %v", err)
    	}
    
    	noxuResourceClient = newNamespacedCustomResourceVersionedClient(ns, dynamicClient, noxuDefinition, "v1")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 12 17:35:34 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. src/os/exec/lp_windows_test.go

    				}
    			}
    
    			out, err := cmd.Output()
    			if err != nil {
    				if ee, ok := err.(*exec.ExitError); ok && len(ee.Stderr) > 0 {
    					t.Logf("%v: %v\n%s", cmd, err, ee.Stderr)
    				} else {
    					t.Logf("%v: %v", cmd, err)
    				}
    				if !errors.Is(err, tt.wantRunErr) {
    					t.Errorf("want %v", tt.wantRunErr)
    				}
    				return
    			}
    
    			got := strings.TrimSpace(string(out))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:38:12 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. src/runtime/mpagealloc_test.go

    						t.Fail()
    						break
    					}
    				}
    			}
    			if t.Failed() {
    				t.Logf("found inUse mismatch")
    				t.Logf("got:")
    				for i, r := range got {
    					t.Logf("\t#%d [0x%x, 0x%x)", i, r.Base(), r.Limit())
    				}
    				t.Logf("want:")
    				for i, r := range want {
    					t.Logf("\t#%d [0x%x, 0x%x)", i, r.Base(), r.Limit())
    				}
    			}
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 19:16:48 UTC 2021
    - 32.6K bytes
    - Viewed (0)
  5. src/crypto/internal/edwards25519/field/fe_test.go

    		a1 := a
    		a2 := a
    		b1 := b
    		b2 := b
    
    		feMulGeneric(&a1, &a1, &b1)
    		feMul(&a2, &a2, &b2)
    
    		if a1 != a2 || b1 != b2 {
    			t.Logf("got: %#v,\nexpected: %#v", a1, a2)
    			t.Logf("got: %#v,\nexpected: %#v", b1, b2)
    		}
    
    		return a1 == a2 && isInBounds(&a2) &&
    			b1 == b2 && isInBounds(&b2)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  6. src/go/doc/testdata/testing.go

    // and records the text in the error log.
    func (c *common) Log(args ...any) { c.log(fmt.Sprintln(args...)) }
    
    // Logf formats its arguments according to the format, analogous to Printf(),
    // and records the text in the error log.
    func (c *common) Logf(format string, args ...any) { c.log(fmt.Sprintf(format, args...)) }
    
    // Error is equivalent to Log() followed by Fail().
    func (c *common) Error(args ...any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  7. src/runtime/runtime-gdb_test.go

    	// anyway if someone is trying to investigate and fix the GDB bug.
    	cmd.Cancel = func() error {
    		t.Logf("GDB command timed out after %v: %v", time.Since(start), cmd)
    		return cmd.Process.Kill()
    	}
    
    	got, err := cmd.CombinedOutput()
    	t.Logf("gdb output:\n%s", got)
    	if err != nil {
    		switch {
    		case bytes.Contains(got, []byte("internal-error: wait returned unexpected status 0x0")):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. src/os/signal/signal_test.go

    	Reset(syscall.SIGURG)
    	defer Stop(c1)
    
    	// Send this process a SIGWINCH
    	t.Logf("sigwinch...")
    	syscall.Kill(syscall.Getpid(), syscall.SIGWINCH)
    	waitSigAll(t, c1, syscall.SIGWINCH)
    
    	// Send two more SIGHUPs, to make sure that
    	// they get delivered on c1 and that not reading
    	// from c does not block everything.
    	t.Logf("sighup...")
    	syscall.Kill(syscall.Getpid(), syscall.SIGHUP)
    	waitSigAll(t, c1, syscall.SIGHUP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  9. src/net/server_test.go

    		{"unixpacket", testUnixAddr(t)},
    		{"unixpacket", "@nettest/go/unixpacket"},
    	}
    
    	const N = 3
    
    	for i, tt := range unixAndUnixpacketServerTests {
    		if !testableListenArgs(tt.network, tt.address, "") {
    			t.Logf("skipping %s test", tt.network+" "+tt.address)
    			continue
    		}
    
    		ln, err := Listen(tt.network, tt.address)
    		if err != nil {
    			if perr := parseDialError(err); perr != nil {
    				t.Error(perr)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  10. pkg/controller/deployment/sync_test.go

    			deleteAction, ok := action.(testclient.DeleteActionImpl)
    			if !ok {
    				t.Logf("Found not-delete action with verb %v. Ignoring.", action.GetVerb())
    				continue
    			}
    
    			if deleteAction.GetResource().Resource != "replicasets" {
    				continue
    			}
    
    			deletedRSs.Insert(deleteAction.GetName())
    		}
    		t.Logf("&test.revisionHistoryLimit: %d, &test.deletedReplicaSets: %v", test.revisionHistoryLimit, deletedRSs)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 21.1K bytes
    - Viewed (0)
Back to top