MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / get_crc_table

Function get_crc_table

zlib/crc32.c:205–212  ·  view source on GitHub ↗

========================================================================= * This function can be used by asm versions of crc32() */

Source from the content-addressed store, hash-verified

203 * This function can be used by asm versions of crc32()
204 */
205const unsigned long FAR * ZEXPORT get_crc_table()
206{
207#ifdef DYNAMIC_CRC_TABLE
208 if (crc_table_empty)
209 make_crc_table();
210#endif /* DYNAMIC_CRC_TABLE */
211 return (const unsigned long FAR *)crc_table;
212}
213
214/* ========================================================================= */
215#define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)

Callers

nothing calls this directly

Calls 1

make_crc_tableFunction · 0.85

Tested by

no test coverage detected