Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 710 for different (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertFalse(Arrays.equals(decKey300, decKey311), "Decryption keys should be different for different dialects");
        }
    
        @Test
        @DisplayName("Should derive different keys for different purposes with same dialect")
        void testDeriveKeys_DifferentPurposes() {
            // Given
            int dialect = Smb2Constants.SMB2_DIALECT_0311;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            CharMappingItem item4 = new CharMappingItem(4L, inputs1, "different");
    
            // Same inputs and output should have same hash code
            assertEquals(item1.hashCode(), item2.hashCode());
    
            // Different inputs should have different hash code
            assertNotSame(item1.hashCode(), item3.hashCode());
    
            // Same inputs but different output should have different hash code
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/HMACT64Test.java

            // Results should be different
            boolean different = false;
            for (int i = 0; i < result1.length; i++) {
                if (result1[i] != result2[i]) {
                    different = true;
                    break;
                }
            }
            assertEquals(true, different, "Different keys should produce different HMAC values");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/cors.md

    ## Origin { #origin }
    
    An origin is the combination of protocol (`http`, `https`), domain (`myapp.com`, `localhost`, `localhost.tiangolo.com`), and port (`80`, `443`, `8080`).
    
    So, all these are different origins:
    
    * `http://localhost`
    * `https://localhost`
    * `http://localhost:8080`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            ProtwordsItem item2 = new ProtwordsItem(2, "word");
            ProtwordsItem item3 = new ProtwordsItem(1, "different");
    
            // Same input should have same hashCode regardless of id
            assertEquals(item1.hashCode(), item2.hashCode());
    
            // Different input should have different hashCode
            assertNotSame(item1.hashCode(), item3.hashCode());
    
            // Consistent hashCode
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            byte[] encrypted2 = storage.encryptCredentials(plaintext.clone());
    
            // Should produce different ciphertexts due to random IV
            assertFalse(Arrays.equals(encrypted1, encrypted2), "Different encryptions should produce different ciphertexts");
    
            // But both should decrypt to same plaintext
            char[] decrypted1 = storage.decryptCredentials(encrypted1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            StopwordsItem item4 = new StopwordsItem(1, "different");
    
            // Same input should have same hashCode regardless of id
            assertEquals(item1.hashCode(), item2.hashCode());
            assertEquals(item1.hashCode(), item3.hashCode());
    
            // Different input should have different hashCode
            assertNotSame(item1.hashCode(), item4.hashCode());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmUtilTest.java

            // Assert
            assertArrayEquals(expected, actual, "NT hash must match known test vector");
        }
    
        @Test
        @DisplayName("getNTHash: verify different passwords produce different hashes")
        void testGetNTHash_differentPasswords() {
            // Arrange
            String password1 = "password";
            String password2 = "Password";
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            assertEquals(tag1.hashCode(), tag2.hashCode());
    
            // Different tag
            PrunedTag tagDifferentTag = new PrunedTag("span");
            tagDifferentTag.setId("test");
            tagDifferentTag.setCss("highlight");
            tagDifferentTag.setAttr("data-value", "123");
            assertFalse(tag1.equals(tagDifferentTag));
    
            // Different id
            PrunedTag tagDifferentId = new PrunedTag("div");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertEquals(32, derived3.length, "Derived key should have correct length");
    
            assertFalse(Arrays.equals(derived1, derived2), "Different labels should produce different keys");
            assertFalse(Arrays.equals(derived1, derived3), "Different contexts should produce different keys");
        }
    
        @Test
        public void testStoreNullKey() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top