Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 731 for Equal (0.12 sec)

  1. maven-core/src/test/resources-project-builder/id-container-joining-with-empty-elements/pom.xml

      <description>
        Test that during inheritance the merging/joining of subtrees with equal identifier doesn't crash if the parent
        POM has a non-empty element and the child POM has an empty element to join.
      </description>
    
      <properties>
        <prop0>test</prop0>
      </properties>
    
      <repositories>
        <repository>
          <id>equal-repo-id</id>
          <url>https://maven.apache.org/null</url>
          <snapshots>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jul 18 17:22:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java

      @SuppressWarnings("SelfEquals")
      public void testEquals_self() {
        assertTrue("An Object should be equal to itself.", collection.equals(collection));
      }
    
      public void testEquals_null() {
        // noinspection ObjectEqualsNull
        assertFalse("An object should not be equal to null.", collection.equals(null));
      }
    
      public void testEquals_notACollection() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/SerializableTester.java

    import junit.framework.Assert;
    import junit.framework.AssertionFailedError;
    
    /**
     * Tests serialization and deserialization of an object, optionally asserting that the resulting
     * object is equal to the original.
     *
     * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
     * serialization tests require more setup. This no-op behavior allows test authors to intersperse
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. cni/pkg/plugin/cnieventclient_test.go

    		data, err := io.ReadAll(req.Body)
    		assert.NoError(t, err)
    
    		var msg nodeagent.CNIPluginAddEvent
    		err = json.Unmarshal(data, &msg)
    		assert.NoError(t, err)
    		assert.Equal(t, msg.PodName, testPod)
    		assert.Equal(t, msg.PodNamespace, testNS)
    		assert.Equal(t, msg.Netns, fakeCmdArgs.Netns)
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    	}))
    	defer func() { testServer.Close() }()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Predicate.java

       *
       * <ul>
       *   <li>Its execution does not cause any observable side effects.
       *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
       *       Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) ==
       *       predicate.apply(b))}.
       * </ul>
       *
       * @throws NullPointerException if {@code input} is null and this predicate does not accept null
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractMapEntry.java

      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        K k = getKey();
        V v = getValue();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 05 00:40:25 GMT 2021
    - 2K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/podcgroupns_test.go

    			podUID, containerID, err := getPodUIDAndContainerIDFromCGroups(makeCGroups(tt.cgroupPaths))
    
    			if tt.expectMsg != "" {
    				assert.Equal(t, tt.expectMsg, err.Error())
    				return
    			}
    			assert.Equal(t, tt.expectPodUID, podUID)
    			assert.Equal(t, tt.expectContainerID, containerID)
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

       * @since 7.0
       */
      protected boolean standardEquals(@CheckForNull Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      /**
       * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()} and {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/DummyProxy.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Generates a dummy interface proxy that simply returns a dummy value for each method.
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class DummyProxy {
    
      /**
       * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Generates a dummy interface proxy that simply returns a dummy value for each method.
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class DummyProxy {
    
      /**
       * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top