Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 594 for EQUAL (0.02 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

         * Implementations must ensure that if two requests are equal according to
         * {@link #equals(Object)}, they have the same hashcode.
         *
         * @return a hash code value for this request
         */
        @Override
        int hashCode();
    
        /**
         * Returns {@code true} if the specified object is equal to this request.
         * Two requests are considered equal if they have the same type and all
         * significant fields are equal.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. internal/config/storageclass/storage-class.go

    	// SS parity drives should be greater than or equal to minParityDrives.
    	// Parity below minParityDrives is not supported.
    	if ssParity > 0 && ssParity < minParityDrives {
    		return fmt.Errorf("parity %d should be greater than or equal to %d",
    			ssParity, minParityDrives)
    	}
    
    	if ssParity > setDriveCount/2 {
    		return fmt.Errorf("parity %d should be less than or equal to %d", ssParity, setDriveCount/2)
    	}
    
    	return nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilterTest.java

            assertTrue(filter1.equals(filter1), "Expected " + filter1 + " to equal " + filter1);
            assertEquals(filter1.hashCode(), filter1.hashCode());
    
            assertFalse(filter1.equals(filter2), "Expected " + filter1 + " to not equal " + filter2);
            assertFalse(filter2.equals(filter1), "Expected " + filter2 + " to not equal " + filter1);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/Network.java

       * same structural relationships as those in this network.
       *
       * <p>Thus, two networks A and B are equal if <b>all</b> of the following are true:
       *
       * <ul>
       *   <li>A and B have equal {@link #isDirected() directedness}.
       *   <li>A and B have equal {@link #nodes() node sets}.
       *   <li>A and B have equal {@link #edges() edge sets}.
       *   <li>Every edge in A and B connects the same nodes in the same direction (if any).
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

            assertTrue(filter1.equals(filter1), "Expected " + filter1 + " to equal " + filter1);
            assertEquals(filter1.hashCode(), filter1.hashCode());
    
            assertFalse(filter1.equals(filter2), "Expected " + filter1 + " to not equal " + filter2);
            assertFalse(filter2.equals(filter1), "Expected " + filter2 + " to not equal " + filter1);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SecurityBlobTest.java

            assertEquals("deadbeef", blob.toString(), "toString() should reflect underlying content");
            assertEquals(data.hashCode(), blob.hashCode(), "hashCode should equal the array's hashCode");
        }
    
        // Validates equals() returns true for same-sized, equal-content blobs
        @Test
        @DisplayName("equals: identical content and size -> true")
        void equals_identicalContent_true() {
            // Arrange
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. api/next/70471.txt

    pkg hash/maphash, method (ComparableHasher[$0]) Equal($0, $0) bool #70471
    pkg hash/maphash, method (ComparableHasher[$0]) Hash(*Hash, $0) #70471
    pkg hash/maphash, type ComparableHasher[$0 comparable] struct #70471
    pkg hash/maphash, type Hasher[$0 interface{}] interface { Equal, Hash } #70471
    pkg hash/maphash, type Hasher[$0 interface{}] interface, Equal($0, $0) bool #70471
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Apr 03 15:21:15 GMT 2026
    - 456 bytes
    - Click Count (0)
  8. utils/utils_test.go

    		out      bool
    	}{
    		{"error equal", errors.New("1"), errors.New("1"), true},
    		{"error not equal", errors.New("1"), errors.New("2"), false},
    		{"driver.Valuer equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now, Valid: true}, true},
    		{"driver.Valuer not equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now.Add(time.Second), Valid: true}, false},
    		{"driver.Valuer equal (ptr to nil ptr)", (*ModifyAt)(nil), &ModifyAt{}, false},
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:31:30 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Objects.java

    @GwtCompatible
    public final class Objects extends ExtraObjectsMethodsForWeb {
    
      /**
       * Determines whether two possibly-null objects are equal. Returns:
       *
       * <ul>
       *   <li>{@code true} if {@code a} and {@code b} are both null.
       *   <li>{@code true} if {@code a} and {@code b} are both non-null and they are equal according to
       *       {@link Object#equals(Object)}.
       *   <li>{@code false} in all other situations.
       * </ul>
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 28 22:51:26 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * their caseless domain and username fields are equal and either both hashes are external and they are equal or
         * both internally supplied passwords are equal. If one {@code NtlmPasswordAuthentication} object has external
         * hashes (meaning negotiated via NTLM HTTP Authentication) and the other does not they will not be equal. This is
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top