- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 490 for secunds (0.04 sec)
-
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
assertEquals(sidT1, lsarSidArrayX.sids[0].sid, "First SID should be unwrapped correctly"); assertEquals(sidT2, lsarSidArrayX.sids[1].sid, "Second SID should be unwrapped correctly"); } @Test void testConstructorWithJcifsSIDArrayDirectAssignment() { // Create mock SID objects SID mockSid1 = mock(SID.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
// Ignore } }).start(); } startLatch.countDown(); assertTrue(endLatch.await(1, TimeUnit.SECONDS)); assertTrue(response.isReceived()); } @Test @DisplayName("Should handle concurrent error notifications") void testConcurrentError() throws InterruptedException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
int cleaned = forceCleanup(); // Shutdown executor cleanupExecutor.shutdown(); try { if (!cleanupExecutor.awaitTermination(5, TimeUnit.SECONDS)) { cleanupExecutor.shutdownNow(); } } catch (InterruptedException e) { cleanupExecutor.shutdownNow(); Thread.currentThread().interrupt(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
} } /** * Validates integer for safe arithmetic operations * * @param a first operand * @param b second operand * @param operation the operation name * @throws ArithmeticException if operation would overflow */ public static void validateIntegerAddition(int a, int b, String operation) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
} }, ) // This should fail the Call, but not cause an unhandled Exception bubbling up client.dispatcher.executorService.shutdownNow() val exception = callFailure.get(5, TimeUnit.SECONDS) assertThat(exception.message).isEqualTo("canceled due to java.lang.InterruptedException") assertThat(exception).isInstanceOf<IOException>() assertThat(exception.cause) .isNotNull()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
} @Test @DisplayName("Test nextElement() changes command on second call") void testNextElementSecondCall() { // First call - primary transaction.nextElement(); byte initialCommand = transaction.command; // Second call - secondary transaction.nextElement(); // Verify command changed to secondary
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)