Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for inequality (0.14 sec)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            NtlmPasswordAuthenticator auth3 = new NtlmPasswordAuthenticator("DOMAIN", "user", password3);
    
            // Test equality with same password
            assertEquals(auth1, auth2);
            assertEquals(auth1.hashCode(), auth2.hashCode());
    
            // Test inequality with different password
            assertNotEquals(auth1, auth3);
    
            // Test after password wipe
            auth1.secureWipePassword();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/LongMath.java

         *            k * k <= x          <  (k + 1) * (k + 1)
         * (double) (k * k) <= (double) x <= (double) ((k + 1) * (k + 1))
         *          since casting to double is nondecreasing.
         *          Note that the right-hand inequality is no longer strict.
         * Math.sqrt(k * k) <= Math.sqrt(x) <= Math.sqrt((k + 1) * (k + 1))
         *          since Math.sqrt is monotonic.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            FessTimeResourceProvider provider2 = new FessTimeResourceProvider(mockConfig);
    
            // Test basic object equality
            assertNotSame(provider1, provider2);
            assertEquals(provider1, provider1); // Self equality
            assertFalse(provider1.equals(null)); // Null check
            assertFalse(provider1.equals("string")); // Type check
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SecurityBlobTest.java

            SecurityBlob right = new SecurityBlob(b);
    
            // Act & Assert
            assertTrue(left.equals(right), "Blobs with equal content should be equal");
            assertTrue(right.equals(left), "Equality should be symmetric for identical content");
        }
    
        // Demonstrates observed equals() asymmetry when this is shorter than argument
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

        }
    
        static Stream<Arguments> equalsHashParams() {
            return Stream.of(
                    // byte[] id based equality (same id and tree id)
                    Arguments.of(new byte[] { 0x0A, 0x0B }, new byte[] { 0x0A, 0x0B }, 100L, true),
                    // fid based equality (null fileId, same fid and tree id)
                    Arguments.of(null, null, 200L, true));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/DialectVersionTest.java

            // Then
            assertNotNull(stringRep);
            assertFalse(stringRep.isEmpty());
        }
    
        @Test
        @DisplayName("Should handle version comparison")
        void testVersionComparison() {
            // Test equality
            assertEquals(DialectVersion.SMB311, DialectVersion.SMB311);
            assertNotEquals(DialectVersion.SMB1, DialectVersion.SMB311);
    
            // Test comparison
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/UniAddress.java

         */
    
        @Override
        public int hashCode() {
            return this.addr.hashCode();
        }
    
        /**
         * Compare two addresses for equality. Two <code>UniAddress</code>s are equal
         * if they are both <code>UniAddress</code>' and refer to the same IP address.
         */
        @Override
        public boolean equals(final Object obj) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

            } else {
                NtlmPasswordAuthenticator.cloneInternal(to, from);
            }
        }
    
        /**
         * Compares two {@code NtlmPasswordAuthentication} objects for
         * equality. Two {@code NtlmPasswordAuthentication} objects are equal if
         * their caseless domain and username fields are equal and either both hashes are external and they are equal or
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

          final class ValuesImpl extends Maps.Values<K, Collection<V>> {
            ValuesImpl() {
              super(AsMap.this);
            }
    
            @Override
            /*
             * For discussion of equality in Multimap value collections, see the suppression for
             * UndefinedEquals in AbstractMapBasedMultimap.
             */
            @SuppressWarnings("UndefinedEquals")
            public boolean remove(@Nullable Object o) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertArrayEquals(permissions, user.getPermissions());
            assertFalse(user.isEditable());
            assertFalse(user.refresh());
        }
    
        // Helper method to assert array equality
        private void assertArrayEquals(String[] expected, String[] actual) {
            if (expected == null && actual == null) {
                return;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top