Searched refs:growth_factor (Results 1 – 3 of 3) sorted by relevance
/external/v8/src/ |
D | utils.h | 561 template <typename T, int growth_factor = 2, int max_growth = 1 * MB> 673 DCHECK(growth_factor > 1); 678 new_capacity = min_capacity * growth_factor; 681 int growth = current_length * (growth_factor - 1); 720 template <typename T, int growth_factor = 2, int max_growth = 1 * MB> 721 class SequenceCollector : public Collector<T, growth_factor, max_growth> { 724 : Collector<T, growth_factor, max_growth>(initial_capacity), 753 this->Collector<T, growth_factor, max_growth>::Reset(); 764 this->Collector<T, growth_factor, max_growth>::NewChunk(new_capacity);
|
/external/bison/lib/ |
D | hash.h | 61 float growth_factor; /* ratio of new bigger size to original size */ member
|
D | hash.c | 528 && 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()
|