Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1311 - 1320 of 1,790 for NOTE (0.03 seconds)

  1. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testCompare() {
        for (int x : VALUES) {
          for (int y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage("%s, %s", x, y).that(Ints.compare(x, y)).isEqualTo(Integer.compare(x, y));
          }
        }
      }
    
      public void testContains() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testCompare() {
        for (float x : VALUES) {
          for (float y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage("%s, %s", x, y).that(Floats.compare(x, y)).isEqualTo(Float.compare(x, y));
          }
        }
      }
    
      public void testContains() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  3. docs/ko/docs/async.md

    results = await some_library()
    ```
    
    다음처럼 *경로 처리 함수*를 `async def`를 사용해 선언하십시오:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note | 참고
    
    `async def`로 생성된 함수 내부에서만 `await`를 사용할 수 있습니다.
    
    ///
    
    ---
    
    데이터베이스, API, 파일시스템 등과 의사소통하는 제3자 라이브러리를 사용하고, 그것이 `await` 사용을 지원하지 않는 경우(현재 대부분의 데이터베이스 라이브러리가 그러합니다), *경로 처리 함수*를 일반적인 `def`를 사용해 선언하십시오:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/request-form-models.md

    /// info | 說明
    
    要使用表單,首先安裝 [`python-multipart`](https://github.com/Kludex/python-multipart)。
    
    請先建立[虛擬環境](../virtual-environments.md)、啟用後再安裝,例如:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    /// note | 注意
    
    此功能自 FastAPI 版本 `0.113.0` 起支援。🤓
    
    ///
    
    ## 針對表單的 Pydantic 模型 { #pydantic-models-for-forms }
    
    你只需要宣告一個 **Pydantic 模型**,包含你要接收為 **表單欄位** 的欄位,然後將參數宣告為 `Form`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2K bytes
    - Click Count (0)
  5. docs/recipes.md

    [Moshi](https://github.com/square/moshi) is a handy API for converting between JSON and Java objects. Here we're using it to decode a JSON response from a GitHub API.
    
    Note that `ResponseBody.charStream()` uses the `Content-Type` response header to select which charset to use when decoding the response body. It defaults to `UTF-8` if no charset is specified.
    
    === ":material-language-kotlin: Kotlin"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/async.md

    results = await some_library()
    ```
    
    然後,使用 `async def` 宣告你的*路徑操作函式*:
    
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note | 注意
    
    你只能在 `async def` 建立的函式內使用 `await`。
    
    ///
    
    ---
    
    如果你使用的是第三方函式庫並且它需要與某些外部資源(例如資料庫、API、檔案系統等)進行通訊,但不支援 `await`(目前大多數資料庫函式庫都是這樣),在這種情況下,你可以像平常一樣使用 `def` 宣告*路徑操作函式*,如下所示:
    
    ```Python hl_lines="2"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  7. docs/zh/docs/async.md

    results = await some_library()
    ```
    
    然后,通过 `async def` 声明你的 *路径操作函数*:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note | 注意
    
    你只能在被 `async def` 创建的函数内使用 `await`
    
    ///
    
    ---
    
    如果你正在使用一个第三方库和某些组件(比如:数据库、API、文件系统...)进行通信,第三方库又不支持使用 `await` (目前大多数数据库三方库都是这样),这种情况你可以像平常那样使用 `def` 声明一个路径操作函数,就像这样:
    
    ```Python hl_lines="2"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  8. docs/pt/docs/_llm-test.md

    ////
    
    ## Abas e caixas coloridas { #tabs-and-colored-boxes }
    
    //// tab | Teste
    
    /// info | Informação
    Algum texto
    ///
    
    /// note | Nota
    Algum texto
    ///
    
    /// note | Detalhes Técnicos
    Algum texto
    ///
    
    /// check | Verifique
    Algum texto
    ///
    
    /// tip | Dica
    Algum texto
    ///
    
    /// warning | Atenção
    Algum texto
    ///
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/stream-json-lines.md

        Client->>Client: Process Item 1
        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...
    ```
    
    Es könnte sogar ein unendlicher Stream sein, bei dem Sie kontinuierlich Daten senden.
    
    ## JSON Lines { #json-lines }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  10. docs/de/docs/advanced/testing-websockets.md

    Dazu verwenden Sie den `TestClient` in einer `with`-Anweisung, eine Verbindung zum WebSocket herstellend:
    
    {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *}
    
    /// note | Hinweis
    
    Weitere Informationen finden Sie in Starlettes Dokumentation zum [Testen von WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 471 bytes
    - Click Count (0)
Back to Top