Searched refs:capacity_ (Results 1 – 2 of 2) sorted by relevance
55 : size_(0), capacity_(0), hashtab_(NULL) in Gdb_hashtab()60 for (size_t i = 0; i < this->capacity_; ++i) in ~Gdb_hashtab()71 if (4 * this->size_ / 3 >= this->capacity_) in add()92 { return this->capacity_; } in capacity()105 unsigned int index = symbol->hash() & (this->capacity_ - 1); in find_slot()106 unsigned int step = ((symbol->hash() * 17) & (this->capacity_ - 1)) | 1; in find_slot()113 index = (index + step) & (this->capacity_ - 1); in find_slot()121 if (this->capacity_ == 0) in expand()124 this->capacity_ = Gdb_hashtab::initial_size; in expand()125 this->hashtab_ = new T*[this->capacity_]; in expand()[all …]
523 : capacity_(0), used_(0), hash_table_(NULL), section_table_(), in Dwp_index()553 { return this->capacity_; } in hash_table_total_slots()591 unsigned int capacity_; member in gold::Dwp_output_file::Dwp_index1734 if (this->capacity_ == 0) in find_or_add()1737 static_cast<unsigned int>(signature) & (this->capacity_ - 1); in find_or_add()1744 & (this->capacity_ - 1)) | 1; in find_or_add()1747 slot = (slot + secondary_hash) & (this->capacity_ - 1); in find_or_add()1762 gold_assert(slot < this->capacity_); in enter_set()1780 if (this->used_ * 3 > this->capacity_ * 2) in enter_set()1789 this->capacity_ = 16; in initialize()[all …]