Home
last modified time | relevance | path

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

/memcached-1.4.29/
H A Dstats.c32 #define PREFIX_HASH_SIZE 256 macro
34 static PREFIX_STATS *prefix_stats[PREFIX_HASH_SIZE];
49 for (i = 0; i < PREFIX_HASH_SIZE; i++) { in stats_prefix_clear()
86 hashval = hash(key, length) % PREFIX_HASH_SIZE; in stats_prefix_find()
194 for (i = 0; i < PREFIX_HASH_SIZE; i++) { in stats_prefix_dump()
298 int hashval = hash("abc", 3) % PREFIX_HASH_SIZE; in test_prefix_dump()
332 for (keynum = 0; keynum < PREFIX_HASH_SIZE * 100; keynum++) { in test_prefix_dump()
334 if (hashval == hash(tmp, strlen(tmp)) % PREFIX_HASH_SIZE) { in test_prefix_dump()