Home
last modified time | relevance | path

Searched refs:PREFIX_HASH_SIZE (Results 1 – 3 of 3) sorted by relevance

/memcached-1.6.32/
Dstats_prefix.c10 static PREFIX_STATS *prefix_stats[PREFIX_HASH_SIZE];
24 for (i = 0; i < PREFIX_HASH_SIZE; i++) { in stats_prefix_clear()
56 hashval = hash(key, length) % PREFIX_HASH_SIZE; in stats_prefix_find()
153 for (i = 0; i < PREFIX_HASH_SIZE; i++) { in stats_prefix_dump()
Dstats_prefix.h40 #define PREFIX_HASH_SIZE 256 macro
Dtestapp.c308 int hashval = hash("abc", 3) % PREFIX_HASH_SIZE; in test_stats_prefix_dump()
352 for (keynum = 0; keynum < PREFIX_HASH_SIZE * 100; keynum++) { in test_stats_prefix_dump()
355 if (hashval == hash(tmp, strlen(tmp) - 1) % PREFIX_HASH_SIZE) { in test_stats_prefix_dump()