Constants§
- BYTE_
EXTENSION_ TABLE - CRC32XOR
- | CRCs are pre- and post- conditioned | by xoring with all ones. |
- MASK_
DELTA - STRIDE_
EXTENSION_ TABL E0 - STRIDE_
EXTENSION_ TABL E1 - STRIDE_
EXTENSION_ TABL E2 - STRIDE_
EXTENSION_ TABL E3
Functions§
- crc32c_
can_ accelerate - | Determine if the CPU running this program | can accelerate the CRC32C calculation. |
- crc32c_
extend - | Return the crc32c of concat(A, data[0,n-1]) | where init_crc is the crc32c of some string A. | Extend() is often used to maintain the crc32c | of a stream of data.
- crc32c_
mask - | Return a masked representation of crc. | | Motivation: it is problematic to compute the | CRC of a string that contains embedded CRCs. | Therefore we recommend that CRCs stored | somewhere (e.g., in files) should be masked | before being stored.
- crc32c_
read_ uint32le - | Reads a little-endian 32-bit integer | from a 32-bit-aligned buffer. |
- crc32c_
round_ up - | Returns the smallest address >= the given | address that is aligned to N bytes. | | N must be a power of two.
- crc32c_
unmask - | Return the crc whose masked representation | is masked_crc. |
- crc32c_
value - | Return the crc32c of data[0,n-1] |