- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Crc32cHashFunction (0.08 sec)
-
android/guava/src/com/google/common/hash/Crc32cHashFunction.java
* polynomial for this checksum is {@code 0x11EDC6F41}. * * @author Kurt Alfred Kluever */ @Immutable final class Crc32cHashFunction extends AbstractHashFunction { static final HashFunction CRC_32_C = new Crc32cHashFunction(); @Override public int bits() { return 32; } @Override public Hasher newHasher() { return new Crc32cHasher(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
assertCrc(referenceCrc(bytes), bytes); } } private static int referenceCrc(byte[] bytes) { int crc = ~0; for (byte b : bytes) { crc = (crc >>> 8) ^ Crc32cHashFunction.Crc32cHasher.byteTable[(crc ^ b) & 0xFF]; } return ~crc; } /** * Verifies that the crc of an array of byte data matches the expected value. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* href="https://en.wikipedia.org/wiki/Hash_function">hash function</a>. * * @since 18.0 */ public static HashFunction crc32c() { return Crc32cHashFunction.CRC_32_C; } /** * Returns a hash function implementing the CRC-32 checksum algorithm (32 hash bits). * * <p>To get the {@code long} value equivalent to {@link Checksum#getValue()} for a {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/Hashing.java
public HashFunction get() { return ChecksumType.CRC_32C.hashFunction; } }, ABSTRACT_HASH_FUNCTION { @Override public HashFunction get() { return Crc32cHashFunction.CRC_32_C; } }; static final HashFunction HASH_FUNCTION = pickFunction().get(); private static Crc32CSupplier pickFunction() { Crc32CSupplier[] functions = values();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:06:57 UTC 2025 - 31.1K bytes - Viewed (0)