- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 72 for 35000 (2.64 sec)
-
src/test/java/jcifs/util/ServerResponseValidatorTest.java
validator.validatePath(""); // Empty should be allowed } @Test public void testPathTooLong() throws Exception { String longPath = "\\share" + "\\folder".repeat(5000); assertThrows(SmbException.class, () -> { validator.validatePath(longPath); }); } @Test public void testPathWithTraversal() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
/** * Create a new handle reconnector * @param manager the persistent handle manager */ public HandleReconnector(PersistentHandleManager manager) { this(manager, 3, 1000); } /** * Create a new handle reconnector with custom settings * @param manager the persistent handle manager * @param maxRetries maximum number of retry attemptsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
SMBUtil.writeInt8(testTime + 1000, buffer, offset + 16); SMBUtil.writeInt8(testTime + 2000, buffer, offset + 24); SMBUtil.writeInt8(testTime + 3000, buffer, offset + 32); SMBUtil.writeInt8(8192, buffer, offset + 40); SMBUtil.writeInt8(2048, buffer, offset + 48); SMBUtil.writeInt4(0x10, buffer, offset + 56); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
final InputStreamThread it = new InputStreamThread(currentProcess.getInputStream(), commandOutputEncoding, maxOutputLine); it.start(); currentProcess.waitFor(); it.join(5000); if (mt.isTeminated()) { if (logger.isDebugEnabled()) { logger.debug("Command execution timeout for user: username={}", username); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
public void testOnConnectMethod() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); CurlRequest result = request.onConnect((req, conn) -> { conn.setConnectTimeout(5000); }); assertSame(request, result); // Fluent API } @Test public void testParamMethod() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertEquals((byte) 0x00, getFieldValue(netServerEnum2, "maxSetupCount")); assertEquals(0, getFieldValue(netServerEnum2, "setupCount")); assertEquals(5000, getFieldValue(netServerEnum2, "timeout")); } @Test @DisplayName("Test constructor with empty domain") void testConstructorEmptyDomain() { String domain = "";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
// Update parameters request.setReadLength(2000); request.setOffset(1000L); request.setMinimumCount(200); request.setRemainingBytes(3000); request.setPadding((byte) 4); request.setReadFlags((byte) 0x02); // Update file ID byte[] newFileId = new byte[16]; Arrays.fill(newFileId, (byte) 0xEF);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
auth1.equals(auth3); auth2.equals(auth3); } long totalTime = System.nanoTime() - startTime; // Should complete in reasonable time (< 10ms for 3000 operations) assertTrue(totalTime < 10_000_000L, "Null/empty password comparisons taking too long: " + totalTime + " ns"); } finally { auth1.close(); auth2.close();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java
* * <p>Example usage: * <pre>{@code * Reader reader = new StringReader("Example text to normalize."); * String normalizedText = TextUtil.normalizeText(reader) * .initialCapacity(5000) * .maxAlphanumTermSize(100) * .maxSymbolTermSize(50) * .duplicateTermRemoved(true)
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
System.out.printf(" Avg atomic operation time: %.2f ns%n", avgOpTimeNs); // Verify lock-free performance (allowing for JVM overhead) assertTrue(avgOpTimeNs < 5000, "Atomic operations should be reasonably fast (no lock contention)"); assertEquals(threadCount * operationsPerThread, operations.get());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0)