- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 961 for Spread (0.06 seconds)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java
} /** * Sets the thread pool. * @param threadPool The thread pool. * @return This builder instance. */ public SuggesterBuilder threadPool(final ExecutorService threadPool) { this.threadPool = threadPool; return this; } /** * Sets the thread pool size. * @param threadPoolSize The thread pool size. * @return This builder instance.Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 6.2K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
import jakarta.annotation.Resource; /** * The {@code CrawlerThread} class represents a thread that executes the crawling process. * It is responsible for fetching URLs from the queue, accessing the content, * processing the response, and extracting child URLs. * * <p> * This class implements the {@link Runnable} interface, allowing it to be executed in a separate thread.Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Aug 07 02:55:08 GMT 2025 - 20.4K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java
*/ public void setTimeout(final long timeout) { this.timeout = timeout; } /** * Sets whether the extraction thread should be a daemon thread. * @param isDaemonThread true to make it a daemon thread, false otherwise. */ public void setDaemonThread(final boolean isDaemonThread) { this.isDaemonThread = isDaemonThread; }Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 12.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
private fun sleep(delayMillis: Int) { try { Thread.sleep(delayMillis.toLong()) } catch (e: InterruptedException) { Thread.currentThread().interrupt() } } private fun cancelLater( call: Call, delayMillis: Int, ): CountDownLatch { val latch = CountDownLatch(1) Thread { sleep(delayMillis) if (cancelMode == CANCEL) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
@Test public void testThreadSafety() throws InterruptedException { // Test concurrent updates from 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 < 100; j++) { String name = "file" + index + "_" + j + ".txt";Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 8.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
assertFalse(future.isDone()); assertFalse(future.isCancelled()); CountDownLatch successLatch = new CountDownLatch(1); // Run cancellation in a separate thread as an extra thread-safety test. new Thread( () -> { assertThrows(CancellationException.class, future::get); successLatch.countDown(); }) .start();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 6.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
try { for (i in 1..2) { // Space out traffic to make it easier to demarcate. sendTestRequest(fbRequest) Thread.sleep(1000) sendTestRequest(twitterRequest) Thread.sleep(1000) sendTestRequest(googleRequest) Thread.sleep(2000) } } finally { client.connectionPool.evictAll() client.dispatcher.executorService.shutdownNow()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 10.9K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
} } /** Confirm all tasks have completed. Used by the test thread only. */ fun assertNoMoreTasks() { taskRunner.assertLockNotHeld() taskRunner.withLock { assertThat(activeThreads).isEqualTo(0) } } /** Unblock a waiting task thread. Used by the test thread only. */ fun interruptCoordinatorThread() { taskRunner.assertLockNotHeld()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
// Trip circuit circuitBreaker.trip(); Thread.sleep(100); long afterTripTime = circuitBreaker.getTimeSinceLastStateChange(); assertTrue(afterTripTime >= 100, "Time should have advanced"); assertTrue(afterTripTime < 200, "Time should be reasonable"); // Reset circuit circuitBreaker.reset(); Thread.sleep(50);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.2K bytes - Click Count (0)