Home
last modified time | relevance | path

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

/external/v8/src/
Dutils-inl.h36 template<typename T, int growth_factor, int max_growth>
37 void Collector<T, growth_factor, max_growth>::Reset() { in Reset()
Dutils.h522 template <typename T, int growth_factor = 2, int max_growth = 1 * MB>
627 ASSERT(growth_factor > 1); in Grow()
632 new_capacity = min_capacity * growth_factor; in Grow()
635 int growth = current_length * (growth_factor - 1); in Grow()
674 template <typename T, int growth_factor = 2, int max_growth = 1 * MB>
675 class SequenceCollector : public Collector<T, growth_factor, max_growth> {
678 : Collector<T, growth_factor, max_growth>(initial_capacity), in SequenceCollector()
707 this->Collector<T, growth_factor, max_growth>::Reset(); in Reset()
718 this->Collector<T, growth_factor, max_growth>::NewChunk(new_capacity); in NewChunk()
/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()