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

Function write_table

zlib/crc32.c:183–192  ·  view source on GitHub ↗
(out, table)

Source from the content-addressed store, hash-verified

181
182#ifdef MAKECRCH
183local void write_table(out, table)
184 FILE *out;
185 const unsigned long FAR *table;
186{
187 int n;
188
189 for (n = 0; n < 256; n++)
190 fprintf(out, "%s0x%08lxUL%s", n % 5 ? "" : " ", table[n],
191 n == 255 ? "\n" : (n % 5 == 4 ? ",\n" : ", "));
192}
193#endif /* MAKECRCH */
194
195#else /* !DYNAMIC_CRC_TABLE */

Callers 1

make_crc_tableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected