- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 405 for hashOf (0.1 sec)
-
android/guava/src/com/google/common/hash/Hasher.java
*/ @Beta @ElementTypesAreNonnullByDefault public interface Hasher extends PrimitiveSink { @CanIgnoreReturnValue @Override Hasher putByte(byte b); @CanIgnoreReturnValue @Override Hasher putBytes(byte[] bytes); @CanIgnoreReturnValue @Override Hasher putBytes(byte[] bytes, int off, int len); @CanIgnoreReturnValue @Override Hasher putBytes(ByteBuffer bytes); @CanIgnoreReturnValue
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/Hasher.java
*/ @Beta @ElementTypesAreNonnullByDefault public interface Hasher extends PrimitiveSink { @CanIgnoreReturnValue @Override Hasher putByte(byte b); @CanIgnoreReturnValue @Override Hasher putBytes(byte[] bytes); @CanIgnoreReturnValue @Override Hasher putBytes(byte[] bytes, int off, int len); @CanIgnoreReturnValue @Override Hasher putBytes(ByteBuffer bytes); @CanIgnoreReturnValue
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 5.5K 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) -
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) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hasher.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 11:14:18 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/ConfigurableClassLoaderHierarchyHasherTest.groovy
expect: hasher.getClassLoaderHash(runtimeLoader) == hashFor("system") } def "hashes unknown classloader"() { def unknownLoader = Mock(ClassLoader) expect: hasher.getClassLoaderHash(unknownLoader) == null } def "hashes hashed classloader"() { def hashedLoader = new DelegatingLoader(runtimeLoader) def hashedLoaderHash = TestHashCodes.hashCodeFrom(123456)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3K bytes - Viewed (0) -
pkg/util/hash/hash_test.go
if hash1a != hash1 { t.Errorf("repeated hash of the same object (%q) produced different results: %d vs %d", toString(tc()), hash1, hash1a) } if hash2a != hash2 { t.Errorf("repeated hash of the same object (%q) produced different results: %d vs %d", toString(tc()), hash2, hash2a) } if hash1a != hash2a { t.Errorf("hash of the same object produced (%q) different results: %d vs %d", toString(tc()), hash1a, hash2a) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 27 01:24:22 UTC 2023 - 4.4K 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) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ConfigurableClassLoaderHierarchyHasher.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashingTest.groovy
}*.join().toSet() then: hashes.size() == threadRange.size() } def 'null does not collide with other values'() { expect: def hasher = Hashing.newHasher() hasher.putNull() def hash = hasher.hash() hash != Hashing.hashString("abc") } def 'hash collision for bytes'() { def left = [[1, 2, 3], [4, 5]] def right = [[1, 2], [3, 4, 5]]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:43:29 UTC 2023 - 3.3K bytes - Viewed (0)