- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,687 for hashcode (0.13 sec)
-
guava/src/com/google/common/hash/HashCode.java
* byte-based hashcode. Otherwise it returns {@link HashCode#asBytes}. Do <i>not</i> mutate this * array or else you will break the immutability contract of {@code HashCode}. */ byte[] getBytesInternal() { return asBytes(); } /** * Returns whether this {@code HashCode} and that {@code HashCode} have the same value, given that
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
* byte-based hashcode. Otherwise it returns {@link HashCode#asBytes}. Do <i>not</i> mutate this * array or else you will break the immutability contract of {@code HashCode}. */ byte[] getBytesInternal() { return asBytes(); } /** * Returns whether this {@code HashCode} and that {@code HashCode} have the same value, given that
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 12.6K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashCode.java
* This implementation also requires GC to track two separate objects (the {@code HashCode} object and its {@code byte[]}). * <p> * Because Gradle uses a lot of MD5 hashes, for 128-bit hashes we have a more efficient implementation. * {@link HashCode128} uses two longs to store the bits of the hash, and does not need to cache the {@link #hashCode()} either.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 14 19:25:07 UTC 2023 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
bytesB[4] = (byte) 0xef; HashCode hashCodeA = HashCode.fromBytes(bytesA); HashCode hashCodeB = HashCode.fromBytes(bytesB); // They aren't equal... assertFalse(hashCodeA.equals(hashCodeB)); // But they still have the same Object#hashCode() value. // Technically not a violation of the equals/hashCode contract, but...? assertEquals(hashCodeA.hashCode(), hashCodeB.hashCode()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 13.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/DefaultHashingClassLoaderFactory.java
HashCode hashCode = implementationHash != null ? implementationHash : calculateClassLoaderHash(classPath); ClassLoader classLoader = super.doCreateClassLoader(name, parent, classPath); hashCodes.put(classLoader, hashCode); return classLoader; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/DefaultResourceSnapshotterCacheService.java
private static final HashCode NO_HASH = Hashing.signature(CachingResourceHasher.class.getName() + " : no hash"); private final IndexedCache<HashCode, HashCode> indexedCache; public DefaultResourceSnapshotterCacheService(IndexedCache<HashCode, HashCode> indexedCache) { this.indexedCache = indexedCache; } @Nullable @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 10 13:47:15 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultBuildCacheKey.java
import org.gradle.internal.hash.HashCode; public class DefaultBuildCacheKey implements BuildCacheKeyInternal { private final HashCode hashCode; public DefaultBuildCacheKey(HashCode hashCode) { this.hashCode = hashCode; } @Override public String getHashCode() { return hashCode.toString(); } @Override public HashCode getHashCodeInternal() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:58 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/SimpleBuildCacheKey.java
package org.gradle.caching.internal; import org.gradle.internal.hash.HashCode; public class SimpleBuildCacheKey implements BuildCacheKeyInternal { private final HashCode hashCode; public SimpleBuildCacheKey(HashCode hashCode) { this.hashCode = hashCode; } @Override public HashCode getHashCodeInternal() { return hashCode; } @Override public String getHashCode() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:58 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/testFixtures/groovy/org/gradle/caching/internal/TestBuildCacheKey.groovy
import org.gradle.internal.hash.HashCode import org.gradle.internal.hash.TestHashCodes class TestBuildCacheKey implements BuildCacheKeyInternal { private final HashCode hashCode TestBuildCacheKey(long hashCode) { this(TestHashCodes.hashCodeFrom(hashCode)) } TestBuildCacheKey(HashCode hashCode) { this.hashCode = hashCode } @Override String getHashCode() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 16:15:24 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/AbiExtractingClasspathResourceHasher.java
@Nullable @Override HashCode handle(RegularFileSnapshot fileSnapshot, IoFunction<RegularFileSnapshot, HashCode> function) throws IOException { return function.apply(fileSnapshot); } @Nullable @Override HashCode handle(ZipEntryContent zipEntry, IoFunction<ZipEntryContent, HashCode> function) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 6.4K bytes - Viewed (0)