Searched refs:table_length_ (Results 1 – 5 of 5) sorted by relevance
278 if (used_items_ / 8 > table_length_ / 10) in TryToAddURL()323 memset(hash_table_, 0, this->table_length_ * sizeof(Fingerprint)); in DeleteAllURLs()385 if (!hash_table_ || table_length_ == 0) { in AddFingerprint()439 if (!hash_table_ || table_length_ == 0) { in DeleteFingerprint()524 header[2] = table_length_; in WriteFullTable()531 hash_table_, table_length_ * sizeof(Fingerprint)); in WriteFullTable()692 table_length_ = num_entries; in CreateURLTable()696 header->length = table_length_; in CreateURLTable()709 int32 old_table_length = table_length_; in BeginReplaceURLTable()714 table_length_ = old_table_length; in BeginReplaceURLTable()[all …]
308 return static_cast<float>(used_items_) / static_cast<float>(table_length_); in ComputeTableLoad()330 if (hash >= table_length_ - 1) in IncrementHash()336 return table_length_ - 1; // Wrap around. in DecrementHash()435 for (int32 i = 0; i < table_length_; i++) { in DebugValidate()
78 *table_size = table_length_; in GetUsageStatistics()120 return HashFingerprint(fingerprint, table_length_); in HashFingerprint()127 int32 table_length_; variable
20 table_length_(0) { in VisitedLinkCommon()33 if (!hash_table_ || table_length_ == 0) in IsVisited()58 if (cur_hash == table_length_) in IsVisited()
70 table_length_ = table_len; in OnUpdateVisitedLinks()89 table_length_ = 0; in FreeTable()