Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 44 for xBytes (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        Murmur3_32Hasher(int seed) {
          this.h1 = seed;
          this.length = 0;
          isDone = false;
        }
    
        private void update(int nBytes, long update) {
          // 1 <= nBytes <= 4
          buffer |= (update & 0xFFFFFFFFL) << shift;
          shift += nBytes * 8;
          length += nBytes;
    
          if (shift >= 32) {
            h1 = mixH1(h1, mixK1((int) buffer));
            buffer >>>= 32;
            shift -= 32;
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  2. docs/ja/docs/advanced/json-base64-bytes.md

    出力データ用にモデル設定で `ser_json_bytes` とともに `bytes` フィールドを使用することもでき、Pydantic は JSON レスポンスを生成するときにバイト列を base64 でシリアライズします。
    
    {* ../../docs_src/json_base64_bytes/tutorial001_py310.py ln[1:2,12:16,29,38:41] hl[16] *}
    
    ## 入力・出力データ向けの Pydantic `bytes` { #pydantic-bytes-for-input-and-output-data }
    
    もちろん、同じモデルを base64 を使うように設定しておけば、JSON データの受信時は `val_json_bytes` で入力を「検証」し、送信時は `ser_json_bytes` で出力を「シリアライズ」する、といった具合に、入力と出力の両方を扱えます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  3. docs/pt/docs/advanced/json-base64-bytes.md

    {* ../../docs_src/json_base64_bytes/tutorial001_py310.py ln[1:9,29:35] hl[9] *}
    
    Se você verificar a `/docs`, verá que o campo `data` espera bytes codificados em base64:
    
    <div class="screenshot">
    <img src="/img/tutorial/json-base64-bytes/image01.png">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/advanced/json-base64-bytes.md

    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## Pydantic `bytes` 用於輸出資料 { #pydantic-bytes-for-output-data }
    
    你也可以在模型設定中搭配 `ser_json_bytes` 使用 `bytes` 欄位來處理輸出資料;當產生 JSON 回應時,Pydantic 會將位元組以 base64 進行序列化。
    
    {* ../../docs_src/json_base64_bytes/tutorial001_py310.py ln[1:2,12:16,29,38:41] hl[16] *}
    
    ## Pydantic `bytes` 用於輸入與輸出資料 { #pydantic-bytes-for-input-and-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  5. docs/uk/docs/advanced/json-base64-bytes.md

      "content": "hello"
    }
    ```
    
    ## Pydantic `bytes` для вихідних даних { #pydantic-bytes-for-output-data }
    
    Ви також можете використовувати поля `bytes` з `ser_json_bytes` у конфігурації моделі для вихідних даних, і Pydantic серіалізує байти як base64 під час формування відповіді JSON.
    
    {* ../../docs_src/json_base64_bytes/tutorial001_py310.py ln[1:2,12:16,29,38:41] hl[16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:25:54 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  6. docs/es/docs/advanced/json-base64-bytes.md

    {* ../../docs_src/json_base64_bytes/tutorial001_py310.py ln[1:9,29:35] hl[9] *}
    
    Si revisas `/docs`, verás que el campo `data` espera bytes codificados en base64:
    
    <div class="screenshot">
    <img src="/img/tutorial/json-base64-bytes/image01.png">
    </div>
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  7. docs/fr/docs/advanced/json-base64-bytes.md

    N'utilisez base64 que si vous devez absolument inclure des données binaires dans du JSON et que vous ne pouvez pas utiliser des fichiers pour cela.
    
    ## Pydantic `bytes` { #pydantic-bytes }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  8. docs/zh/docs/advanced/json-base64-bytes.md

      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## 用于输出数据的 Pydantic `bytes` { #pydantic-bytes-for-output-data }
    
    对于输出数据,你也可以在模型配置中为 `bytes` 字段使用 `ser_json_bytes`,Pydantic 会在生成 JSON 响应时将字节以 base64 进行序列化。
    
    {* ../../docs_src/json_base64_bytes/tutorial001_py310.py ln[1:2,12:16,29,38:41] hl[16] *}
    
    ## 用于输入和输出数据的 Pydantic `bytes` { #pydantic-bytes-for-input-and-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/base/Utf8Test.java

      }
    
      private static byte[] toByteArray(int... bytes) {
        byte[] realBytes = new byte[bytes.length];
        for (int i = 0; i < bytes.length; i++) {
          realBytes[i] = (byte) bytes[i];
        }
        return realBytes;
      }
    
      private static void assertWellFormed(int... bytes) {
        assertTrue(Utf8.isWellFormed(toByteArray(bytes)));
      }
    
      private static void assertNotWellFormed(int... bytes) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  10. fastapi/datastructures.py

        headers: Annotated[Headers, Doc("The headers of the request.")]
        content_type: Annotated[
            str | None, Doc("The content type of the request, from the headers.")
        ]
    
        async def write(
            self,
            data: Annotated[
                bytes,
                Doc(
                    """
                    The bytes to write to the file.
                    """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 5.2K bytes
    - Click Count (0)
Back to Top