Lines Matching refs:table_size
63 const size_t table_size = CalcTableSize(source_size_); in Init() local
64 if (table_size == 0) { in Init()
71 hash_table_mask_ = static_cast<uint32_t>(table_size - 1); in Init()
72 hash_table_.resize(table_size, -1); in Init()
116 size_t table_size = 1; in CalcTableSize() local
119 while (table_size < min_size) { in CalcTableSize()
120 table_size <<= 1; in CalcTableSize()
122 if (table_size <= 0) { in CalcTableSize()
125 << "): resulting table_size " << table_size in CalcTableSize()
131 if ((table_size & (table_size - 1)) != 0) { in CalcTableSize()
134 << "): resulting table_size " << table_size in CalcTableSize()
141 if ((dictionary_size > 0) && (table_size > (min_size * 2))) { in CalcTableSize()
144 << "): resulting table_size " << table_size in CalcTableSize()
148 return table_size; in CalcTableSize()