- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 166 for yielded (0.07 sec)
-
fastapi/datastructures.py
""" return await super().close() @classmethod def __get_validators__(cls: Type["UploadFile"]) -> Iterable[Callable[..., Any]]: yield cls.validate @classmethod def validate(cls: Type["UploadFile"], v: Any) -> Any: if not isinstance(v, StarletteUploadFile): raise ValueError(f"Expected UploadFile, received: {type(v)}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/middleware.md
* 它接收你的应用程序的每一个**请求**. * 然后它可以对这个**请求**做一些事情或者执行任何需要的代码. * 然后它将**请求**传递给应用程序的其他部分 (通过某种*路径操作*). * 然后它获取应用程序生产的**响应** (通过某种*路径操作*). * 它可以对该**响应**做些什么或者执行任何需要的代码. * 然后它返回这个 **响应**. /// note | "技术细节" 如果你使用了 `yield` 关键字依赖, 依赖中的退出代码将在执行中间件*后*执行. 如果有任何后台任务(稍后记录), 它们将在执行中间件*后*运行. /// ## 创建中间件 要创建中间件你可以在函数的顶部使用装饰器 `@app.middleware("http")`. 中间件参数接收如下参数: * `request`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
} /** * Returns true if the response headers and status indicate that this response has a (possibly * 0-length) body. See RFC 7231. */ fun Response.promisesBody(): Boolean { // HEAD requests never yield a body regardless of the response headers. if (request.method == "HEAD") { return false } val responseCode = code if ((responseCode < HTTP_CONTINUE || responseCode >= 200) &&
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
afe.initCause(t); throw afe; } } /** * Delays, via Thread.sleep, for the given millisecond delay, but if the sleep is shorter than * specified, may re-sleep or yield until time elapses. */ @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait? static void delay(long millis) throws InterruptedException { long startTime = System.nanoTime();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 37.9K bytes - Viewed (0) -
docs/de/docs/advanced/custom-response.md
``` 1. Das ist die Generatorfunktion. Es handelt sich um eine „Generatorfunktion“, da sie `yield`-Anweisungen enthält. 2. Durch die Verwendung eines `with`-Blocks stellen wir sicher, dass das dateiähnliche Objekt geschlossen wird, nachdem die Generatorfunktion fertig ist. Also, nachdem sie mit dem Senden der Response fertig ist.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.5K bytes - Viewed (0) -
doc/go1.17_spec.html
<pre> (*T).Mp </pre> <p> yields a function value representing <code>Mp</code> with signature </p> <pre> func(tp *T, f float32) float32 </pre> <p> For a method with a value receiver, one can derive a function with an explicit pointer receiver, so </p> <pre> (*T).Mv </pre> <p> yields a function value representing <code>Mv</code> with signature
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
src/main/java/jcifs/SID.java
* accounts. SIDs are commonly represented using a textual format such as * <tt>S-1-5-21-1496946806-2192648263-3843101252-1029</tt> but they may * also be resolved to yield the name of the associated Windows account * such as <tt>Administrators</tt> or <tt>MYDOM\alice</tt>. * <p> * Consider the following output of <tt>examples/SidLookup.java</tt>: * * <pre>
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.1K bytes - Viewed (0) -
docs/features/calls.md
## [Calls](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-call/)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/middleware.md
* **요청** 또는 다른 필요한 코드를 실행 시킬 수 있습니다. * **요청**을 응용 프로그램의 *경로 작동*으로 전달하여 처리합니다. * 애플리케이션의 *경로 작업*에서 생성한 **응답**를 받습니다. * **응답** 또는 다른 필요한 코드를 실행시키는 동작을 할 수 있습니다. * **응답**를 반환합니다. /// note | "기술 세부사항" 만약 `yield`를 사용한 의존성을 가지고 있다면, 미들웨어가 실행되고 난 후에 exit이 실행됩니다. 만약 (나중에 문서에서 다룰) 백그라운드 작업이 있다면, 모든 미들웨어가 실행되고 *난 후에* 실행됩니다. /// ## 미들웨어 만들기 미들웨어를 작성하기 위해서 함수 상단에 `@app.middleware("http")` 데코레이터를 사용할 수 있습니다.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
afe.initCause(t); throw afe; } } /** * Delays, via Thread.sleep, for the given millisecond delay, but if the sleep is shorter than * specified, may re-sleep or yield until time elapses. */ @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait? static void delay(long millis) throws InterruptedException { long startTime = System.nanoTime();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 37.9K bytes - Viewed (0)