Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 500 for hasX (0.16 sec)

  1. cmd/xl-storage-format-utils.go

    	return crc
    }
    
    // hashDeterministicBytes will return a deterministic (weak) hash for the map values.
    // Trivial collisions are avoided, but this is by no means a strong hash.
    func hashDeterministicBytes(m map[string][]byte) uint64 {
    	crc := uint64(0x1bbc7e1dde654743)
    	for k, v := range m {
    		crc ^= (xxh3.HashString(k) ^ 0x4ee3bbaf7ab2506b) + (xxh3.Hash(v) ^ 0x8da4c8da66194257)
    	}
    	return crc
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt

                        FileUpToDateStatus.Removed -> "file '${displayNameOf(file)}' has been removed"
                        FileUpToDateStatus.TypeChanged -> "file '${displayNameOf(file)}' has been replaced by a directory"
                        FileUpToDateStatus.Unchanged -> null
                    }
                }
                is ConfigurationCacheFingerprint.DirectoryChildren -> input.run {
                    if (hasDirectoryChanged(file, hash)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprint.kt

            val fileSystemInputsFingerprint: HashCode
        ) : ConfigurationCacheFingerprint()
    
        data class InputFile(
            val file: File,
            val hash: HashCode
        ) : ConfigurationCacheFingerprint()
    
        data class DirectoryChildren(
            val file: File,
            val hash: HashCode
        ) : ConfigurationCacheFingerprint()
    
        data class InputFileSystemEntry(
            val file: File,
            val fileType: FileType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt

                    )
                ),
                equalTo("file 'displayNameOf(scriptFile)' has changed")
            )
        }
    
        @Test
        fun `build input file has been removed`() {
            val inputFile = File("input.txt")
            // no need to match a missing file hash, as long it is changed from the original one
            val missingFileHash = TestHashCodes.hashCodeFrom(2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/crypto/sha3/sha3.go

    	return
    }
    
    // Sum applies padding to the hash state and then squeezes out the desired
    // number of output bytes. It panics if any output has already been read.
    func (d *state) Sum(in []byte) []byte {
    	if d.state != spongeAbsorbing {
    		panic("sha3: Sum after Read")
    	}
    
    	// Make a copy of the original hash so that caller can keep writing
    	// and summing.
    	dup := d.clone()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

            output.count("files 2: [lib1.jar.hash, lib2.jar.hash, lib3.jar.hash, lib4-1.0.jar.hash]") == 2
            output.count("artifacts 2: [lib1.jar.hash (project :lib), lib2.jar.hash (project :lib), lib3.jar.hash (lib3.jar), lib4-1.0.jar.hash (org.test.foo:lib4:1.0)]") == 2
            output.count("components 2: [project :lib, project :lib, lib3.jar, org.test.foo:lib4:1.0]") == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  7. pkg/kubelet/container/helpers.go

    	}
    	return true
    }
    
    // HashContainer returns the hash of the container. It is used to compare
    // the running container with its desired spec.
    // Note: remember to update hashValues in container_hash_test.go as well.
    func HashContainer(container *v1.Container) uint64 {
    	hash := fnv.New32a()
    	containerJSON, _ := json.Marshal(pickFieldsToHash(container))
    	hashutil.DeepHashObject(hash, containerJSON)
    	return uint64(hash.Sum32())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils.go

    		owner = false
    	}
    
    	return cred, owner, ErrNone
    }
    
    // sumHMAC calculate hmac between two input byte array.
    func sumHMAC(key []byte, data []byte) []byte {
    	hash := hmac.New(sha256.New, key)
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    // extractSignedHeaders extract signed headers from Authorization header
    func extractSignedHeaders(signedHeaders []string, r *http.Request) (http.Header, APIErrorCode) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

    import org.gradle.internal.configuration.problems.StructuredMessage
    import org.gradle.internal.cc.base.logger
    import org.gradle.internal.hash.HashCode
    import org.gradle.internal.hash.Hashing
    import org.gradle.internal.hash.HashingOutputStream
    import org.gradle.internal.problems.failure.Failure
    import org.gradle.internal.service.scopes.Scope
    import org.gradle.internal.service.scopes.ServiceScope
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. cmd/erasure-healing-common.go

    //                             returned by diskWithAllParts is passed for latestDisks.
    //    - has an old copy of xl.meta
    //    - doesn't have xl.meta (errFileNotFound)
    //    - has the latest xl.meta but one or more parts are corrupt
    //
    // 5. __missingParts__       - has the latest copy of xl.meta but has some parts
    // missing.  This is identified separately since this may need manual
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top