Home
last modified time | relevance | path

Searched refs:table_length_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/visitedlink/
Dvisitedlink_master.cc292 if (used_items_ / 8 > table_length_ / 10) in TryToAddURL()
328 memset(hash_table_, 0, this->table_length_ * sizeof(Fingerprint)); in DeleteAllURLs()
386 if (!hash_table_ || table_length_ == 0) { in AddFingerprint()
440 if (!hash_table_ || table_length_ == 0) { in DeleteFingerprint()
526 header[2] = table_length_; in WriteFullTable()
533 hash_table_, table_length_ * sizeof(Fingerprint)); in WriteFullTable()
687 table_length_ = num_entries; in CreateURLTable()
691 header->length = table_length_; in CreateURLTable()
704 int32 old_table_length = table_length_; in BeginReplaceURLTable()
709 table_length_ = old_table_length; in BeginReplaceURLTable()
[all …]
Dvisitedlink_master.h267 return static_cast<float>(used_items_) / static_cast<float>(table_length_); in ComputeTableLoad()
289 if (hash >= table_length_ - 1) in IncrementHash()
295 return table_length_ - 1; // Wrap around. in DecrementHash()
380 for (int32 i = 0; i < table_length_; i++) { in DebugValidate()
/external/chromium/chrome/common/
Dvisitedlink_common.cc18 table_length_(0) { in VisitedLinkCommon()
31 if (!hash_table_ || table_length_ == 0) in IsVisited()
56 if (cur_hash == table_length_) in IsVisited()
Dvisitedlink_common.h77 *table_size = table_length_; in GetUsageStatistics()
119 return HashFingerprint(fingerprint, table_length_); in HashFingerprint()
126 int32 table_length_; variable