- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 233 for _timeout (0.05 sec)
-
cmd/dynamic-timeouts.go
// so decrease the timeout towards 25 % of maximum time spent. maxDur = maxDur * 125 / 100 timeout := atomic.LoadInt64(&dt.timeout) if maxDur < time.Duration(timeout) { // Move 50% toward the max. timeout = (int64(maxDur) + timeout) / 2 } if timeout < dt.minimum { timeout = dt.minimum } atomic.StoreInt64(&dt.timeout, timeout) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
} /** * Sets the connection timeout. * @param connectionTimeout The connection timeout in milliseconds. */ public void setConnectionTimeout(final Integer connectionTimeout) { this.connectionTimeout = connectionTimeout; } /** * Sets the socket timeout. * @param soTimeout The socket timeout in milliseconds. */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
// When int timeout1 = delegatingConfig.getResponseTimeout(); int timeout2 = delegatingConfig.getResponseTimeout(); int timeout3 = delegatingConfig.getResponseTimeout(); // Then assertEquals(30000, timeout1, "First call should return correct value"); assertEquals(30000, timeout2, "Second call should return correct value");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
nextNameTrnId = 1; } return nextNameTrnId; } void ensureOpen(final int timeout) throws IOException { closeTimeout = 0; if (SO_TIMEOUT != 0) { closeTimeout = Math.max(SO_TIMEOUT, timeout); } // If socket is still good, the new closeTimeout will // be ignored; see tryClose comment. if (socket == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 17.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
} else { javaNetSocket.soTimeout = chain.readTimeoutMillis() okHttpSocket.source.timeout().timeout(chain.readTimeoutMillis.toLong(), MILLISECONDS) okHttpSocket.sink.timeout().timeout(chain.writeTimeoutMillis.toLong(), MILLISECONDS) Http1ExchangeCodec(client, this, okHttpSocket) } } internal fun useAsSocket() { javaNetSocket.soTimeout = 0 noNewExchanges() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Default SMB port number */ int DEFAULT_PORT = 445; /** Default maximum multiplex count */ int DEFAULT_MAX_MPX_COUNT = 10; /** Default response timeout in milliseconds */ int DEFAULT_RESPONSE_TIMEOUT = 30000; /** Default socket timeout in milliseconds */ int DEFAULT_SO_TIMEOUT = 35000; /** Default receive buffer size in bytes */ int DEFAULT_RCV_BUF_SIZE = 60416;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
FUTURE(Timeout.SMALL, Timeout.MAX), SMALL(Timeout.SMALL), FINITE(Timeout.MIN, Timeout.MINUS_SMALL, Timeout.ZERO, Timeout.SMALL), INFINITE(Timeout.LARGE, Timeout.MAX); final ImmutableList<Timeout> timeouts; TimeoutsToUse(Timeout... timeouts) { this.timeouts = ImmutableList.copyOf(timeouts); } } /** Possible outcomes of calling any of the methods under test. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
* uninterruptibly. */ @J2ktIncompatible @GwtIncompatible // concurrency @SuppressWarnings("GoodTime") // should accept a java.time.Duration public static boolean awaitUninterruptibly(CountDownLatch latch, long timeout, TimeUnit unit) { boolean interrupted = false; try { long remainingNanos = unit.toNanos(timeout);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
long timeout = RESPONSE_TIMEOUT; resp.expiration = System.currentTimeMillis() + timeout; while (resp.hasMoreElements()) { wait(timeout); timeout = resp.expiration - System.currentTimeMillis(); if (timeout <= 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
} @Test @DisplayName("Should handle broadcast resolution timeout") @Timeout(value = 1, unit = TimeUnit.SECONDS) // Very short timeout void testBroadcastTimeout() { // Configure for broadcast-only resolution with very short timeout when(mockConfig.getResolveOrder()).thenReturn(Arrays.asList(ResolverType.RESOLVER_BCAST));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0)