MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / write_table

Function write_table

ZLib/crc32.c:167–177  ·  view source on GitHub ↗
(out, table)

Source from the content-addressed store, hash-verified

165
166#ifdef MAKECRCH
167local void write_table(out, table)
168 FILE *out;
169 const z_crc_t FAR *table;
170{
171 int n;
172
173 for (n = 0; n < 256; n++)
174 fprintf(out, "%s0x%08lxUL%s", n % 5 ? "" : " ",
175 (unsigned long)(table[n]),
176 n == 255 ? "\n" : (n % 5 == 4 ? ",\n" : ", "));
177}
178#endif /* MAKECRCH */
179
180#else /* !DYNAMIC_CRC_TABLE */

Callers 1

make_crc_tableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected