Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 485 for reseed (0.04 sec)

  1. cmd/test-utils_test.go

    var globalTestTmpDir = os.TempDir()
    
    // reseed - returns a new seed every time the function is called.
    func reseed() uint32 {
    	return uint32(time.Now().UnixNano() + int64(os.Getpid()))
    }
    
    // nextSuffix - provides a new unique suffix every time the function is called.
    func nextSuffix() string {
    	randmu.Lock()
    	r := randN
    	// Initial seed required, generate one.
    	if r == 0 {
    		r = reseed()
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/body-nested-models.md

    }
    ```
    
    /// info | Información
    
    Nota cómo la clave `images` ahora tiene una lista de objetos de imagen.
    
    ///
    
    ## Modelos anidados profundamente { #deeply-nested-models }
    
    Puedes definir modelos anidados tan profundamente como desees:
    
    {* ../../docs_src/body_nested_models/tutorial007_py310.py hl[7,12,18,21,25] *}
    
    /// info | Información
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/body-nested-models.md

    # Body – Verschachtelte Modelle { #body-nested-models }
    
    Mit **FastAPI** können Sie (dank Pydantic) beliebig tief verschachtelte Modelle definieren, validieren, dokumentieren und verwenden.
    
    ## Listen als Felder { #list-fields }
    
    Sie können ein Attribut als Kindtyp definieren, zum Beispiel eine Python-`list`.
    
    {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/body-nested-models.md

    # Corpo - Modelos aninhados { #body-nested-models }
    
    Com o **FastAPI**, você pode definir, validar, documentar e usar modelos arbitrariamente e profundamente aninhados (graças ao Pydantic).
    
    ## Campos do tipo Lista { #list-fields }
    
    Você pode definir um atributo como um subtipo. Por exemplo, uma `list` do Python:
    
    {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-nested-models.md

    And it will be annotated / documented accordingly too.
    
    ## Nested Models { #nested-models }
    
    Each attribute of a Pydantic model has a type.
    
    But that type can itself be another Pydantic model.
    
    So, you can declare deeply nested JSON "objects" with specific attribute names, types and validations.
    
    All that, arbitrarily nested.
    
    ### Define a submodel { #define-a-submodel }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/body-nested-models.md

    # Body - Вложенные модели { #body-nested-models }
    
    С помощью **FastAPI** вы можете определять, валидировать, документировать и использовать модели произвольной глубины вложенности (благодаря Pydantic).
    
    ## Поля-списки { #list-fields }
    
    Вы можете определить атрибут как подтип. Например, Python-тип `list`:
    
    {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                SMBUtil.writeInt2(0, buffer, 2); // Reserved
                SMBUtil.writeInt4(count, buffer, 4); // Count
                SMBUtil.writeInt4(remaining, buffer, 8); // Remaining
                SMBUtil.writeInt2(0, buffer, 12); // WriteChannelInfoOffset
                SMBUtil.writeInt2(0, buffer, 14); // WriteChannelInfoLength
                return buffer;
            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

            @BeforeEach
            public void setUp() {
                // Build a sample buffer
                int bufferIndex = 0;
                bufferIndex += 2; // reserved
                writeInt2(dataCompactionMode, buffer, bufferIndex);
                bufferIndex += 2;
                bufferIndex += 2; // reserved
                writeInt2(dataLength, buffer, bufferIndex);
                bufferIndex += 2;
                writeInt2(dataOffset, buffer, bufferIndex);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/body-nested-models.md

    以下のように:
    
    {* ../../docs_src/body_nested_models/tutorial008.py hl[15] *}
    
    ## あらゆる場所でのエディタサポート
    
    エディタのサポートもどこでも受けることができます。
    
    以下のようにリストの中の項目でも:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/body-nested-models/image01.png">
    
    Pydanticモデルではなく、`dict`を直接使用している場合はこのようなエディタのサポートは得られません。
    
    しかし、それらについて心配する必要はありません。入力された辞書は自動的に変換され、出力も自動的にJSONに変換されます。
    
    ## 任意の`dict`のボディ
    
    また、ある型のキーと別の型の値を持つ`dict`としてボディを宣言することもできます。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            @Test
            @DisplayName("Should correctly parse reserved fields")
            void testReservedFieldsAreSkipped() throws Exception {
                byte[] buffer = new byte[64];
    
                // Structure with specific values in reserved fields
                SMBUtil.writeInt2(24, buffer, 0);
                buffer[2] = 0x01; // Oplock level
                buffer[3] = (byte) 0xAA; // Reserved byte
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top