Home
last modified time | relevance | path

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

/external/chromium_org/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.h530 template <typename T, int growth_factor = 2, int max_growth = 1 * MB>
635 ASSERT(growth_factor > 1);
640 new_capacity = min_capacity * growth_factor;
643 int growth = current_length * (growth_factor - 1);
682 template <typename T, int growth_factor = 2, int max_growth = 1 * MB>
683 class SequenceCollector : public Collector<T, growth_factor, max_growth> {
686 : Collector<T, growth_factor, max_growth>(initial_capacity),
715 this->Collector<T, growth_factor, max_growth>::Reset();
726 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()