Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,520 for equal (0.01 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Activation().equals(null));
    
            new Activation().equals(new Activation());
        }
    
        @Test
        void testEqualsIdentity() {
            Activation thing = new Activation();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new CiManagement().equals(null));
    
            new CiManagement().equals(new CiManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            CiManagement thing = new CiManagement();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new DeploymentRepository().equals(null));
    
            new DeploymentRepository().equals(new DeploymentRepository());
        }
    
        @Test
        void testEqualsIdentity() {
            DeploymentRepository thing = new DeploymentRepository();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Notifier().equals(null));
    
            new Notifier().equals(new Notifier());
        }
    
        @Test
        void testEqualsIdentity() {
            Notifier thing = new Notifier();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Collections2.java

       * first permutation will be in ascending order, and the last will be in descending order.
       *
       * <p>Elements that compare equal are considered equal and no new permutations are created by
       * swapping them.
       *
       * <p>An empty iterable has only one permutation, which is an empty list.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          // filter out equals/hashCode/toString
          if (method.getName().equals("equals")
              && method.getParameterTypes().length == 1
              && method.getParameterTypes()[0] == Object.class) {
            continue;
          }
          if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) {
            continue;
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. internal/hash/reader.go

    			return nil, errors.New("hash: already read from hash reader")
    		}
    		if len(r.checksum) != 0 && len(MD5) != 0 && !etag.Equal(r.checksum, MD5) {
    			return nil, BadDigest{
    				ExpectedMD5:   r.checksum.String(),
    				CalculatedMD5: md5Hex,
    			}
    		}
    		if len(r.contentSHA256) != 0 && len(SHA256) != 0 && !bytes.Equal(r.contentSHA256, SHA256) {
    			return nil, SHA256Mismatch{
    				ExpectedSHA256:   hex.EncodeToString(r.contentSHA256),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

         * Two CharMappingItem objects are equal if they have the same inputs and output.
         * Note: inputs arrays are sorted in the constructor, so no sorting is needed here.
         *
         * @param obj the object to compare with
         * @return true if the objects are equal, false otherwise
         */
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. internal/event/rulesmap_test.go

    		}
    
    		result.Add(testCase.rulesMapToAdd)
    		if reflect.DeepEqual(result, testCase.rulesMap) {
    			t.Fatalf("test %v: result: expected: not equal, got: equal", i+1)
    		}
    	}
    }
    
    func TestRulesMapAdd(t *testing.T) {
    	rulesMapCase1 := make(RulesMap)
    	rulesMapToAddCase1 := make(RulesMap)
    	expectedResultCase1 := make(RulesMap)
    
    	rulesMapCase2 := make(RulesMap)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jan 05 18:43:06 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof MethodSignature) {
            MethodSignature other = (MethodSignature) obj;
            return name.equals(other.name)
                && parameterTypes.equals(other.parameterTypes)
                && typeSignature.equals(other.typeSignature);
          }
    
          return false;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top