- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 465 for reseed (0.53 sec)
-
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 Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
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 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 Observa cómo `Offer` tiene una lista de `Item`s, que a su vez tienen una lista opcional de `Image`s
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 7.5K bytes - Viewed (0) -
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 Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
docs/de/docs/tutorial/body-nested-models.md
{* ../../docs_src/body_nested_models/tutorial008_py39.py hl[13] *} ## Editor-Unterstützung überall Und Sie erhalten Editor-Unterstützung überall. Selbst für Dinge in Listen: <img src="/img/tutorial/body-nested-models/image01.png"> Sie würden diese Editor-Unterstützung nicht erhalten, wenn Sie direkt mit `dict`, statt mit Pydantic-Modellen arbeiten würden.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/em/docs/tutorial/body-nested-models.md
images: list[Image] ``` : {* ../../docs_src/body_nested_models/tutorial008.py hl[15] *} ## 👨🎨 🐕🦺 🌐 & 👆 🤚 👨🎨 🐕🦺 🌐. 🏬 🔘 📇: <img src="/img/tutorial/body-nested-models/image01.png"> 👆 🚫 🚫 🤚 👉 😇 👨🎨 🐕🦺 🚥 👆 👷 🔗 ⏮️ `dict` ↩️ Pydantic 🏷. ✋️ 👆 🚫 ✔️ 😟 🔃 👫 👯♂️, 📨 #️⃣ 🗜 🔁 & 👆 🔢 🗜 🔁 🎻 💁♂️. ## 💪 ❌ `dict`Ⓜ
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-nested-models.md
## Suporte de editor em todo canto E você obtém suporte do editor em todos os lugares. Mesmo para itens dentro de listas: <img src="/img/tutorial/body-nested-models/image01.png"> Você não conseguiria este tipo de suporte de editor se estivesse trabalhando diretamente com `dict` em vez de modelos Pydantic.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.2K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
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 Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.5K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0)