6 extern const uint32_t crc32_table
[256];
8 /* Return a 32-bit CRC of the contents of the buffer. */
10 static inline uint32_t
11 crc32(uint32_t val
, const void *ss
, int len
)
13 const unsigned char *s
= ss
;
15 val
= crc32_table
[(val
^ *s
++) & 0xff] ^ (val
>> 8);
This page took 0.046866 seconds and 5 git commands to generate.