- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 3,296 for once (0.1 sec)
-
okhttp/src/test/java/okhttp3/ResponseJvmTest.kt
assertThat(response.body.string()).isEqualTo("abc") assertFailsWith<IllegalStateException> { response.peekBody(3) } } /** * Returns a new response body that refuses to be read once it has been closed. This is true of * most [BufferedSource] instances, but not of [Buffer]. */ private fun responseBody(content: String): ResponseBody { val data = Buffer().writeUtf8(content)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/MockStreamHandler.kt
while (true) { val action = actions.poll() ?: break action(stream) } } } return@FutureTask null } } /** Returns once all stream actions complete successfully. */ fun awaitSuccess() { val futureTask = results.poll(5, TimeUnit.SECONDS) ?: throw AssertionError("no onRequest call received")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java
private String url; private SmbAuthException sae; private void reset() { url = null; sae = null; } /** Set the default <tt>NtlmAuthenticator</tt>. Once the default authenticator is set it cannot be changed. Calling this metho again will have no effect. */ public synchronized static void setDefault( NtlmAuthenticator a ) { if( auth != null ) { return;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.8K bytes - Viewed (0) -
cmd/http-stats.go
if w == nil { // when response recorder nil, this is an active request hstats.currentS3Requests.Inc(api) bh.httpStats[bucket] = hstats return } // else { hstats.currentS3Requests.Dec(api) // decrement this once we have the response recorder. hstats.totalS3Requests.Inc(api) code := w.StatusCode switch { case code == 0: case code == 499: // 499 is a good error, shall be counted as canceled.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StopwatchTest.java
assertEquals(0, stopwatch.elapsed(MILLISECONDS)); ticker.advance(1); assertEquals(1, stopwatch.elapsed(MILLISECONDS)); } @J2ktIncompatible // TODO(b/259213718): Switch J2kt to String.format("%.4g") once that's supported public void testToString() { stopwatch.start(); assertEquals("0.000 ns", stopwatch.toString()); ticker.advance(1); assertEquals("1.000 ns", stopwatch.toString());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/EndpointPairIterator.java
} node = nodeIterator.next(); successorIterator = graph.successors(node).iterator(); return true; } /** * If the graph is directed, each ordered [source, target] pair will be visited once if there is * an edge connecting them. */ private static final class Directed<N> extends EndpointPairIterator<N> { private Directed(BaseGraph<N> graph) { super(graph); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 5K bytes - Viewed (0) -
src/main/assemblies/files/fess.in.bat
) REM set to headless, just in case set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Djava.awt.headless=true REM maximum # keep-alive connections to maintain at once set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dhttp.maxConnections=20 REM Force the JVM to use IPv4 stack if NOT "%FESS_USE_IPV4%" == "" ( set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Djava.net.preferIPv4Stack=true )
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/context/SingletonContext.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 01 08:53:08 UTC 2019 - 4.2K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
query_extractor --> query_or_cookie_extractor --> read_query ``` ## 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.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.5K bytes - Viewed (0) -
docs/sts/dex.md
## Prerequisites Install Dex by following [Dex Getting Started Guide](https://dexidp.io/docs/getting-started/) ### Start Dex ```
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 21 06:38:06 UTC 2023 - 3.8K bytes - Viewed (0)