- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 674 for reseed (0.39 seconds)
-
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() }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 77K bytes - Click Count (0) -
lib/fips140/v1.26.0.zip
*PrivateKey { fipsSelfTest() fips140.RecordApproved() var seed [32]byte drbg.Read(seed[:]) priv := newPrivateKey(&seed, params44) fipsPCT(priv) return priv } func GenerateKey65() *PrivateKey { fipsSelfTest() fips140.RecordApproved() var seed [32]byte drbg.Read(seed[:]) priv := newPrivateKey(&seed, params65) fipsPCT(priv) return priv } func GenerateKey87() *PrivateKey { fipsSelfTest() fips140.RecordApproved() var seed [32]byte drbg.Read(seed[:]) priv := newPrivateKey(&seed, params87) fipsPCT(priv)...Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
drbg.Generate(b[:size], additionalInput); reseedRequired { // See SP 800-90A Rev. 1, Section 9.3.1, Steps 6-8, as explained in // Section 9.3.2: if Generate reports a reseed is required, the // additional input is passed to Reseed along with the entropy and // then nulled before the next Generate call. entropy.Depleted(func(seed *[48]byte) { drbg.Reseed(seed, additionalInput) }) additionalInput = nil continue } b = b[size:] } } // DefaultReader is a sentinel type, embedded in the default // [crypto/rand.Reader],...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (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 { #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ónCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 7.2K bytes - Click Count (0) -
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] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 7.5K bytes - Click Count (0) -
docs/zh-hant/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] *} 這會讓 `tags` 成為一個列表,儘管尚未宣告列表元素的型別。 ## 具有型別參數的列表欄位 { #list-fields-with-type-parameter } 不過,Python 有一種專門的方式來宣告具有內部型別(「型別參數」)的列表: ### 宣告帶有型別參數的 `list` { #declare-a-list-with-a-type-parameter }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6.5K bytes - Click Count (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 }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.6K bytes - Click Count (0) -
docs/ja/docs/tutorial/body-nested-models.md
# ボディ - ネストされたモデル { #body-nested-models } **FastAPI** を使用すると、深くネストされた任意のモデルを定義、検証、文書化、使用することができます(Pydanticのおかげです)。 ## リストのフィールド { #list-fields } 属性をサブタイプとして定義することができます。例えば、Pythonの`list`: {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *} これにより、各項目の型は宣言されていませんが、`tags`はリストになります。 ## タイプパラメータを持つリストのフィールド { #list-fields-with-type-parameter } しかし、Pythonには内部の型、または「タイプパラメータ」を使ってリストを宣言するための特定の方法があります:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 8.6K bytes - Click Count (0) -
docs/uk/docs/tutorial/body-nested-models.md
# Тіло - Вкладені моделі { #body-nested-models } З **FastAPI** ви можете визначати, перевіряти, документувати та використовувати моделі, які можуть бути вкладені на будь-яку глибину (завдяки Pydantic). ## Поля списку { #list-fields } Ви можете визначити атрибут як підтип. Наприклад, Python-список (`list`): {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *} Це зробить `tags` списком, хоча не визначається тип елементів списку.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 10.3K bytes - Click Count (0) -
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] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 11.5K bytes - Click Count (0)