- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 1,052 for timeIt (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
val response1 = getResponse(newRequest("/a")) response1.body .source() .timeout() .timeout(100, TimeUnit.MILLISECONDS) assertContent("This connection won't pool properly", response1) assertThat(server.takeRequest().exchangeIndex).isEqualTo(0) // Give the server time to enact the socket policy if it's one that could happen after the // client has received the response.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 133.2K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
public static final String NAME = "DH2Q"; // Durable Handle V2 Request private long timeout; private int flags; private HandleGuid createGuid; public DurableHandleV2Request(long timeout, boolean persistent) { super(NAME); this.timeout = timeout; this.flags = persistent ? Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT : 0;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
import java.util.concurrent.CountDownLatch import java.util.concurrent.atomic.AtomicInteger import mockwebserver3.junit5.StartStop import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout @Timeout(30) class CustomDispatcherTest { @StartStop private val mockWebServer = MockWebServer() @Test fun simpleDispatch() { val requestsMade = mutableListOf<RecordedRequest>()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.2K bytes - Click Count (1) -
cmd/url_test.go
b.ReportAllocs() // the actual benchmark for PutObject starts here. Reset the benchmark timer. b.ResetTimer() if err := req.ParseForm(); err != nil { b.Fatal(err) } b.RunParallel(func(pb *testing.PB) { for pb.Next() { req.Form.Get("uploadId") } }) // Benchmark ends here. Stop timer. b.StopTimer() } // BenchmarkURLQuery - benchmark URL memory allocations
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Nov 16 17:28:29 GMT 2021 - 2K bytes - Click Count (0) -
internal/config/dns/operator_dns.go
Transport: &http.Transport{ Proxy: http.ProxyFromEnvironment, DialContext: (&net.Dialer{ Timeout: 3 * time.Second, KeepAlive: 5 * time.Second, }).DialContext, ResponseHeaderTimeout: 3 * time.Second, TLSHandshakeTimeout: 3 * time.Second, ExpectContinueTimeout: 3 * time.Second, TLSClientConfig: &tls.Config{ RootCAs: args.rootCAs, },Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Nov 11 14:51:43 GMT 2024 - 6.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
* @param path the file path * @param type the handle type * @param timeout the timeout in milliseconds * @param leaseKey the associated lease key (can be null) * @return the handle GUID */ public HandleGuid requestDurableHandle(String path, HandleType type, long timeout, Smb2LeaseKey leaseKey) { HandleGuid guid = new HandleGuid();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
} return this.nextNameTrnId; } void ensureOpen(final int timeout) throws IOException { this.closeTimeout = 0; if (this.transportContext.getConfig().getNetbiosSoTimeout() != 0) { this.closeTimeout = Math.max(this.transportContext.getConfig().getNetbiosSoTimeout(), timeout); } // If socket is still good, the new closeTimeout willCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial003_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
read_query["/items/"] query_extractor --> query_or_cookie_extractor --> read_query ``` ## Using the same dependency multiple times { #using-the-same-dependency-multiple-times } If one of your dependencies is declared multiple times for the same *path operation*, for example, multiple dependencies have a common sub-dependency, **FastAPI** will know to call that sub-dependency only once per request.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.7K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
/** * @since 28.0 */ @Override public final void awaitRunning(Duration timeout) throws TimeoutException { Service.super.awaitRunning(timeout); } /** * @since 15.0 */ @Override public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException { delegate.awaitRunning(timeout, unit); } /** * @since 15.0 */ @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 27.8K bytes - Click Count (0)