- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 242 for secunds (0.2 sec)
-
src/main/java/jcifs/util/AuthenticationRateLimiter.java
if (!closed.compareAndSet(false, true)) { return; } cleanupScheduler.shutdownNow(); try { cleanupScheduler.awaitTermination(5, TimeUnit.SECONDS); } catch (InterruptedException e) { Thread.currentThread().interrupt(); log.warn("Interrupted while shutting down cleanup scheduler", e); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
}).start(); } // Start all threads simultaneously startLatch.countDown(); // Wait for completion assertTrue(completeLatch.await(5, TimeUnit.SECONDS)); // Authenticator should be closed assertTrue(auth.isClosed()); } /** * Test password security with char array constructor variations */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
// When - navigate through chain CommonServerMessageBlockResponse second = response.getNextResponse(); CommonServerMessageBlockResponse third = second.getNextResponse(); CommonServerMessageBlockResponse end = third.getNextResponse(); // Then assertEquals(nextResponse, second); assertEquals(thirdResponse, third); assertNull(end); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
assertEquals("foo/", r1.getName(), "First child name should match with trailing slash"); assertTrue(it.hasNext(), "Expected second element available"); SmbResource r2 = it.next(); assertNotNull(r2); assertEquals("bar/", r2.getName(), "Second child name should match with trailing slash"); // End of iteration behavior assertFalse(it.hasNext(), "No more elements expected");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/DialectVersion.java
return ordinal() <= v.ordinal(); } /** * Get the minimum of two dialect versions * * @param a the first version to compare * @param b the second version to compare * @return smaller of the two versions */ public static DialectVersion min(final DialectVersion a, final DialectVersion b) { if (a.atMost(b)) { return a; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
} } } /** * Compares two SMB files by name * @param f1 first file to compare * @param f1name name of first file * @param f2 second file to compare * @return comparison result for sorting * @throws IOException if an I/O error occurs */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
TestServerMessageBlock2 second = new TestServerMessageBlock2(mockConfig); TestServerMessageBlock2 third = new TestServerMessageBlock2(mockConfig); assertTrue(testMessage.chain(second)); assertTrue(testMessage.chain(third)); assertEquals(second, testMessage.getNext()); assertEquals(third, second.getNext()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
int result = smbComRename.writeBytesWireFormat(dst, dstIndex); // Then assertTrue(result > 0); assertEquals((byte) 0x04, dst[0]); // First buffer format byte // Find the second buffer format byte int secondBufferFormatIndex = oldFileName.length() + 2; // 1 for first 0x04, 1 for null terminator assertEquals((byte) 0x04, dst[secondBufferFormatIndex]); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
assertThrows(IllegalStateException.class, () -> { Handler.setURLStreamHandlerFactory(mockFactory2); // Second call, should fail. }, "Setting the factory a second time should throw IllegalStateException."); } @Test void testOpenConnection_WithCustomFactory() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ObjectUtil.java
*/ protected ObjectUtil() { } /** * Returns true if the two objects are equal, or both are null. * * @param object1 the first object * @param object2 the second object * @return true if equal or both null, false otherwise */ public static boolean equals(final Object object1, final Object object2) { if (object1 == object2) { return true; }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0)