@Test public void testUnaligned() { final byte[] bytes = "123456789".getBytes(ASCII); assertEquals(0xbfe92a83, NATIVE_CRC32C.calculate(bytes, 1, 8)); }
@Override public int calculate(long address, long length) { return nativeUnsafe(initial(), address, length, config); }
Sse42Crc32C extends AbstractIncrementalIntHash implements IncrementalIntHash { @Override public int calculate(long address, long length) { return nativeUnsafe(initial(), address, length, config); } }
Sse42Crc32C extends AbstractIncrementalIntHash implements IncrementalIntHash { @Override public int calculate(long address, long length) { return nativeUnsafe(initial(), address, length, config); } Sse42Crc32C();   Sse42Crc32C(int chunkWords[]); }
Sse42Crc32C extends AbstractIncrementalIntHash implements IncrementalIntHash { @Override public int calculate(long address, long length) { return nativeUnsafe(initial(), address, length, config); } Sse42Crc32C();   Sse42Crc32C(int chunkWords[]); static boolean isSupported(); @Override String algorithm(); @Override int length(); @Override boolean supportsUnsafe(); @Override int calculate(long address, long length); @Override int resume(int current, ByteBuffer input); @Override int resume(int current, long address, long length); }
Sse42Crc32C extends AbstractIncrementalIntHash implements IncrementalIntHash { @Override public int calculate(long address, long length) { return nativeUnsafe(initial(), address, length, config); } Sse42Crc32C();   Sse42Crc32C(int chunkWords[]); static boolean isSupported(); @Override String algorithm(); @Override int length(); @Override boolean supportsUnsafe(); @Override int calculate(long address, long length); @Override int resume(int current, ByteBuffer input); @Override int resume(int current, long address, long length);  }