Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 368 for avait (0.16 seconds)

  1. src/bufio/bufio.go

    	}
    
    	if n > len(b.buf) {
    		return b.buf[b.r:b.w], ErrBufferFull
    	}
    
    	// 0 <= n <= len(b.buf)
    	var err error
    	if avail := b.w - b.r; avail < n {
    		// not enough data in buffer
    		n = avail
    		err = b.readErr()
    		if err == nil {
    			err = ErrBufferFull
    		}
    	}
    	return b.buf[b.r : b.r+n], err
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 06 17:28:40 GMT 2026
    - 22K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/dependencies/index.md

    No importa. **FastAPI** sabrá qué hacer.
    
    /// note | Nota
    
    Si no lo sabes, revisa la sección [Async: *"¿Con prisa?"*](../../async.md#in-a-hurry) sobre `async` y `await` en la documentación.
    
    ///
    
    ## Integración con OpenAPI { #integrated-with-openapi }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 10K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/sql-databases.md

    Ici, nous créons les tables lors d'un événement de démarrage de l'application.
    
    En production, vous utiliseriez probablement un script de migration qui s'exécute avant de démarrer votre application. 🤓
    
    /// tip | Astuce
    
    SQLModel aura des utilitaires de migration enveloppant Alembic, mais pour l'instant, vous pouvez utiliser [Alembic](https://alembic.sqlalchemy.org/en/latest/) directement.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/dependencies/index.md

    Não faz diferença. O **FastAPI** sabe o que fazer.
    
    /// note | Nota
    
    Caso você não conheça, veja em [Async: *"Com Pressa?"*](../../async.md#in-a-hurry) a sessão acerca de `async` e `await` na documentação.
    
    ///
    
    ## Integrando com OpenAPI { #integrated-with-openapi }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                    } finally {
                        latch.countDown();
                    }
                }, "ProcessCloser-output-" + sessionId).start();
    
                try {
                    latch.await(streamCloseTimeout, TimeUnit.SECONDS);
                } catch (final InterruptedException e) {
                    logger.warn("Interrupted to wait a process.", e);
                }
                try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                ByteArrayOutputStream stderr = connectStream(process.getErrorStream(), latch);
    
                process.waitFor(1, TimeUnit.MINUTES);
                latch.await(1, TimeUnit.MINUTES);
                return new ExecResult(args, process.exitValue(), stdout.toString(UTF_8), stderr.toString(UTF_8));
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. docs/ko/docs/advanced/stream-data.md

    이 예시처럼 메모리 상의 가짜 파일(`io.BytesIO`)이라면 크게 중요하지 않지만, 실제 파일의 경우 작업이 끝난 뒤 파일을 닫는 것이 매우 중요합니다.
    
    ### 파일과 비동기 { #files-and-async }
    
    대부분의 경우 파일 유사 객체는 기본적으로 async/await와 호환되지 않습니다.
    
    예를 들어 `await file.read()`나 `async for chunk in file`과 같은 패턴을 지원하지 않습니다.
    
    또한 디스크나 네트워크에서 읽기 때문에, 많은 경우 읽기 작업은 이벤트 루프를 막을 수 있는 블로킹 연산입니다.
    
    /// info | 정보
    
    위의 예시는 예외적인 경우입니다. `io.BytesIO` 객체는 이미 메모리에 있으므로 읽기가 아무 것도 차단하지 않습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  8. docs/tr/docs/tutorial/dependencies/index.md

    Fark etmez. **FastAPI** ne yapacağını bilir.
    
    /// note | Not
    
    Eğer bilmiyorsanız, dokümanlarda `async` ve `await` için [Async: *"In a hurry?"*](../../async.md#in-a-hurry) bölümüne bakın.
    
    ///
    
    ## OpenAPI ile Entegre { #integrated-with-openapi }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                latch.countDown();
            }, e -> {
                latch.countDown();
            });
    
            // ## Assert ##
            assertTrue("Async execution should complete within 5 seconds", latch.await(5, TimeUnit.SECONDS));
            assertNotNull(threadName.get());
            // The async execution should have run on a ForkJoinPool thread, not the main thread
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  10. README.md

    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Or use <code>async def</code>...</summary>
    
    If your code uses `async` / `await`, use `async def`:
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 24.3K bytes
    - Click Count (0)
Back to Top