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

Function crcspeed16big_init

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

Source from the content-addressed store, hash-verified

95}
96
97void crcspeed16big_init(crcfn16 fn, uint16_t big_table[8][256]) {
98 /* Create the little endian table then reverse all the entries. */
99 crcspeed16little_init(fn, big_table);
100 for (int k = 0; k < 8; k++) {
101 for (int n = 0; n < 256; n++) {
102 big_table[k][n] = rev8(big_table[k][n]);
103 }
104 }
105}
106
107/* Calculate a non-inverted CRC multiple bytes at a time on a little-endian
108 * architecture. If you need inverted CRC, invert *before* calling and invert

Callers 1

crcspeed16native_initFunction · 0.85

Calls 2

crcspeed16little_initFunction · 0.85
rev8Function · 0.85

Tested by

no test coverage detected