"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "crc32c.h" between
memcached-1.6.8.tar.gz and memcached-1.6.9.tar.gz

About: memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load.

crc32c.h  (memcached-1.6.8):crc32c.h  (memcached-1.6.9)
skipping to change at line 19 skipping to change at line 19
// Return the CRC-32C of buf[0..len-1] given the starting CRC crc. This can be // Return the CRC-32C of buf[0..len-1] given the starting CRC crc. This can be
// used to calculate the CRC of a sequence of bytes a chunk at a time, using // used to calculate the CRC of a sequence of bytes a chunk at a time, using
// the previously returned crc in the next call. The first call must be with // the previously returned crc in the next call. The first call must be with
// crc == 0. crc32c() uses the Intel crc32 hardware instruction if available. // crc == 0. crc32c() uses the Intel crc32 hardware instruction if available.
typedef uint32_t (*crc_func)(uint32_t crc, const void *buf, size_t len); typedef uint32_t (*crc_func)(uint32_t crc, const void *buf, size_t len);
extern crc_func crc32c; extern crc_func crc32c;
void crc32c_init(void); void crc32c_init(void);
// Expose a prototype for the crc32c software variant simply for testing purpose
s
uint32_t crc32c_sw(uint32_t crc, void const *buf, size_t len);
#endif /* CRC32C_H */ #endif /* CRC32C_H */
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)