Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 226 for modAlt (0.35 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/extra-models.md

    # Extra Models { #extra-models }
    
    Continuing with the previous example, it will be common to have more than one related model.
    
    This is especially the case for user models, because:
    
    * The **input model** needs to be able to have a password.
    * The **output model** should not have a password.
    * The **database model** would probably need to have a hashed password.
    
    /// danger
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/cookie-param-models.md

    # Cookie Parameter Models { #cookie-parameter-models }
    
    If you have a group of **cookies** that are related, you can create a **Pydantic model** to declare them. 🍪
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-nested-models.md

    ## 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 }
    
    For example, we can define an `Image` model:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. module.xml

    			<url url="${repo.url}/${module.groupId}/${module.name.prefix}${module.name}/${module.version}/${module.name.prefix}${module.name}-${module.zip.version}.zip" />
    		</get>
    		<unzip dest="${modules.dir}/${module.name}" src="${target.dir}/${module.name.prefix}${module.name}-${module.zip.version}.zip">
    			<patternset>
    				<include name="**" />
    			</patternset>
    			<cutdirsmapper dirs="1" />
    		</unzip>
    	</target>
    
    	<target name="remove.jars" if="with.fess">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. guava/module.json

    {
      "formatVersion": "1.1",
      "component": {
        "group": "${pom.groupId}",
        "module": "${pom.artifactId}",
        "version": "${pom.version}",
        "attributes": {
          "org.gradle.status": "${module.status}"
        }
      },
      "createdBy": {
        "maven": {
          "version": "${maven.version}",
          "buildId": "${maven.build.version}"
        }
      },
      "variants": [
        {
          "name": "${variant.jvmEnvironmentVariantName}ApiElements",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Mar 19 16:59:18 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-param-models.md

    # Query Parameter Models { #query-parameter-models }
    
    If you have a group of **query parameters** that are related, you can create a **Pydantic model** to declare them.
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. guava-testlib/src/module-info.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /** Guava Testlib */
    module com.google.common.testlib {
      requires java.logging;
      requires transitive com.google.common;
      requires transitive junit;
      requires static com.google.errorprone.annotations;
      requires static com.google.j2objc.annotations;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 01 21:16:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top