Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,605 for _Equal (0.27 sec)

  1. src/syscall/js/js_test.go

    		t.Errorf("got %#v, want %#v", got, want)
    	}
    	if !dummys.Get("someFloat").Equal(dummys.Get("someFloat")) {
    		t.Errorf("same value not equal")
    	}
    }
    
    func TestObject(t *testing.T) {
    	if !dummys.Get("someArray").Equal(dummys.Get("someArray")) {
    		t.Errorf("same value not equal")
    	}
    
    	// An object and its prototype should not be equal.
    	proto := js.Global().Get("Object").Get("prototype")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableMultiset.java

        int hash = Hashing.smearedHash(element);
        int mask = hashTable.length - 1;
        for (ImmutableEntry<?> entry = hashTable[hash & mask];
            entry != null;
            entry = entry.nextInBucket()) {
          if (Objects.equal(element, entry.getElement())) {
            return entry.getCount();
          }
        }
        return 0;
      }
    
      @Override
      public int size() {
        return size;
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/Types.java

        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof GenericArrayType) {
            GenericArrayType that = (GenericArrayType) obj;
            return Objects.equal(getGenericComponentType(), that.getGenericComponentType());
          }
          return false;
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. pkg/kubelet/images/image_manager_test.go

    		fakeRuntime.AssertCalls(c.expected[0].calls)
    		assert.Equal(t, c.expected[0].err, err, "tick=%d", 0)
    		assert.Equal(t, c.expected[0].shouldRecordStartedPullingTime, fakePodPullingTimeRecorder.startedPullingRecorded)
    		assert.Equal(t, c.expected[0].shouldRecordFinishedPullingTime, fakePodPullingTimeRecorder.finishedPullingRecorded)
    
    		images, _ := fakeRuntime.ListImages(ctx)
    		assert.Equal(t, 1, len(images), "ListImages() count")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. pkg/proxy/apis/config/validation/validation_test.go

    				field.Invalid(newPath.Child("KubeIPVSConfiguration.TCPFinTimeout"), metav1.Duration{Duration: -1 * time.Second}, "must be greater than or equal to 0"),
    				field.Invalid(newPath.Child("KubeIPVSConfiguration.UDPTimeout"), metav1.Duration{Duration: -1 * time.Second}, "must be greater than or equal to 0")},
    		},
    	} {
    		t.Run(name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/GeneralRange.java

              && hasUpperBound == r.hasUpperBound
              && getLowerBoundType().equals(r.getLowerBoundType())
              && getUpperBoundType().equals(r.getUpperBoundType())
              && Objects.equal(getLowerEndpoint(), r.getLowerEndpoint())
              && Objects.equal(getUpperEndpoint(), r.getUpperEndpoint());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return Objects.hashCode(
            comparator,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/crypto/internal/hpke/hpke_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    
    			expectedEncap := mustDecodeHex(t, setup["enc"])
    			if !bytes.Equal(encap, expectedEncap) {
    				t.Errorf("unexpected encapsulated key, got: %x, want %x", encap, expectedEncap)
    			}
    			expectedSharedSecret := mustDecodeHex(t, setup["shared_secret"])
    			if !bytes.Equal(context.sharedSecret, expectedSharedSecret) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. src/go/types/typeterm_test.go

    	} {
    		args := split(test, 3)
    		x := testTerm(args[0])
    		y := testTerm(args[1])
    		want := args[2] == "T"
    		if got := x.equal(y); got != want {
    			t.Errorf("%v.equal(%v) = %v; want %v", x, y, got, want)
    		}
    		// equal is symmetric
    		x, y = y, x
    		if got := x.equal(y); got != want {
    			t.Errorf("%v.equal(%v) = %v; want %v", x, y, got, want)
    		}
    	}
    }
    
    func TestTermUnion(t *testing.T) {
    	for _, test := range []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/container_manager_linux_test.go

    				assert.IsType(t, &podContainerManagerImpl{}, pcm)
    				got := pcm.(*podContainerManagerImpl)
    				assert.Equal(t, c.cm.subsystems, got.subsystems)
    				assert.Equal(t, c.cm.cgroupManager, got.cgroupManager)
    				assert.Equal(t, c.cm.PodPidsLimit, got.podPidsLimit)
    				assert.Equal(t, c.cm.EnforceCPULimits, got.enforceCPULimits)
    				assert.Equal(t, uint64(c.cm.CPUCFSQuotaPeriod/time.Microsecond), got.cpuCFSQuotaPeriod)
    
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. pkg/kube/kclient/client_test.go

    	tester.Create(obj1)
    	// Client is cached, so its only eventually consistent
    	tracker.WaitOrdered("add/1")
    	assert.Equal(t, tester.Get(obj1.Name, obj1.Namespace), obj1)
    	assert.Equal(t, tester.List("", klabels.Everything()), []*appsv1.Deployment{obj1})
    	assert.Equal(t, tester.List(obj1.Namespace, klabels.Everything()), []*appsv1.Deployment{obj1})
    
    	// Update object, should see the update...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top