- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 782 for asyncio (0.09 sec)
-
cmd/untar.go
name = trimLeadingSlash(path.Clean(name)) default: // ignore symlink'ed continue } if o.prefixAll != "" { name = pathJoin(o.prefixAll, name) } // Do small files async n++ if header.Size <= xioutil.MediumBlock { asyncWriters <- struct{}{} bufp := xioutil.ODirectPoolMedium.Get() b := (*bufp)[:header.Size] if _, err := io.ReadFull(tarReader, b); err != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (2) -
docs/es/docs/tutorial/dependencies/dependencies-with-yield.md
El código posterior a la declaración `yield` se ejecuta después del response: {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *} /// tip | Consejo Puedes usar funciones `async` o regulares. **FastAPI** hará lo correcto con cada una, igual que con dependencias normales. /// ## Una dependencia con `yield` y `try` { #a-dependency-with-yield-and-try }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.7K bytes - Viewed (0) -
docs/es/docs/advanced/custom-response.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.2K bytes - Viewed (0) -
docs/es/llm-prompt.md
* full stack: full stack (do not translate to "pila completa") * full-stack: full-stack (do not translate to "de pila completa") * stack: stack (do not translate to "pila") * loop (as in async loop): loop (do not translate to "bucle" or "ciclo") * hard dependencies: dependencias obligatorias (do not translate to "dependencias duras") * locking: locking (do not translate to "bloqueo")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 5.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
生成的值会注入到 *路由函数* 和其他依赖项中: {* ../../docs_src/dependencies/tutorial007.py hl[4] *} `yield` 语句后面的代码会在创建响应后,发送响应前执行: {* ../../docs_src/dependencies/tutorial007.py hl[5:6] *} /// tip | 提示 你可以使用 `async` 或普通函数。 **FastAPI** 会像处理普通依赖一样,对每个依赖做正确的处理。 /// ## 包含 `yield` 和 `try` 的依赖项 如果在包含 `yield` 的依赖中使用 `try` 代码块,你会捕获到使用依赖时抛出的任何异常。 例如,如果某段代码在另一个依赖中或在 *路由函数* 中使数据库事务"回滚"或产生任何其他错误,你将会在依赖中捕获到异常。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 11.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java
assertEquals('a', stream.read()); assertEquals(-1, stream.read()); // EOF } // File should be deleted after close // Note: FileUtil.deleteInBackground() is async, so we can't reliably test this } public void test_available() throws Exception { // Create a temporary file with test data File tempFile = File.createTempFile("test-", ".tmp");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md
Код, следующий за оператором `yield`, выполняется после ответа: {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *} /// tip | Подсказка Можно использовать как `async`, так и обычные функции. **FastAPI** корректно обработает каждый вариант, так же как и с обычными зависимостями. /// ## Зависимость с `yield` и `try` { #a-dependency-with-yield-and-try }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 19.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md
O código após o `yield` é executado após a resposta: {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *} /// tip | Dica Você pode usar funções assíncronas (`async`) ou funções comuns. O **FastAPI** saberá o que fazer com cada uma, da mesma forma que as dependências comuns. /// ## Uma dependência com `yield` e `try` { #a-dependency-with-yield-and-try }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
The code following the `yield` statement is executed after the response: {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *} /// tip You can use `async` or regular functions. **FastAPI** will do the right thing with each, the same as with normal dependencies. /// ## A dependency with `yield` and `try` { #a-dependency-with-yield-and-try }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.9K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
for (EventType type : EventType.values()) { eventCounters.put(type, new AtomicLong(0)); eventTimings.put(type, new AtomicLong(0)); } // Start async logging processor startAsyncProcessor(); // Register shutdown hook Runtime.getRuntime().addShutdownHook(new Thread(this::shutdown)); } private void startAsyncProcessor() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0)