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

Function crcspeed16native

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

Source from the content-addressed store, hash-verified

259}
260
261uint16_t crcspeed16native(uint16_t table[8][256], uint16_t crc, void *buf,
262 size_t len) {
263 uint64_t n = 1;
264
265 return *(char *)&n ? crcspeed16little(table, crc, buf, len)
266 : crcspeed16big(table, crc, buf, len);
267}
268
269/* Initialize CRC lookup table in architecture-dependent manner. */
270void crcspeed64native_init(crcfn64 fn, uint64_t table[8][256]) {

Callers

nothing calls this directly

Calls 2

crcspeed16littleFunction · 0.85
crcspeed16bigFunction · 0.85

Tested by

no test coverage detected