Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,257 for _Equal (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
       *       that when equal parameters are passed, the result instance should also be equal; and vice
       *       versa.
       *   <li>If a non-private constructor or non-private static factory method exists:
       *       <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/openapi/values_test.go

    			equal: false,
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			// Compare types with schema against themselves
    			if tc.lhs.Equal(tc.rhs) != types.Bool(tc.equal) {
    				t.Errorf("expected Equals to return %v", tc.equal)
    			}
    			if tc.rhs.Equal(tc.lhs) != types.Bool(tc.equal) {
    				t.Errorf("expected Equals to return %v", tc.equal)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler_test.go

    	assert.NotEmpty(t, res2_addedToOne.Header.Get("ETag"), "Etag should be populated")
    	assert.Equal(t, res1_removeFromBoth.Header.Get("ETag"), res2_removeFromBoth.Header.Get("ETag"), "ETags should be equal since content is equal")
    	assert.Equal(t, res1_initial.Header.Get("ETag"), res1_removeFromBoth.Header.Get("ETag"), "ETag should be equal to initial value since added content was removed")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/s390x/condition_code.go

    	GreaterOrEqual     CCMask = Greater | Equal     // ordered and not less
    	GreaterOrUnordered CCMask = Greater | Unordered // not less and not equal
    
    	// 3-bit masks
    	NotEqual     CCMask = Always ^ Equal
    	NotLess      CCMask = Always ^ Less
    	NotGreater   CCMask = Always ^ Greater
    	NotUnordered CCMask = Always ^ Unordered
    
    	// 4-bit mask
    	Always CCMask = Equal | Less | Greater | Unordered
    
    	// useful aliases
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 3.2K bytes
    - Viewed (0)
  8. pkg/kubelet/server/stats/summary_test.go

    	assert.NoError(err)
    
    	assert.Equal(summary.Node.NodeName, "test-node")
    	assert.Equal(summary.Node.StartTime, systemBootTime)
    	assert.Equal(summary.Node.CPU, cgroupStatsMap["/"].cs.CPU)
    	assert.Equal(summary.Node.Memory, cgroupStatsMap["/"].cs.Memory)
    	assert.Equal(summary.Node.Swap, cgroupStatsMap["/"].cs.Swap)
    	assert.Equal(summary.Node.Network, cgroupStatsMap["/"].ns)
    	assert.Equal(summary.Node.Fs, rootFsStats)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/root_test.go

    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	assert.Equal(t, 6, len(groupList.Groups))
    	assert.Equal(t, "x", groupList.Groups[0].Name)
    	assert.Equal(t, "y", groupList.Groups[1].Name)
    	assert.Equal(t, "z", groupList.Groups[2].Name)
    	assert.Equal(t, "a", groupList.Groups[3].Name)
    	assert.Equal(t, "b", groupList.Groups[4].Name)
    	assert.Equal(t, "c", groupList.Groups[5].Name)
    
    	// Remove a group.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 08 22:33:50 UTC 2018
    - 6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multimap.java

       * their map views, as returned by {@link #asMap}, are also equal.
       *
       * <p>In general, two multimaps with identical key-value mappings may or may not be equal,
       * depending on the implementation. For example, two {@link SetMultimap} instances with the same
       * key-value mappings are equal, but equality of two {@link ListMultimap} instances depends on the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 15.9K bytes
    - Viewed (0)
Back to top