Searched refs:crc (Results 1 – 3 of 3) sorted by relevance
156 long crc = INITIALCRC; in crc64Long() local158 crc = sCrcTable[(((int) crc) ^ buffer[k]) & 0xff] ^ (crc >> 8); in crc64Long()160 return crc; in crc64Long()
184 long crc = crc32.getValue(); in getCrcFromBytes() local187 result[offset] = (byte) (crc & 0xFF); in getCrcFromBytes()188 crc >>= 8; in getCrcFromBytes()
2101 int crc = 0xffffffff; in checkSanity() local2103 int index = ((crc >> 24) ^ (b & 0xff)) & 0xff; in checkSanity()2104 crc = CRC_TABLE[index] ^ (crc << 8); in checkSanity()2106 if (crc != 0) { in checkSanity()