- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CRC (0.01 sec)
-
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
} 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. * * @param expectedCrc the expected crc value. * @param data the data to run the checksum on. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/Hashing.java
return javaUtilZip; } catch (ClassNotFoundException runningUnderJava8) { return ABSTRACT_HASH_FUNCTION; } } } /** * 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 * HashCode} produced by this function, use {@link HashCode#padToLong()}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:06:57 UTC 2025 - 31.1K bytes - Viewed (0)