Lines Matching refs:CRC32ByteBuffer
347 private static long CRC32ByteBuffer(byte[] bytes, int off, int len) { in CRC32ByteBuffer() method in Main
356 assertEqual(0L, CRC32ByteBuffer(new byte[] {}, 0, 0)); in TestCRC32UpdateByteBuffer()
357 assertEqual(0L, CRC32ByteBuffer(new byte[] {0}, 0, 0)); in TestCRC32UpdateByteBuffer()
358 assertEqual(0L, CRC32ByteBuffer(new byte[] {0}, 1, 0)); in TestCRC32UpdateByteBuffer()
359 assertEqual(0L, CRC32ByteBuffer(new byte[] {0, 0}, 1, 0)); in TestCRC32UpdateByteBuffer()
361 assertEqual(CRC32Byte(0), CRC32ByteBuffer(new byte[] {0}, 0, 1)); in TestCRC32UpdateByteBuffer()
362 assertEqual(CRC32Byte(1), CRC32ByteBuffer(new byte[] {1}, 0, 1)); in TestCRC32UpdateByteBuffer()
363 assertEqual(CRC32Byte(0x0f), CRC32ByteBuffer(new byte[] {0x0f}, 0, 1)); in TestCRC32UpdateByteBuffer()
364 assertEqual(CRC32Byte(0xff), CRC32ByteBuffer(new byte[] {-1}, 0, 1)); in TestCRC32UpdateByteBuffer()
366 CRC32ByteBuffer(new byte[] {0, 0, 0}, 0, 3)); in TestCRC32UpdateByteBuffer()
368 CRC32ByteBuffer(new byte[] {1, 1, 1}, 0, 3)); in TestCRC32UpdateByteBuffer()
370 CRC32ByteBuffer(new byte[] {0x0f, 0x0f, 0x0f}, 0, 3)); in TestCRC32UpdateByteBuffer()
372 CRC32ByteBuffer(new byte[] {-1, -1, -1}, 0, 3)); in TestCRC32UpdateByteBuffer()
374 CRC32ByteBuffer(new byte[] {1, 2}, 0, 2)); in TestCRC32UpdateByteBuffer()
377 CRC32ByteBuffer(new byte[] {0, -1, Byte.MIN_VALUE, Byte.MAX_VALUE}, 0, 4)); in TestCRC32UpdateByteBuffer()
384 CRC32ByteBuffer(bytes, 0, 8 * 1024)); in TestCRC32UpdateByteBuffer()
389 CRC32ByteBuffer(bytes, off, len)); in TestCRC32UpdateByteBuffer()
396 CRC32ByteBuffer(bytes, o, l)); in TestCRC32UpdateByteBuffer()
402 CRC32ByteBuffer(bytes, 0, len - 1)); in TestCRC32UpdateByteBuffer()
404 CRC32ByteBuffer(bytes, 0, len)); in TestCRC32UpdateByteBuffer()
406 CRC32ByteBuffer(bytes, 0, len + 1)); in TestCRC32UpdateByteBuffer()
411 CRC32ByteBuffer(bytes, off, len)); in TestCRC32UpdateByteBuffer()