- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 286 for isSame (0.71 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
*/ package jcifs.smb1.smb1; import java.util.Date; import jcifs.smb1.Config; import jcifs.smb1.util.Hexdump; class SmbComOpenAndX extends AndXServerMessageBlock { // flags (not the same as flags constructor argument) private static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01; private static final int FLAGS_REQUEST_OPLOCK = 0x02; private static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
* If either or both arrays are {@literal null}, the other array is returned as is. * If either or both arrays have a length of {@literal 0}, the other array is returned as is. * In any case, the returned array is the same instance as the argument array and is not copied. * </p> * * @param <T> * the type of the array elements * @param a * first array * @param bRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
// Assert assertArrayEquals(h2, h1, "nTOWFv1 should return NT hash"); assertEquals(16, h1.length, "NT hash length is 16 bytes"); } @Test @DisplayName("nTOWFv2: overloads produce same result and domain affects key") void testNTOWFv2_overloadsAndDomainSensitivity() { // Arrange String domain = "Domain"; String user = "User"; String password = "password";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
// Create new storage with same salt SecureCredentialStorage storage2 = new SecureCredentialStorage(masterPassword.clone(), salt); try { // Should be able to decrypt with same salt and password char[] decrypted = storage2.decryptCredentials(encrypted); assertArrayEquals(plaintext, decrypted, "Should decrypt correctly with same salt and password");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
} /** * Test for isSameTree() method. * Verifies that the method correctly identifies if two handles refer to the same tree. */ @Test void testIsSameTree() { SmbTreeHandle anotherHandle = mock(SmbTreeHandle.class); when(smbTreeHandle.isSameTree(smbTreeHandle)).thenReturn(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
TestSpnegoToken t = new TestSpnegoToken(); byte[] raw = new byte[] { 11, 12, 13 }; t.parse(raw); // Current behavior of test impl: returns same reference assertSame(raw, t.toByteArray(), "should return the same reference as mechanismToken"); } @Test @DisplayName("Setters accept null and getters return null") void settersAcceptNull() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Given - Use same key for both encryption and decryption in test // In production, client would use clientEncKey/serverDecKey and server would use serverEncKey/clientDecKey Smb2EncryptionContext context = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311, testEncryptionKey, testEncryptionKey); // Use same key for testRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
startLatch.countDown(); // Wait for all threads to complete assertTrue("Threads did not complete in time", doneLatch.await(5, TimeUnit.SECONDS)); // All threads should fail with the same IOException (project ID is blank) // But importantly, there should be no race condition errors assertEquals(threadCount, failureCount.get()); assertEquals(0, successCount.get());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_wildcard.txt
Allow: /$ Allow: /index.html$ Allow: /public/ # Test priority rules (longer match wins) User-agent: PriorityBot Disallow: /store Allow: /store/public Disallow: /store/public/sale # Test Allow vs Disallow with same length (Allow wins) User-agent: SameLengthBot Disallow: /page Allow: /page # Test multiple wildcards User-agent: MultiWildcardBot Disallow: /*.cgi* Disallow: /*?*id=* # Test literal $ in middle of pattern
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 14:03:41 UTC 2025 - 910 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java
/** * Merges an array of SuggestItem objects by combining items with the same ID. * * <p>This method iterates through the provided array of SuggestItem objects and merges * items that have the same ID. The merged items are added to a new list, which is then * converted back to an array and returned.</p> *Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4.1K bytes - Viewed (0)