HomeSort by: relevance | last modified time | path
    Searched defs:HASHFRACTION (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/sys/
gmon.h 66 * The value of HASHFRACTION is based on the minimum number of bytes
69 * HASHFRACTION is calculated as:
71 * HASHFRACTION = MIN_SUBR_SEPARATION / (2 * sizeof(short) - 1);
78 * which is separated by only three bytes, thus HASHFRACTION is
81 * HASHFRACTION = 3 / (2 * 2 - 1) = 1
87 * distance. Hence, we will define HASHFRACTION to be 2 across all
92 #define HASHFRACTION 2
133 u_long hashfraction; member in struct:gmonparam
  /src/usr.bin/config/
hash.c 82 * HASHFRACTION controls ht_lim, which in turn controls the average chain
86 #define HASHFRACTION(sz) ((sz) * 3 / 2)
108 ht->ht_lim = HASHFRACTION(sz);
138 ht->ht_lim = HASHFRACTION(n);

Completed in 11 milliseconds