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

Function evict_from_bucket

dpdk/lib/member/rte_member_ht.c:379–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379static inline int
380evict_from_bucket(void)
381{
382 /* For now, we randomly pick one entry to evict */
383 return rte_rand() & (RTE_MEMBER_BUCKET_ENTRIES - 1);
384}
385
386/*
387 * This function is similar to the cuckoo hash make_space function in hash

Callers 1

rte_member_add_htFunction · 0.85

Calls 1

rte_randFunction · 0.85

Tested by

no test coverage detected