- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 356 for Timeouts (0.03 sec)
-
android/guava-tests/test/com/google/common/base/SuppliersTest.java
AtomicInteger count = new AtomicInteger(0); AtomicReference<Throwable> thrown = new AtomicReference<>(null); int numThreads = 3; Thread[] threads = new Thread[numThreads]; long timeout = SECONDS.toNanos(60); Supplier<Boolean> supplier = new Supplier<Boolean>() { boolean isWaiting(Thread thread) { switch (thread.getState()) { case BLOCKED:
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 17.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
AtomicInteger count = new AtomicInteger(0); AtomicReference<Throwable> thrown = new AtomicReference<>(null); int numThreads = 3; Thread[] threads = new Thread[numThreads]; long timeout = SECONDS.toNanos(60); Supplier<Boolean> supplier = new Supplier<Boolean>() { boolean isWaiting(Thread thread) { switch (thread.getState()) { case BLOCKED:
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 17.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransWaitNamedPipe.java
class TransWaitNamedPipe extends SmbComTransaction { TransWaitNamedPipe(final String pipeName) { name = pipeName; command = SMB_COM_TRANSACTION; subCommand = TRANS_WAIT_NAMED_PIPE; timeout = 0xFFFFFFFF; maxParameterCount = 0; maxDataCount = 0; maxSetupCount = (byte) 0x00; setupCount = 2; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.2K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
## 10. Error Handling ### 10.1 Lease Break Timeout ```java public void handleLeaseBreakWithTimeout(Smb2LeaseKey key, int newState) { CompletableFuture<Void> future = CompletableFuture.runAsync(() -> { handleLeaseBreak(key, newState); }); try { future.get(5, TimeUnit.SECONDS); // 5 second timeout } catch (TimeoutException e) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
import okio.Path.Companion.toPath import okio.fakefilesystem.FakeFileSystem import okio.use import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout import org.junit.jupiter.api.extension.RegisterExtension @Timeout(30) open class TrailersTest { private val fileSystem = FakeFileSystem() @JvmField @RegisterExtension val platform = PlatformRule() @RegisterExtensionRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 08 21:45:04 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
if (!params.contains(RequestParam.NO_TIMEOUT)) { resp.wait(timeout); timeout = resp.getExpiration() - System.currentTimeMillis(); if (timeout <= 0) { throw new TransportException(this + " timedout waiting for response to " + req); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipe.java
*/ public TransWaitNamedPipe(final Configuration config, final String pipeName) { super(config, SMB_COM_TRANSACTION, TRANS_WAIT_NAMED_PIPE); this.name = pipeName; this.timeout = 0xFFFFFFFF; this.maxParameterCount = 0; this.maxDataCount = 0; this.maxSetupCount = (byte) 0x00; this.setupCount = 2; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X { // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator bestGetCheckedTypeValidator().validateClass(exceptionClass); try { return future.get(timeout, unit); } catch (InterruptedException e) { currentThread().interrupt();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
*/ public void setMaxRetryCount(final int maxRetryCount) { this.maxRetryCount = maxRetryCount; } /** * Sets the connection timeout in milliseconds. * * @param connTimeout The connection timeout. */ public void setConnTimeout(final long connTimeout) { this.connTimeout = connTimeout; } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 02:01:26 UTC 2025 - 26.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/MonitorTarget.java
import org.codelibs.fess.helper.SystemHelper; import org.codelibs.fess.taglib.FessFunctions; import org.codelibs.fess.util.ComponentUtil; /** * Abstract base class for monitor targets that implement timeout functionality. */ public abstract class MonitorTarget implements TimeoutTarget { /** * Default constructor. */ public MonitorTarget() { // Default constructor } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.8K bytes - Viewed (0)