- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 135 for nThreads (0.05 seconds)
-
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
*/ protected ExecutorService newFixedThreadPool(final int nThreads) { if (logger.isDebugEnabled()) { logger.debug("Initialized executor thread pool: size={}", nThreads); } return new ThreadPoolExecutor(nThreads, nThreads, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<>(nThreads), new ThreadPoolExecutor.CallerRunsPolicy()); } @OverrideCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 29.7K bytes - Click Count (3) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
/** * Calls get() repeatedly from many different threads, and tests that all of the removed entries * (removed because of size limits or expiration) trigger appropriate removal notifications. */ @GwtIncompatible // QueuingRemovalListener public void testRemovalNotification_get_basher() throws InterruptedException { int nTasks = 1000; int nThreads = 100; int getsPerTask = 1000;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 25.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
Thread.currentThread().interrupt(); } }); } // Start all threads for (Thread t : threads) { t.start(); } // Wait for all threads to complete for (Thread t : threads) { t.join(); } // Verify password is wiped assertNull(auth.getPassword()); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.3K bytes - Click Count (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
AtomicInteger successCount = new AtomicInteger(0); AtomicInteger failureCount = new AtomicInteger(0); // Create multiple threads Thread[] threads = new Thread[10]; for (int i = 0; i < threads.length; i++) { final int index = i; threads[i] = new Thread(() -> { for (int j = 0; j < 10; j++) { try {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
} /** * Checks if the crawler threads are daemon threads. * @return true if daemon threads, false otherwise. */ public boolean isDaemon() { return daemon; } /** * Sets whether the crawler threads should be daemon threads. * @param daemon true to make threads daemon, false otherwise. */Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 17K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 20 13:07:01 GMT 2025 - 36.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Wed Nov 19 08:59:28 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
} finally { endLatch.countDown(); } }); } startLatch.countDown(); // Start all threads assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete within timeout"); executor.shutdown(); long overallEnd = System.nanoTime(); double overallTimeMs = (overallEnd - overallStart) / 1_000_000.0;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.3K bytes - Click Count (0)