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

Function run_hash_func_tests

dpdk/app/test/test_hash_functions.c:266–280  ·  view source on GitHub ↗

* Run all functional tests for hash functions */

Source from the content-addressed store, hash-verified

264 * Run all functional tests for hash functions
265 */
266static int
267run_hash_func_tests(void)
268{
269 if (verify_precalculated_hash_func_tests() != 0)
270 return -1;
271
272 if (verify_jhash_32bits() != 0)
273 return -1;
274
275 if (verify_jhash_words() != 0)
276 return -1;
277
278 return 0;
279
280}
281
282static int
283test_hash_functions(void)

Callers 1

test_hash_functionsFunction · 0.70

Calls 3

verify_jhash_32bitsFunction · 0.85
verify_jhash_wordsFunction · 0.85

Tested by

no test coverage detected