- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testAgainstSimplerImplementation (0.15 sec)
-
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
assertCrc(0xE3069283, "123456789".getBytes(UTF_8)); assertCrc(0xf3dbd4fe, "1234567890".getBytes(UTF_8)); assertCrc(0xBFE92A83, "23456789".getBytes(UTF_8)); } public void testAgainstSimplerImplementation() { Random r = new Random(1234567); for (int length = 0; length < 1000; length++) { byte[] bytes = new byte[length]; r.nextBytes(bytes); assertCrc(referenceCrc(bytes), bytes);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
assertCrc(0xE3069283, "123456789".getBytes(UTF_8)); assertCrc(0xf3dbd4fe, "1234567890".getBytes(UTF_8)); assertCrc(0xBFE92A83, "23456789".getBytes(UTF_8)); } public void testAgainstSimplerImplementation() { Random r = new Random(1234567); for (int length = 0; length < 1000; length++) { byte[] bytes = new byte[length]; r.nextBytes(bytes); assertCrc(referenceCrc(bytes), bytes);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.5K bytes - Viewed (0)