- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,861 for hashv (0.06 sec)
-
src/cmd/compile/internal/coverage/cover.go
} hv[i] = byte(x) } // Return hash and meta-data len return hv, base.Flag.Cfg.CoverageInfo.MetaLen } func registerMeta(cnames names, hashv [16]byte, mdlen int) { // Materialize expression for hash (an array literal) pos := cnames.InitFn.Pos() elist := make([]ir.Node, 0, 16) for i := 0; i < 16; i++ { elem := ir.NewInt(base.Pos, int64(hashv[i])) elist = append(elist, elem) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:46 UTC 2024 - 6K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/PropertiesFileAwareClasspathResourceHasherTest.groovy
def hash1 = unfilteredHasher.hash(propertiesEntry1) def hash2 = unfilteredHasher.hash(propertiesEntry2) def hash3 = filteredHasher.hash(propertiesEntry1) def hash4 = filteredHasher.hash(propertiesEntry2) expect: hash1 != hash2 hash2 != hash4 hash3 != hash4 hash1 != hash3 where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 15.6K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/MetaInfAwareClasspathResourceHasherTest.groovy
def hash1 = unfilteredHasher.hash(manifestEntry1) def hash2 = unfilteredHasher.hash(manifestEntry2) def hash3 = hasher.hash(manifestEntry1) def hash4 = hasher.hash(manifestEntry2) then: hash1 != hash2 hash3 != hash4 and: hash1 == hash3 hash2 == hash4 when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 16.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go
"sort" "strings" ) // DefaultHash is the default hash function used in new go.sum entries. var DefaultHash Hash = Hash1 // A Hash is a directory hash function. // It accepts a list of files along with a function that opens the content of each file. // It opens, reads, hashes, and closes each file and returns the overall directory hash. type Hash func(files []string, open func(string) (io.ReadCloser, error)) (string, error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:59:52 UTC 2023 - 4K bytes - Viewed (0) -
pkg/util/hash/hash_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 27 01:24:22 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashingTest.groovy
then: hash2 == hash1 } def 'hasher works without calling final hash method'() { given: def value = ('a'..'z').join() when: def hasher1 = Hashing.newHasher() hasher1.putString(value) def hash = hasher1.hash() and: def hasher2 = Hashing.newHasher() hasher2.putString(value) // no call to hasher2.hash()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:43:29 UTC 2023 - 3.3K bytes - Viewed (0) -
src/cmd/go/internal/cache/hash.go
} h.Write(hashSalt) if verify { h.buf = new(bytes.Buffer) } return h } // Write writes data to the running hash. func (h *Hash) Write(b []byte) (int, error) { if debugHash { fmt.Fprintf(os.Stderr, "HASH[%s]: %q\n", h.name, b) } if h.buf != nil { h.buf.Write(b) } return h.h.Write(b) } // Sum returns the hash of the data written previously.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 14 16:18:34 UTC 2021 - 4.9K bytes - Viewed (0) -
pkg/util/hash/hash.go
limitations under the License. */ package hash import ( "fmt" "hash" "k8s.io/apimachinery/pkg/util/dump" ) // DeepHashObject writes specified object to hash using the spew library // which follows pointers and prints actual values of the nested objects // ensuring the hash does not change when a pointer changes. func DeepHashObject(hasher hash.Hash, objectToWrite interface{}) { hasher.Reset()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 27 01:24:22 UTC 2023 - 998 bytes - Viewed (0) -
src/hash/hash.go
// Package hash provides interfaces for hash functions. package hash import "io" // Hash is the common interface implemented by all hash functions. // // Hash implementations in the standard library (e.g. [hash/crc32] and // [crypto/sha256]) implement the [encoding.BinaryMarshaler] and // [encoding.BinaryUnmarshaler] interfaces. Marshaling a hash implementation
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 19:15:34 UTC 2023 - 2.1K bytes - Viewed (0) -
pkg/util/hash/hash.go
// limitations under the License. package hash import ( "encoding/hex" "github.com/cespare/xxhash/v2" ) type Hash interface { Write(p []byte) (n int) WriteString(s string) (n int) Sum() string Sum64() uint64 } type instance struct { hash *xxhash.Digest } var _ Hash = &instance{} func New() Hash { return &instance{ hash: xxhash.New(), } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 21 20:24:14 UTC 2023 - 1.4K bytes - Viewed (0)