- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 667 for Nash (0.38 sec)
-
android/guava/src/com/google/common/hash/Hasher.java
* following three expressions all generate colliding hash codes: * * <pre>{@code * newHasher().putByte(b1).putByte(b2).putByte(b3).hash() * newHasher().putByte(b1).putBytes(new byte[] { b2, b3 }).hash() * newHasher().putBytes(new byte[] { b1, b2, b3 }).hash() * }</pre> * * <p>If you wish to avoid this, you should either prepend or append the size of each chunk. Keep in
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 5.5K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
type BitrotAlgorithm uint const ( // SHA256 represents the SHA-256 hash function SHA256 BitrotAlgorithm = 1 + iota // HighwayHash256 represents the HighwayHash-256 hash function HighwayHash256 // HighwayHash256S represents the Streaming HighwayHash-256 hash function HighwayHash256S // BLAKE2b512 represents the BLAKE2b-512 hash function BLAKE2b512 )
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/PairwiseEquivalence.java
} } return !iteratorA.hasNext() && !iteratorB.hasNext(); } @Override protected int doHash(Iterable<T> iterable) { int hash = 78721; for (T element : iterable) { hash = hash * 24943 + elementEquivalence.hash(element); } return hash; } @Override public boolean equals(@CheckForNull Object object) { if (object instanceof PairwiseEquivalence) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Objects.java
return a == b || (a != null && a.equals(b)); } /** * Generates a hash code for multiple values. The hash code is generated by calling {@link * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a * single Object array, do not get any special handling; their hash codes are based on identity * and not contents. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 2.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
} } else { assertEquals(expectedHashCode.asLong.longValue(), hash.asLong()); } assertEquals(expectedHashCode.toString, hash.toString()); assertSideEffectFree(hash); assertReadableBytes(hash); } private static void assertSideEffectFree(HashCode hash) { byte[] original = hash.asBytes(); byte[] mutated = hash.asBytes(); mutated[0]++;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13.1K bytes - Viewed (0) -
internal/hash/sha256/sh256_fips.go
//go:build fips // +build fips package sha256 import ( fipssha256 "crypto/sha256" "hash" ) // New returns a new hash.Hash computing the SHA256 checksum. // The SHA256 implementation is FIPS 140-2 compliant when the // boringcrypto branch of Go is used. // Ref: https://github.com/golang/go/tree/dev.boringcrypto func New() hash.Hash { return fipssha256.New() } // Sum256 returns the SHA256 checksum of the data.
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Aug 29 23:57:16 GMT 2022 - 1.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java
int hash = 17; hash = hash * 31 + CacheUtils.pluginHashCode(plugin); hash = hash * 31 + Objects.hashCode(workspace); hash = hash * 31 + Objects.hashCode(localRepo); hash = hash * 31 + RepositoryUtils.repositoriesHashCode(repositories); hash = hash * 31 + Objects.hashCode(parentRealm); hash = hash * 31 + this.foreignImports.hashCode();
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 7.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
try { tester.addEquivalenceGroup(group1Item1, group1Item2).test(); } catch (AssertionFailedError expected) { String expectedMessage = "the hash (1) of TestObject{group=1, item=1} [group 1, item 1] must be " + "equal to the hash (2) of TestObject{group=1, item=2} [group 1, item 2]"; if (!expected.getMessage().contains(expectedMessage)) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
try { tester.addEquivalenceGroup(group1Item1, group1Item2).test(); } catch (AssertionFailedError expected) { String expectedMessage = "the hash (1) of TestObject{group=1, item=1} [group 1, item 1] must be " + "equal to the hash (2) of TestObject{group=1, item=2} [group 1, item 2]"; if (!expected.getMessage().contains(expectedMessage)) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
if (key == null) { return null; } int hash = hash(key); return segmentFor(hash).get(key, hash); } @CanIgnoreReturnValue // TODO(b/27479612): consider removing this V get(K key, CacheLoader<? super K, V> loader) throws ExecutionException { int hash = hash(checkNotNull(key)); return segmentFor(hash).get(key, hash, loader); } @CheckForNull
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 150.3K bytes - Viewed (0)