- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 1,031 for wait (0.03 seconds)
-
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
doNothing().when(mockChannelManager).performChannelBinding(any()); IOException error = new IOException("Connection failed"); failover.handleFailure(failedChannel, error); // Wait a bit for recovery attempt Thread.sleep(100); verify(mockChannelManager).createTransport(failedChannel.getLocalInterface(), failedChannel.getRemoteInterface()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
assertFalse(channelInfo.isHealthy()); } @Test void testActivityTracking() { long initialTime = channelInfo.getLastActivityTime(); // Wait a bit and update activity try { Thread.sleep(10); } catch (InterruptedException e) { Thread.currentThread().interrupt(); } channelInfo.updateActivity();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponse.java
* for connection when the pipe server was busy. */ public class TransWaitNamedPipeResponse extends SmbComTransactionResponse { /** * Constructs a response for a wait named pipe request. * * @param config the configuration to use */ public TransWaitNamedPipeResponse(final Configuration config) { super(config); } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
} /** * Waits for the crawling process to terminate indefinitely. */ public void awaitTermination() { awaitTermination(0); } /** * Waits for the crawling process to terminate for a specified duration. * @param millis The maximum time to wait in milliseconds. A value of 0 means wait indefinitely. */Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 17K bytes - Click Count (0) -
docs/contribute/concurrency.md
#### Http2Stream This lock guards the internal state of each stream. As above, it is never held for blocking operations. When we need to hold an application thread to block a read, we use wait/notify on this lock. This works because the lock is released while `wait()` is waiting. #### Http2Writer
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 7K bytes - Click Count (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
crawler.getCrawlerContext().setMaxAccessCount(maxCount); crawler.getCrawlerContext().setNumOfThread(numOfThread); final String sessionId = crawler.execute(); // Wait for crawler to start running with polling long startTime = System.currentTimeMillis(); while (crawler.crawlerContext.getStatus() != CrawlerStatus.RUNNING && System.currentTimeMillis() - startTime < 5000) {
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 15 01:11:43 GMT 2026 - 13.1K bytes - Click Count (0) -
cmd/leak-detect_test.go
// Loop, waiting for goroutines to shut down. // Wait up to 5 seconds, but finish as quickly as possible. deadline := UTCNow().Add(leakDetectDeadline * time.Second) for { // get sack snapshot of relevant go routines. leaked := initialSnapShot.CompareCurrentSnapshot() // current stack snapshot matches the initial one, no leaks, return. if len(leaked) == 0 { return } // wait a test again will deadline.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java
throws TimeoutException, ExecutionException { SettableFuture<String> future = SettableFuture.create(); future.set(RESULT); /* * getUninterruptibly should call the timed get method once with a * wait of 0 seconds (and it should succeed, since the result is already * available). */ assertThat(getUninterruptibly(future, 0, SECONDS)).isEqualTo(RESULT); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.9K bytes - Click Count (0) -
internal/logger/target/http/http.go
// there is something in the log queue // process it first, even if we tickered // first, or we have not received any events // yet, still wait on it. continue } // If we are doing batching, we should wait // at least for a second, before sending. // Even if there is nothing in the queue. if h.batchSize > 1 && time.Since(lastBatchProcess) < time.Second { continue
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/RequestParam.java
* * @author mbechler * * <p>This interface is intended for internal use.</p> */ public enum RequestParam { /** * No special request parameters. */ NONE, /** * Wait indefinitely for a response */ NO_TIMEOUT, /** * Do not retry request on failure */ NO_RETRY, /** * Save the raw payload for further inspection */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.2K bytes - Click Count (0)