- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 376 for Sleeps (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/zh/docs/tutorial/stream-json-lines.md
App->>Client: Send Item 2 App->>App: Produce Item 3 Client->>Client: Process Item 2 App->>Client: Send Item 3 Client->>Client: Process Item 3 Note over App: Keeps producing... Note over Client: Keeps consuming... ``` 它甚至可以是一个无限流,你可以一直持续发送数据。 ## JSON Lines { #json-lines } 在这些场景中,常见的做法是发送 “JSON Lines”,这是一种每行发送一个 JSON 对象的格式。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 4.2K bytes - Click Count (0) -
api/next/77169.txt
pkg testing/synctest, func Sleep(time.Duration) #77169...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Feb 02 22:43:36 GMT 2026 - 55 bytes - Click Count (0) -
tests/compose.yml
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Aug 04 04:07:30 GMT 2025 - 1.9K bytes - Click Count (0) -
tests/test_list_bytes_file_order_preserved_issue_14811.py
async def patched_read(self: StarletteUploadFile, size: int = -1) -> bytes: # Make the FIRST file slower *deterministically* if self.filename == "slow.txt": await anyio.sleep(0.05) return await original_read(self, size) monkeypatch.setattr(StarletteUploadFile, "read", patched_read) client = TestClient(app) files = [Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 10 12:14:38 GMT 2026 - 1.4K bytes - Click Count (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
* response is ready. */ @Test fun dispatchBlocksWaitingForEnqueue() { Thread { try { Thread.sleep(1000) } catch (ignored: InterruptedException) { } server.enqueue(MockResponse().setBody("enqueued in the background")) }.start() val connection = server.url("/").toUrl().openConnection()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 03 13:16:34 GMT 2025 - 22.3K bytes - Click Count (0) -
src/test/resources/before_script.sh
break else error_count=$((error_count + 1)) fi if [[ ${error_count} -ge 60 ]] ; then echo "Fess is not available." cat ${temp_log_file} ./fess-*/logs/*.log exit 1 fi sleep 1 done pushd /tmp >/dev/null git clone https://github.com/codelibs/fess-testdata.git cd fess-testdata git checkout f19176ab1b7ddc0a40393a8cbbb8d1c17b27c3ce cd .. popd >/dev/nullCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Nov 15 02:26:18 GMT 2025 - 940 bytes - Click Count (0) -
scripts/playwright/sql_databases/image01.py
) try: for _ in range(3): try: response = httpx.get("http://localhost:8000/docs") except httpx.ConnectError: time.sleep(1) break with sync_playwright() as playwright: run(playwright) finally:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 1.1K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt
import java.util.concurrent.TimeUnit.SECONDS import okhttp3.MediaType import okhttp3.RequestBody import okio.BufferedSink import org.junit.jupiter.api.Assertions.assertTrue /** A duplex request body that keeps the provided sinks so they can be written to later. */ class AsyncRequestBody : RequestBody() { private val requestBodySinks: BlockingQueue<BufferedSink> = LinkedBlockingQueue() override fun contentType(): MediaType? = null
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt
} } override fun connectTcp(): ConnectResult { check(connectState == ConnectState.READY) events += "plan $id TCP connecting..." taskFaker.sleep(tcpConnectDelayNanos) if (yieldBeforeTcpConnectReturns) { taskFaker.yield() } return when { tcpConnectThrowable != null -> {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
} } private static void assertAtLeastTimePassed(Stopwatch stopwatch, long expectedMillis) { long elapsedMillis = stopwatch.elapsed(MILLISECONDS); /* * The "+ 5" below is to permit, say, sleep(10) to sleep only 9 milliseconds. We see such * behavior sometimes when running these tests publicly as part of Guava. "+ 5" is probably more * generous than it needs to be. */ assertTrue(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0)