Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 646 for EQUAL (0.05 sec)

  1. pkg/kubelet/userns/userns_manager_test.go

    	assert.NoError(t, err)
    	assert.Equal(t, userNsLength, int(length), "m.isSet(%d).length=%v", allocated, length)
    	assert.Equal(t, true, m.isSet(allocated), "m.isSet(%d)", allocated)
    
    	allocated2, length2, err := m.allocateOne("two")
    	assert.NoError(t, err)
    	assert.NotEqual(t, allocated, allocated2, "allocated != allocated2")
    	assert.Equal(t, length, length2, "length == length2")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. src/crypto/ecdh/ecdh_test.go

    			t.Error(err)
    		}
    		if !bytes.Equal(aliceKey.PublicKey().Bytes(), alicePubKey.Bytes()) {
    			t.Error("encoded and decoded public keys are different")
    		}
    		if !aliceKey.PublicKey().Equal(alicePubKey) {
    			t.Error("encoded and decoded public keys are different")
    		}
    
    		alicePrivKey, err := curve.NewPrivateKey(aliceKey.Bytes())
    		if err != nil {
    			t.Error(err)
    		}
    		if !bytes.Equal(aliceKey.Bytes(), alicePrivKey.Bytes()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. pilot/pkg/model/context_test.go

    		ServiceDiscovery: serviceDiscovery,
    	}
    
    	proxy := &model.Proxy{}
    	proxy.SetServiceTargets(env)
    
    	assert.Equal(t, len(proxy.ServiceTargets), 3)
    	assert.Equal(t, proxy.ServiceTargets[0].Service.Hostname, "test2.com")
    	assert.Equal(t, proxy.ServiceTargets[1].Service.Hostname, "test3.com")
    	assert.Equal(t, proxy.ServiceTargets[2].Service.Hostname, "test1.com")
    }
    
    func TestGlobalUnicastIP(t *testing.T) {
    	cases := []struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. src/crypto/tls/key_schedule_test.go

    		`iv expanded (12 octets):  5d 31 3e b2 67 12 76 ee 13 00 0b 30`)
    
    	c := cipherSuitesTLS13[0]
    	gotKey, gotIV := c.trafficKey(trafficSecret)
    	if !bytes.Equal(gotKey, wantKey) {
    		t.Errorf("cipherSuiteTLS13.trafficKey() gotKey = % x, want % x", gotKey, wantKey)
    	}
    	if !bytes.Equal(gotIV, wantIV) {
    		t.Errorf("cipherSuiteTLS13.trafficKey() gotIV = % x, want % x", gotIV, wantIV)
    	}
    }
    
    func TestExtract(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Comparators.java

          Comparator<T> comparator) {
        return new LexicographicalOrdering<S>(checkNotNull(comparator));
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is greater than or
       * equal to the element that preceded it, according to the specified comparator. Note that this is
       * always true when the iterable has fewer than two elements.
       */
      public static <T extends @Nullable Object> boolean isInOrder(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    		assert.NoError(t, err)
    		assert.Equal(t, test.expected.CpuPeriod, linuxConfig.GetResources().CpuPeriod, test.name)
    		assert.Equal(t, test.expected.CpuQuota, linuxConfig.GetResources().CpuQuota, test.name)
    		assert.Equal(t, test.expected.CpuShares, linuxConfig.GetResources().CpuShares, test.name)
    		assert.Equal(t, test.expected.MemoryLimitInBytes, linuxConfig.GetResources().MemoryLimitInBytes, test.name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  7. src/slices/slices.go

    import (
    	"cmp"
    	"math/bits"
    	"unsafe"
    )
    
    // Equal reports whether two slices are equal: the same length and all
    // elements equal. If the lengths are different, Equal returns false.
    // Otherwise, the elements are compared in increasing index order, and the
    // comparison stops at the first unequal pair.
    // Floating point NaNs are not considered equal.
    func Equal[S ~[]E, E comparable](s1, s2 S) bool {
    	if len(s1) != len(s2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/claiminfo_test.go

    			err := test.claimInfo.setCDIDevices(pluginName, test.devices)
    			if test.wantErr {
    				assert.Error(t, err)
    				return
    			}
    			assert.NoError(t, err)
    			assert.Equal(t, test.expectedCDIDevices, test.claimInfo.CDIDevices)
    			assert.Equal(t, test.expectedAnnotations, test.claimInfo.annotations)
    		})
    	}
    }
    
    func TestClaimInfoAnnotationsAsList(t *testing.T) {
    	for _, test := range []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Comparators.java

          Comparator<T> comparator) {
        return new LexicographicalOrdering<S>(checkNotNull(comparator));
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is greater than or
       * equal to the element that preceded it, according to the specified comparator. Note that this is
       * always true when the iterable has fewer than two elements.
       */
      public static <T extends @Nullable Object> boolean isInOrder(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 08:42:51 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. tests/test_path.py

            {
                "detail": [
                    {
                        "type": "greater_than_equal",
                        "loc": ["path", "item_id"],
                        "msg": "Input should be greater than or equal to 3",
                        "input": "2",
                        "ctx": {"ge": 3.0},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 34.4K bytes
    - Viewed (0)
Back to top