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

Function test_jhash_32b

dpdk/app/test/test_hash.c:1617–1621  ·  view source on GitHub ↗

* Wrapper function around rte_jhash_32b. * It is required because rte_jhash_32b() accepts the length * as size of 4-byte units. */

Source from the content-addressed store, hash-verified

1615 * as size of 4-byte units.
1616 */
1617static inline uint32_t
1618test_jhash_32b(const void *k, uint32_t length, uint32_t initval)
1619{
1620 return rte_jhash_32b(k, length >> 2, initval);
1621}
1622
1623/*
1624 * add/delete key with jhash2

Callers

nothing calls this directly

Calls 1

rte_jhash_32bFunction · 0.50

Tested by

no test coverage detected