Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 248 for modAlt (0.04 sec)

  1. 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
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  2. 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)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  3. 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 }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/response-model.md

    Cuando veas la documentación automática, puedes verificar que el modelo de entrada y el modelo de salida tendrán cada uno su propio JSON Schema:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    Y ambos modelos se utilizarán para la documentación interactiva de la API:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Otras Anotaciones de Tipos de Retorno { #other-return-type-annotations }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  5. 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 }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. 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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/extra-models.md

    # Дополнительные модели { #extra-models }
    
    В продолжение прошлого примера будет уже обычным делом иметь несколько связанных между собой моделей.
    
    Это особенно применимо в случае моделей пользователя, потому что:
    
    * **Модель для ввода** должна иметь возможность содержать пароль.
    * **Модель для вывода** не должна содержать пароль.
    * **Модель для базы данных**, возможно, должна содержать хэшированный пароль.
    
    /// danger | Внимание
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. 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)
  9. 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": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/response-model.md

    В автоматической документации вы увидите, что у входной и выходной моделей есть свои JSON Schema:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    И обе модели используются в интерактивной документации API:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Другие аннотации возвращаемых типов { #other-return-type-annotations }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 25.8K bytes
    - Viewed (0)
Back to top