Home
last modified time | relevance | path

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

/external/v8/src/
Dutils-inl.h13 template<typename T, int growth_factor, int max_growth>
14 void Collector<T, growth_factor, max_growth>::Reset() { in Reset()
Dutils.h467 template <typename T, int growth_factor = 2, int max_growth = 1 * MB>
572 DCHECK(growth_factor > 1);
577 new_capacity = min_capacity * growth_factor;
580 int growth = current_length * (growth_factor - 1);
619 template <typename T, int growth_factor = 2, int max_growth = 1 * MB>
620 class SequenceCollector : public Collector<T, growth_factor, max_growth> {
623 : Collector<T, growth_factor, max_growth>(initial_capacity),
652 this->Collector<T, growth_factor, max_growth>::Reset();
663 this->Collector<T, growth_factor, max_growth>::NewChunk(new_capacity);
/external/bison/lib/
Dhash.h61 float growth_factor; /* ratio of new bigger size to original size */ member
Dhash.c528 && 1 + epsilon < tuning->growth_factor in check_tuning()
1075 ? (table->n_buckets * tuning->growth_factor) in hash_insert_if_absent()
1076 : (table->n_buckets * tuning->growth_factor in hash_insert_if_absent()