Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 62 for Equal (0.02 sec)

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

            Boolean result2 = (Boolean) constantTimeMethod.invoke(null, password1, password3);
    
            assertTrue(result1, "Identical passwords should be equal");
            assertFalse(result2, "Different passwords should not be equal");
        }
    
        /**
         * Measure the average time for equals operations.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         * equality. Two {@code NtlmPasswordAuthentication} objects are equal if
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            SmbTree tree4 = new SmbTree(session, "testShare", "otherService");
    
            // Test equal trees (same share and service)
            assertEquals(tree1, tree2);
    
            // Test non-equal trees (different share)
            assertNotEquals(tree1, tree3);
    
            // Test non-equal trees (different service)
            assertNotEquals(tree1, tree4);
    
            // Test with different object type
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

         */
        @Override
        public int hashCode() {
            return Objects.hash(method, url, weight);
        }
    
        /**
         * Checks if this RequestData is equal to another object.
         * @param obj the object to compare with
         * @return true if the objects are equal, false otherwise
         */
        @Override
        public boolean equals(Object obj) {
            if (this == obj)
                return true;
            if (obj == null)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java

         */
        public void setLastmod(final String lastmod) {
            this.lastmod = lastmod;
        }
    
        /**
         * Checks if this SitemapFile is equal to another object.
         * @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 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.4K bytes
    - Viewed (1)
  6. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            SmbSession s2 = new SmbSession(addr, 445, inet, 0, a2);
            // same auth instance => matches
            assertTrue(s1.matches(a1));
            // different instance but equal content => matches
            assertTrue(s1.matches(a2));
            // not equal => no match
            NtlmPasswordAuthentication other = new NtlmPasswordAuthentication("OTHER", "u", "p");
            assertFalse(s1.matches(other));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                int combined = Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED | Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED;
                assertEquals(0x0003, combined, "Combined signing flags should equal 0x0003");
            }
        }
    
        @Nested
        @DisplayName("Dialect Constants")
        class DialectConstants {
    
            @Test
            @DisplayName("SMB 2.0.2 dialect should be 0x0202")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

            assertEquals(auth1, auth2, "Authenticators with same credentials should be equal");
            assertNotEquals(auth1, auth3, "Authenticators with different passwords should not be equal");
        }
    
        @Test
        public void testMultipleSecureWipes() {
            authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", "password");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResourceLocator.java

        String getParent();
    
        /**
         * Returns the full uncanonicalized URL of this SMB resource. An
         * <code>SmbFile</code> constructed with the result of this method will
         * result in an <code>SmbFile</code> that is equal to the original.
         *
         * @return The uncanonicalized full URL of this SMB resource.
         */
    
        String getPath();
    
        /**
         * Returns the full URL of this SMB resource with '.' and '..' components
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top