filehash/ffdb_hash_func.c
unsigned int 
__ffdb_crc32_checksum (unsigned int crc, const unsigned char* buf, 
		       unsigned int len)
{
  crc ^= 0xffffffff;
  while (len--)
    crc = (crc >> 8) ^ _ffdb_crc_table[(crc ^ *buf++) & 0xff];
  return crc ^ 0xffffffff;
}
/**
   * Caculate crc32 checksum for a buffer with length len
   */
Caculate crc32 checksum for a buffer with length len
Caculate crc32 checksum for a buffer with length len
unsigned int 
__ffdb_crc32_checksum (unsigned int crc, const unsigned char* buf, 
		       unsigned int len)
{
  crc ^= 0xffffffff;
  while (len--)
    crc = (crc >> 8) ^ _ffdb_crc_table[(crc ^ *buf++) & 0xff];
  return crc ^ 0xffffffff;
}
unsigned int __ffdb_crc32_checksum ( unsigned int crc , const unsigned char * buf , unsigned int len ) { crc ^= 0xffffffff ; while ( len -- ) crc = ( crc >> 8 ) ^ _ffdb_crc_table [ ( crc ^ * buf ++ ) & 0xff ] ; return crc ^ 0xffffffff ; }
Caculate crc32 checksum for a buffer with length len
Caculate crc32 checksum for a buffer with length len