- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for 100ms (0.4 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
final long start2 = System.nanoTime(); controller.delayBeforeProcessing(); final long elapsed2 = (System.nanoTime() - start2) / 1000000; assertTrue("Second access should delay at least 100ms", elapsed2 >= 90); } /** * Test that cache is thread-safe with concurrent access */ public void test_cacheThreadSafety() { final int numTasks = 50;
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
assertEquals(2, response2.getNum()); // Sleep only until next second to ensure unique index name (typically <100ms) long currentMillis = System.currentTimeMillis(); long millisUntilNextSecond = 1000 - (currentMillis % 1000); Thread.sleep(millisUntilNextSecond + 10); // +10ms buffer suggester.createNextIndex(); SuggestItem[] items2 = getItemSet2();
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 37.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java
suggester.refresh(); long oldWordsCount = suggester.getAllWordsNum(); assertTrue(oldWordsCount > 0); // Minimal sleep to ensure timestamp separation (reduced from 2000ms to 100ms total) Thread.sleep(50); ZonedDateTime threshold = ZonedDateTime.now(); Thread.sleep(50); // Index new data after threshold document = new HashMap<>();
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 28.4K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
private final Queue<WitnessNotification> pendingNotifications; private final ScheduledExecutorService scheduler; private final int batchSize = 10; private final long batchTimeout = 100; // 100ms public void addNotification(WitnessNotification notification) { synchronized (pendingNotifications) { pendingNotifications.offer(notification);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
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: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
} // Check total memory allocation long totalSize = (long) size * (long) elementSize; long maxAllocation = 100 * 1024 * 1024; // 100MB max if (totalSize > maxAllocation) { failedValidations.incrementAndGet(); log.warn("Array allocation too large: {} bytes", totalSize);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K 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) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
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; private final ConcurrentHashMap<String, ChangeNotificationHandle> activeWatchers; private final ConcurrentHashMap<String, Integer> failureCounts; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0)