- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 148 for modAlt (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/data-usage-cache.go
return cycles == 1 } return uint32(xxhash.Sum64String(string(h)))%cycles == cycle%cycles } // modAlt returns true if the hash mod cycles == cycle. // This is out of sync with mod. // If cycles is 0 false is always returned. // If cycles is 1 true is always returned (as expected). func (h dataUsageHash) modAlt(cycle uint32, cycles uint32) bool { if cycles <= 1 { return cycles == 1 }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
cmd/data-scanner.go
objectName: path.Base(entName), debug: f.dataUsageScannerDebug, lifeCycle: activeLifeCycle, replication: replicationCfg, } item.heal.enabled = thisHash.modAlt(f.oldCache.Info.NextCycle/folder.objectHealProbDiv, f.healObjectSelect/folder.objectHealProbDiv) && f.shouldHeal() item.heal.bitrot = f.scanMode == madmin.HealDeepScan sz, err := f.getSize(item)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 45.5K bytes - Click Count (0) -
docs/pt/docs/tutorial/response-model.md
Quando você vê a documentação automática, pode verificar se o modelo de entrada e o modelo de saída terão seus próprios esquemas JSON: <img src="/img/tutorial/response-model/image01.png"> E ambos os modelos serão usados para a documentação interativa da API: <img src="/img/tutorial/response-model/image02.png"> ## Outras anotações de tipo de retorno { #other-return-type-annotations }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 17.3K bytes - Click Count (0) -
docs/de/docs/tutorial/response-model.md
## `response_model`-Parameter { #response-model-parameter } Es gibt Fälle, da möchten oder müssen Sie Daten zurückgeben, die nicht genau dem entsprechen, was der Typ deklariert.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 17.5K bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
## See it in the docs { #see-it-in-the-docs } When you see the automatic docs, you can check that the input model and output model will both have their own JSON Schema: <img src="/img/tutorial/response-model/image01.png"> And both models will be used for the interactive API documentation: <img src="/img/tutorial/response-model/image02.png"> ## Other Return Type Annotations { #other-return-type-annotations }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 15.5K bytes - Click Count (0) -
docs/ru/docs/tutorial/extra-models.md
# Дополнительные модели { #extra-models } В продолжение прошлого примера будет уже обычным делом иметь несколько связанных между собой моделей. Это особенно применимо в случае моделей пользователя, потому что: * **Модель для ввода** должна иметь возможность содержать пароль. * **Модель для вывода** не должна содержать пароль. * **Модель для базы данных**, возможно, должна содержать хэшированный пароль. /// danger | ВниманиеCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 11.5K 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 Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 11.5K bytes - Click Count (0) -
tests/test_response_model_as_return_annotation.py
}, } }, "/response_model_model1-annotation_model2-return_same_model": { "get": { "summary": "Response Model Model1 Annotation Model2 Return Same Model", "operationId": "response_model_model1_annotation_model2_return_same_model_response_model_model1_annotation_model2_return_same_model_get", "responses": {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 47.7K bytes - Click Count (0) -
docs/pt/docs/tutorial/sql-databases.md
### Criar Múltiplos Modelos { #create-multiple-models } No **SQLModel**, qualquer classe de modelo que tenha `table=True` é um **modelo de tabela**. E qualquer classe de modelo que não tenha `table=True` é um **modelo de dados**, esses são na verdade apenas modelos Pydantic (com alguns recursos extras pequenos). 🤓Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 16.9K bytes - Click Count (0) -
docs/uk/docs/tutorial/body-nested-models.md
## Підтримка в редакторі всюди Ви отримаєте підтримку в редакторі всюди. Навіть для елементів у списках: <img src="/img/tutorial/body-nested-models/image01.png"> Ви не змогли б отримати таку підтримку в редакторі, якби працювали напряму зі `dict`, а не з моделями Pydantic.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Feb 28 14:18:01 GMT 2025 - 10.8K bytes - Click Count (0)