- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,606 for Hashing (0.14 sec)
-
guava/src/com/google/common/hash/HashFunction.java
* array. This hashing API accepts an arbitrary sequence of byte and multibyte values (via * {@link Hasher}), but this is merely a convenience; these are always translated into raw * byte sequences under the covers. * <li><b>hash code:</b> each hash function always yields hash codes of the same fixed bit length * (given by {@link #bits}). For example, {@link Hashing#sha1} produces a 160-bit number,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 25 18:22:59 UTC 2021 - 10.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/initialization/loadercache/FileClasspathHasher.groovy
import org.gradle.internal.classpath.ClassPath import org.gradle.internal.hash.HashCode import org.gradle.internal.hash.Hashing /** * Creates snapshot based on file paths. */ class FileClasspathHasher implements ClasspathHasher { @Override HashCode hash(ClassPath classpath) { def hasher = Hashing.newHasher() classpath.asFiles*.path.each { String path -> hasher.putString(path) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 18 07:07:38 UTC 2018 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
} if (hashTableKToV.length < minCapacity) { int newTableSize = Hashing.closedTableSize(minCapacity, 1.0); hashTableKToV = createFilledWithAbsent(newTableSize); hashTableVToK = createFilledWithAbsent(newTableSize); for (int entryToRehash = 0; entryToRehash < size; entryToRehash++) { int keyHash = Hashing.smearedHash(keys[entryToRehash]); int keyBucket = bucket(keyHash);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 36.4K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/IgnoringResourceHasher.java
* limitations under the License. */ package org.gradle.api.internal.changedetection.state; import org.gradle.internal.fingerprint.hashing.RegularFileSnapshotContext; import org.gradle.internal.fingerprint.hashing.ResourceHasher; import org.gradle.internal.fingerprint.hashing.ZipEntryContext; import org.gradle.internal.hash.HashCode; import org.gradle.internal.hash.Hasher; import javax.annotation.Nullable;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
} public void testHash_hashesCorrectly() throws Exception { byte[] buf = new byte[] {'y', 'a', 'm', 's'}; HashCode expectedHash = Hashing.md5().hashBytes(buf); HashingOutputStream out = new HashingOutputStream(Hashing.md5(), buffer); out.write(buf); assertEquals(expectedHash, out.hash()); } public void testChecksForNull() throws Exception {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 02 16:24:50 UTC 2020 - 3.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/SplitResourceSnapshotterCacheService.java
package org.gradle.api.internal.changedetection.state; import org.gradle.cache.GlobalCacheLocations; import org.gradle.internal.fingerprint.hashing.FileSystemLocationSnapshotHasher; import org.gradle.internal.fingerprint.hashing.RegularFileSnapshotContextHasher; import org.gradle.internal.fingerprint.hashing.RegularFileSnapshotContext; import org.gradle.internal.hash.HashCode; import org.gradle.internal.snapshot.FileSystemLocationSnapshot;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jul 06 18:44:49 UTC 2021 - 2.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpArtifact.groovy
sha1File.assertIsFile() assert HashCode.fromString(sha1File.text) == Hashing.sha1().hashFile(getFile()) } if (server.supportsHash(HttpServer.SupportedHash.MD5)) { def md5File = getMd5File() md5File.assertIsFile() assert HashCode.fromString(md5File.text) == Hashing.md5().hashFile(getFile()) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/LineEndingNormalizingInputStreamHasher.java
* returns an empty {@link Optional} object. Non-ASCII encodings (e.g. UTF-16) are treated as binary files. */ public class LineEndingNormalizingInputStreamHasher { private static final HashCode SIGNATURE = Hashing.signature(LineEndingNormalizingInputStreamHasher.class); private static final int BUFFER_SIZE = 8192; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/BloomFilterStrategies.java
} if (!bits.get(combinedHash % bitSize)) { return false; } } return true; } }, /** * This strategy uses all 128 bits of {@link Hashing#murmur3_128} when hashing. It looks different * from the implementation in MURMUR128_MITZ_32 because we're avoiding the multiplication in the * loop and doing a (much simpler) += hash2. We're also changing the index to a positive number by
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 10.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/verification/DependencyVerificationFixture.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:42:50 UTC 2024 - 14.8K bytes - Viewed (0)