- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for 1000ms (0.04 sec)
-
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java
// Test various timeout format strings builder.scrollTimeout("1000ms") .searchTimeout("1m") .indexTimeout("1h") .bulkTimeout("1d") .indicesTimeout("500") .clusterTimeout("10000ms"); assertEquals("1000ms", builder.timeoutSettings.scrollTimeout); assertEquals("1m", builder.timeoutSettings.searchTimeout);Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
// Backoff and timing constants (in ms) private static final long BASE_POLL_INTERVAL = 1000; private static final long MAX_POLL_INTERVAL = 30000; private static final long BASE_RETRY_DELAY = 1000; private static final long MAX_RETRY_DELAY = 30000; private static final int MAX_BACKOFF_SHIFT = 3; // Maximum 8 seconds (2^3 * 1000ms) private final DirectoryLeaseManager leaseManager;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
// Verify O(1) performance - should be reasonably fast (allowing for JVM overhead) assertTrue(avgAllocTimeNs < 10000, "Average allocation should be under 10000ns (O(1) performance)"); assertTrue(avgReleaseTimeNs < 10000, "Average release should be under 10000ns (O(1) performance)"); assertEquals(threadCount * operationsPerThread, allocations.get());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(addr1.getHostAddress()).thenReturn("10.0.0.1"); Address addr2 = mock(Address.class); when(addr2.getHostAddress()).thenReturn("10.0.0.2"); when(nameSvc.getAllByName(eq("test.server"), eq(true))).thenReturn(new Address[] { addr1, addr2 }); // Set fail counts (addr1 has more failures, addr2 has fewer) pool.failCounts.put("10.0.0.1", 5); pool.failCounts.put("10.0.0.2", 1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
public void testReconnectExpiredHandle() throws Exception { // Create an expired handle HandleInfo expiredHandle = new HandleInfo("/test/file.txt", new HandleGuid(), new byte[16], HandleType.DURABLE_V2, 100, // 100ms timeout null); // Wait for expiration Thread.sleep(150); CompletableFuture<HandleInfo> future = reconnector.reconnectHandle(expiredHandle, new IOException("Network error"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
assertTrue(info.isReconnecting()); } @Test public void testGetHandleForReconnectExpired() { manager.requestDurableHandle("/test/file.txt", HandleType.DURABLE_V2, 100, // 100ms timeout null); // Wait for expiration try { Thread.sleep(150); } catch (InterruptedException e) { Thread.currentThread().interrupt();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
DirectoryCacheEntry.FileInfo fileInfo = new DirectoryCacheEntry.FileInfo("test.txt", 1024L, 1000L, false, 0x20, 500L, 800L); // Should match with same values assertTrue(fileInfo.matches(1024L, 1000L, 0x20)); // Should not match with different size assertFalse(fileInfo.matches(2048L, 1000L, 0x20)); // Should not match with different last modified
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
README.md
```java // Set maximum number of URLs to crawl crawler.crawlerContext.setMaxAccessCount(1000); // Set number of crawler threads crawler.crawlerContext.setNumOfThread(10); // Set maximum crawl depth crawler.crawlerContext.setMaxDepth(3); // Set request interval (politeness) crawler.crawlerContext.setDefaultIntervalTime(1000); // 1 second ``` ### URL Filtering ```java // Include patterns
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 15.3K bytes - Viewed (0) -
cmd/data-usage_test.go
func TestDataUsageUpdate(t *testing.T) { base := t.TempDir() const bucket = "bucket" files := []usageTestFile{ {name: "rootfile", size: 10000}, {name: "rootfile2", size: 10000}, {name: "dir1/d1file", size: 2000}, {name: "dir2/d2file", size: 300}, {name: "dir1/dira/dafile", size: 100000}, {name: "dir1/dira/dbfile", size: 200000}, {name: "dir1/dira/dirasub/dcfile", size: 1000000},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.6K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
tests := []testCase{ // Test - 1 valid case. { []byte("10000;chunk-signature=ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648"), []byte("10000"), []byte("ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648"), }, // Test - 2 no chunk extension, return same buffer. { []byte("10000;"), []byte("10000;"), nil, }, // Test - 3 no chunk size, return error. {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.7K bytes - Viewed (0)