Home | History | Annotate | Download | only in src

Lines Matching defs:table_size

63   const size_t table_size = CalcTableSize(source_size_);
64 if (table_size == 0) {
69 // Since table_size is a power of 2, (table_size - 1) is a bit mask
70 // containing all the bits below table_size.
71 hash_table_mask_ = static_cast<uint32_t>(table_size - 1);
72 hash_table_.resize(table_size, -1);
116 size_t table_size = 1;
118 // that value to table_size.
119 while (table_size < min_size) {
120 table_size <<= 1;
122 if (table_size <= 0) {
125 << "): resulting table_size " << table_size
131 if ((table_size & (table_size - 1)) != 0) {
134 << "): resulting table_size " << table_size
140 // except for the case (dictionary_size == 0, table_size == 1).
141 if ((dictionary_size > 0) && (table_size > (min_size * 2))) {
144 << "): resulting table_size " << table_size
148 return table_size;