MCPcopy Create free account
hub / github.com/F-Stack/f-stack / crcspeed64native_init

Function crcspeed64native_init

app/redis-6.2.6/src/crcspeed.c:270–275  ·  view source on GitHub ↗

Initialize CRC lookup table in architecture-dependent manner. */

Source from the content-addressed store, hash-verified

268
269/* Initialize CRC lookup table in architecture-dependent manner. */
270void crcspeed64native_init(crcfn64 fn, uint64_t table[8][256]) {
271 uint64_t n = 1;
272
273 *(char *)&n ? crcspeed64little_init(fn, table)
274 : crcspeed64big_init(fn, table);
275}
276
277void crcspeed16native_init(crcfn16 fn, uint16_t table[8][256]) {
278 uint64_t n = 1;

Callers 1

crc64_initFunction · 0.85

Calls 2

crcspeed64little_initFunction · 0.85
crcspeed64big_initFunction · 0.85

Tested by

no test coverage detected