Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,627 for _Equal (0.1 sec)

  1. src/crypto/ecdsa/equal_test.go

    	public := &private.PublicKey
    
    	if !public.Equal(public) {
    		t.Errorf("public key is not equal to itself: %v", public)
    	}
    	if !public.Equal(crypto.Signer(private).Public().(*ecdsa.PublicKey)) {
    		t.Errorf("private.Public() is not Equal to public: %q", public)
    	}
    	if !private.Equal(private) {
    		t.Errorf("private key is not equal to itself: %v", private)
    	}
    
    	enc, err := x509.MarshalPKCS8PrivateKey(private)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 05 18:05:10 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  2. pkg/kubelet/server/stats/summary_windows_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.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
    - 4.4K bytes
    - Viewed (0)
  3. 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)
  4. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

       * (pointing to the next entry in the linked list). The pointers in [size(), entries.length) are
       * all "null" (UNSET).
       *
       * <p>A node with "prev" pointer equal to {@code ENDPOINT} is the first node in the linked list,
       * and a node with "next" pointer equal to {@code ENDPOINT} is the last node.
       */
      @CheckForNull @VisibleForTesting transient long[] links;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

        return super.put(key, value);
      }
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
       * Equality does not depend on the ordering of keys or values.
       */
      @Override
      public boolean equals(@CheckForNull Object object) {
        return super.equals(object);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractSetMultimap.java

        return super.put(key, value);
      }
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
       * Equality does not depend on the ordering of keys or values.
       */
      @Override
      public boolean equals(@CheckForNull Object object) {
        return super.equals(object);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  10. 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)
Back to top