Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,217 for _Equal (0.11 sec)

  1. android/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)
  2. 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)
  3. android/guava/src/com/google/common/collect/AbstractBiMap.java

          // similar to putInBothMaps, but set via entry
          if (Objects.equal(value, getValue())) {
            return value;
          }
          checkArgument(!containsValue(value), "value already present: %s", value);
          V oldValue = delegate.setValue(value);
          checkState(Objects.equal(value, get(getKey())), "entry no longer in map");
          updateInverseMap(getKey(), true, oldValue, value);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 13.8K 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. 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)
  6. 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)
  7. 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)
  8. pkg/kube/krt/collection_test.go

    	SimpleServices := SimpleServiceCollection(services)
    	SimpleEndpoints := SimpleEndpointsCollection(SimplePods, SimpleServices)
    	assert.Equal(t, SimpleEndpoints.Synced().WaitUntilSynced(stop), true)
    	// Assert Equal -- not EventuallyEqual -- to ensure our WaitForCacheSync is proper
    	assert.Equal(t, fetcherSorted(SimpleEndpoints)(), []SimpleEndpoint{{"pod", "svc", "namespace", "1.2.3.4"}})
    }
    
    func TestCollectionMerged(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingMap.java

     * invoke methods, they invoke methods on the {@code ForwardingMap}.
     *
     * <p>Each of the {@code standard} methods, where appropriate, use {@link Objects#equal} to test
     * equality for both keys and values. This may not be the desired behavior for map implementations
     * that use non-standard notions of key equality, such as a {@code SortedMap} whose comparator is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. android/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)
Back to top