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

Function get_crc8

dpdk/app/test/test_atomic.c:371–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369}
370
371static uint8_t
372get_crc8(uint8_t *message, int length)
373{
374 uint8_t crc = 0;
375 int i;
376
377 for (i = 0; i < length; i++)
378 crc = crc8_table[crc ^ message[i]];
379 return crc;
380}
381
382/*
383 * The atomic exchange test sets up a token in memory and

Callers 2

test_atomic_exchangeFunction · 0.85
test_atomicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected