Lines Matching refs:size
38 /* We make the size of the hash table a power of 2. This allows for two
43 Hash_Table::Hash_Table (unsigned int size, bool ignore_length)
48 size = size * size_factor;
50 /* Find smallest power of 2 that is >= size. */
52 if ((size >> 16) > 0)
54 size = size >> 16;
57 if ((size >> 8) > 0)
59 size = size >> 8;
62 if ((size >> 4) > 0)
64 size = size >> 4;
67 if ((size >> 2) > 0)
69 size = size >> 2;
72 if ((size >> 1) > 0)
74 size = size >> 1;