Lines Matching defs:table_size
62 const size_t table_size = CalcTableSize(source_size_);
63 if (table_size == 0) {
68 // Since table_size is a power of 2, (table_size - 1) is a bit mask
69 // containing all the bits below table_size.
70 hash_table_mask_ = static_cast<uint32_t>(table_size - 1);
71 hash_table_.resize(table_size, -1);
115 size_t table_size = 1;
117 // that value to table_size.
118 while (table_size < min_size) {
119 table_size <<= 1;
121 if (table_size <= 0) {
124 << "): resulting table_size " << table_size
130 if ((table_size & (table_size - 1)) != 0) {
133 << "): resulting table_size " << table_size
139 // except for the case (dictionary_size == 0, table_size == 1).
140 if ((dictionary_size > 0) && (table_size > (min_size * 2))) {
143 << "): resulting table_size " << table_size
147 return table_size;