- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 424 for awaited (0.16 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
* when we run AbstractFutureTest itself. */ /* * We don't test UnsafeAtomicHelper here, since guava-android doesn't provide a way to use it * under the JVM. (We could arrange for one if we really wanted, but that will break once the * JDK further restricts access to Unsafe.) But we have coverage under an Android emulator, * which uses UnsafeAtomicHelper when it runs AbstractFutureTest itself. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.3K bytes - Click Count (0) -
cmd/handler-api.go
globalHTTPStats.addRequestsInQueue(-1) // When the client disconnects before getting the S3 handler // status code response, set the status code to 499 so this request // will be properly audited and traced. w.WriteHeader(499) default: globalHTTPStats.addRequestsInQueue(-1) if contextCanceled(ctx) { w.WriteHeader(499) return } // Send a http timeout message
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 10.4K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
* limitations under the License. */ package okhttp3.tls.internal.der import java.math.BigInteger import java.net.ProtocolException import okio.ByteString /** * ASN.1 adapters adapted from the specifications in [RFC 5280][rfc_5280]. * * [rfc_5280]: https://tools.ietf.org/html/rfc5280 */ @Suppress("UNCHECKED_CAST") // This needs to cast decoded collections. internal object CertificateAdapters { /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 13.6K bytes - Click Count (0) -
docs/fr/docs/tutorial/background-tasks.md
Dans cet exemple, la fonction de tâche écrira dans un fichier (afin de simuler un envoi d'email). L'opération d'écriture n'utilisant ni `async` ni `await`, on définit la fonction avec un `def` normal. {* ../../docs_src/background_tasks/tutorial001_py310.py hl[6:9] *} ## Ajouter une tâche d'arrière-plan { #add-the-background-task }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 5.5K bytes - Click Count (0) -
docs/zh/docs/advanced/dataclasses.md
同样,你可以将 `dataclasses` 与标准类型注解组合使用。 8. 注意,这个 *路径操作函数* 使用的是常规的 `def` 而不是 `async def`。 一如既往,在 FastAPI 中你可以按需组合 `def` 和 `async def`。 如果需要回顾何时用哪一个,请查看关于 [`async` 和 `await`](../async.md#in-a-hurry) 的文档中的 _“急不可待?”_ 一节。 9. 这个 *路径操作函数* 返回的不是数据类(当然也可以返回数据类),而是包含内部数据的字典列表。 FastAPI 会使用(包含数据类的)`response_model` 参数来转换响应。 你可以将 `dataclasses` 与其它类型注解以多种不同方式组合,来构建复杂的数据结构。 更多细节请参考上面代码中的内联注释提示。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 3.9K bytes - Click Count (0) -
docs/uk/docs/tutorial/testing.md
{* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *} /// tip | Порада Зверніть увагу, що тестові функції — це звичайні `def`, а не `async def`. Виклики клієнта також звичайні, без використання `await`. Це дозволяє використовувати `pytest` без зайвих ускладнень. /// /// note | Технічні деталі Ви також можете використовувати `from starlette.testclient import TestClient`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 8.6K bytes - Click Count (0) -
internal/deadlineconn/deadlineconn.go
readSetAt time.Time writeDeadline time.Duration // sets the write deadline on a connection. writeSetAt time.Time abortReads, abortWrites atomic.Bool // A deadline was set to indicate caller wanted the conn to time out. infReads, infWrites atomic.Bool mu sync.Mutex } // Unwrap will unwrap the connection and remove the deadline if applied.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Dec 02 13:21:17 GMT 2024 - 5.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java
super.process(consumer); latch.countDown(); } @Override public void waitForProcessed() throws InterruptedException { latch.await(); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Feb 06 11:28:05 GMT 2025 - 8.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
for (int i = 0; i < threadCount; i++) { final int index = i; new Thread(() -> { try { startLatch.await(); if (index % 3 == 0) { // Some threads wipe password auth.secureWipePassword(); } else if (index % 3 == 1) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Ascii.java
*/ public static final byte CAN = 24; /** * End of Medium: A control character associated with the sent data which may be used to identify * the physical end of the medium, or the end of the used, or wanted, portion of information * recorded on a medium. (The position of this character does not necessarily correspond to the * physical end of the medium.) * * @since 8.0 */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 21.7K bytes - Click Count (0)