Lines Matching refs:CRC32ByteArray

157   private static long CRC32ByteArray(byte[] bytes, int off, int len) {  in CRC32ByteArray()  method in Main
165 private static long CRC32ByteArray(byte[] bytes) { in CRC32ByteArray() method in Main
226 assertEqual(0L, CRC32ByteArray(new byte[] {})); in TestCRC32UpdateBytes()
227 assertEqual(0L, CRC32ByteArray(new byte[] {}, 0, 0)); in TestCRC32UpdateBytes()
228 assertEqual(0L, CRC32ByteArray(new byte[] {0}, 0, 0)); in TestCRC32UpdateBytes()
229 assertEqual(0L, CRC32ByteArray(new byte[] {0}, 1, 0)); in TestCRC32UpdateBytes()
230 assertEqual(0L, CRC32ByteArray(new byte[] {0, 0}, 1, 0)); in TestCRC32UpdateBytes()
247 assertEqual(CRC32Byte(0), CRC32ByteArray(new byte[] {0})); in TestCRC32UpdateBytes()
248 assertEqual(CRC32Byte(0), CRC32ByteArray(new byte[] {0}, 0, 1)); in TestCRC32UpdateBytes()
249 assertEqual(CRC32Byte(1), CRC32ByteArray(new byte[] {1})); in TestCRC32UpdateBytes()
250 assertEqual(CRC32Byte(1), CRC32ByteArray(new byte[] {1}, 0, 1)); in TestCRC32UpdateBytes()
251 assertEqual(CRC32Byte(0x0f), CRC32ByteArray(new byte[] {0x0f})); in TestCRC32UpdateBytes()
252 assertEqual(CRC32Byte(0x0f), CRC32ByteArray(new byte[] {0x0f}, 0, 1)); in TestCRC32UpdateBytes()
253 assertEqual(CRC32Byte(0xff), CRC32ByteArray(new byte[] {-1})); in TestCRC32UpdateBytes()
254 assertEqual(CRC32Byte(0xff), CRC32ByteArray(new byte[] {-1}, 0, 1)); in TestCRC32UpdateBytes()
256 CRC32ByteArray(new byte[] {0, 0, 0})); in TestCRC32UpdateBytes()
258 CRC32ByteArray(new byte[] {0, 0, 0}, 0, 3)); in TestCRC32UpdateBytes()
260 CRC32ByteArray(new byte[] {1, 1, 1})); in TestCRC32UpdateBytes()
262 CRC32ByteArray(new byte[] {1, 1, 1}, 0, 3)); in TestCRC32UpdateBytes()
264 CRC32ByteArray(new byte[] {0x0f, 0x0f, 0x0f})); in TestCRC32UpdateBytes()
266 CRC32ByteArray(new byte[] {0x0f, 0x0f, 0x0f}, 0, 3)); in TestCRC32UpdateBytes()
268 CRC32ByteArray(new byte[] {-1, -1, -1})); in TestCRC32UpdateBytes()
270 CRC32ByteArray(new byte[] {-1, -1, -1}, 0, 3)); in TestCRC32UpdateBytes()
272 CRC32ByteArray(new byte[] {1, 2})); in TestCRC32UpdateBytes()
274 CRC32ByteArray(new byte[] {1, 2}, 0, 2)); in TestCRC32UpdateBytes()
277 CRC32ByteArray(new byte[] {0, -1, Byte.MIN_VALUE, Byte.MAX_VALUE})); in TestCRC32UpdateBytes()
280 CRC32ByteArray(new byte[] {0, -1, Byte.MIN_VALUE, Byte.MAX_VALUE}, 0, 4)); in TestCRC32UpdateBytes()
315 CRC32ByteArray(bytes)); in TestCRC32UpdateBytes()
317 CRC32ByteArray(bytes, 0, 8 * 1024)); in TestCRC32UpdateBytes()
322 CRC32ByteArray(bytes, off, len)); in TestCRC32UpdateBytes()
329 CRC32ByteArray(bytes, o, l)); in TestCRC32UpdateBytes()
335 CRC32ByteArray(bytes, 0, len - 1)); in TestCRC32UpdateBytes()
337 CRC32ByteArray(bytes, 0, len)); in TestCRC32UpdateBytes()
339 CRC32ByteArray(bytes, 0, len + 1)); in TestCRC32UpdateBytes()
344 CRC32ByteArray(bytes, off, len)); in TestCRC32UpdateBytes()