Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 994 for EQUAL (0.16 sec)

  1. pkg/kubelet/kubelet_getters_test.go

    	exp = filepath.Join(root, "pods")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPodLogsDir()
    	assert.Equal(t, kubelet.podLogsDirectory, got)
    
    	got = kubelet.getPluginsDir()
    	exp = filepath.Join(root, "plugins")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPluginsRegistrationDir()
    	exp = filepath.Join(root, "plugins_registry")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPluginDir("foobar")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. pilot/pkg/keycertbundle/watcher_test.go

    		if !bytes.Equal(keyCertBundle.KeyPem, key) || !bytes.Equal(keyCertBundle.CertPem, cert) ||
    			!bytes.Equal(keyCertBundle.CABundle, ca) {
    			t.Errorf("got wrong keyCertBundle %v", keyCertBundle)
    		}
    	default:
    		t.Errorf("watcher1 watched non keyCertBundle")
    	}
    	select {
    	case <-watch2:
    		keyCertBundle := watcher.GetKeyCertBundle()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 28 17:46:00 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/route/retry/retry_test.go

    				g.Expect(policy.RetryOn).To(Equal("some,fake,conditions"))
    				g.Expect(policy.PerTryTimeout).To(Equal(durationpb.New(time.Second * 3)))
    				g.Expect(policy.NumRetries.Value).To(Equal(uint32(2)))
    				g.Expect(policy.RetriableStatusCodes).To(Equal(make([]uint32, 0)))
    				g.Expect(policy.RetryPriority).To(BeNil())
    				g.Expect(policy.HostSelectionRetryMaxAttempts).To(Equal(retry.DefaultPolicy().HostSelectionRetryMaxAttempts))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/sets/set_generic_test.go

    	if a.Equal(b) {
    		t.Errorf("Expected to be not-equal: %v vs %v", a, b)
    	}
    
    	b = sets.New("1", "2", "")
    	if a.Equal(b) {
    		t.Errorf("Expected to be not-equal: %v vs %v", a, b)
    	}
    
    	// Check for equality after mutation
    	a = sets.New[string]()
    	a.Insert("1")
    	if a.Equal(b) {
    		t.Errorf("Expected to be not-equal: %v vs %v", a, b)
    	}
    
    	a.Insert("2")
    	if a.Equal(b) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 09:03:44 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/sets/set_test.go

    	if a.Equal(b) {
    		t.Errorf("Expected to be not-equal: %v vs %v", a, b)
    	}
    
    	b = NewString("1", "2", "")
    	if a.Equal(b) {
    		t.Errorf("Expected to be not-equal: %v vs %v", a, b)
    	}
    
    	// Check for equality after mutation
    	a = NewString()
    	a.Insert("1")
    	if a.Equal(b) {
    		t.Errorf("Expected to be not-equal: %v vs %v", a, b)
    	}
    
    	a.Insert("2")
    	if a.Equal(b) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 8K bytes
    - Viewed (0)
  6. src/reflect/deepequal.go

    	}
    }
    
    // DeepEqual reports whether x and y are “deeply equal,” defined as follows.
    // Two values of identical type are deeply equal if one of the following cases applies.
    // Values of distinct types are never deeply equal.
    //
    // Array values are deeply equal when their corresponding elements are deeply equal.
    //
    // Struct values are deeply equal if their corresponding fields,
    // both exported and unexported, are deeply equal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. pkg/probe/grpc/grpc_test.go

    			fmt.Fprint(w, "res")
    		}))
    		u := strings.Split(server.URL, ":")
    		assert.Equal(t, 3, len(u))
    
    		port, err := strconv.Atoi(u[2])
    		assert.Equal(t, nil, err)
    
    		// take some time to wait server boot
    		time.Sleep(2 * time.Second)
    		p, _, err := s.Probe("127.0.0.1", "", port, time.Second)
    		assert.Equal(t, probe.Failure, p)
    		assert.Equal(t, nil, err)
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 20 00:23:53 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  8. pkg/kubelet/server/server_websocket_test.go

    				assert.Equal(t, podName, name, "pod name")
    				assert.Equal(t, podNamespace, namespace, "pod namespace")
    				if test.uid {
    					assert.Equal(t, testUID, string(uid), "uid")
    				}
    			}
    
    			ss.fakeRuntime.portForwardFunc = func(podSandboxID string, port int32, stream io.ReadWriteCloser) error {
    				defer close(portForwardFuncDone)
    				assert.Equal(t, testPodSandboxID, podSandboxID, "pod sandbox id")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. test/typeparam/sliceimp.dir/main.go

    		panic(fmt.Sprintf("a.Equal(%v, %v) = false, want true", s3, s3))
    	}
    
    	if a.Equal(s1, nil) {
    		panic(fmt.Sprintf("a.Equal(%v, nil) = true, want false", s1))
    	}
    	if a.Equal(nil, s1) {
    		panic(fmt.Sprintf("a.Equal(nil, %v) = true, want false", s1))
    	}
    	if !a.Equal(s1[:0], nil) {
    		panic(fmt.Sprintf("a.Equal(%v, nil = false, want true", s1[:0]))
    	}
    }
    
    func offByOne[Elem Integer](a, b Elem) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  10. src/internal/bytealg/equal_arm64.s

    #include "textflag.h"
    
    // memequal(a, b unsafe.Pointer, size uintptr) bool
    TEXT runtime·memequal<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-25
    	// short path to handle 0-byte case
    	CBZ	R2, equal
    	// short path to handle equal pointers
    	CMP	R0, R1
    	BEQ	equal
    	B	memeqbody<>(SB)
    equal:
    	MOVD	$1, R0
    	RET
    
    // memequal_varlen(a, b unsafe.Pointer) bool
    TEXT runtime·memequal_varlen<ABIInternal>(SB),NOSPLIT,$0-17
    	CMP	R0, R1
    	BEQ	eq
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 16:07:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top