/external/v8/src/ |
collector.h | 24 template <typename T, int growth_factor = 2, int max_growth = 1 * MB> 134 DCHECK(growth_factor > 1); 139 new_capacity = min_capacity * growth_factor; 142 int growth = current_length * (growth_factor - 1); 180 template <typename T, int growth_factor = 2, int max_growth = 1 * MB> 181 class SequenceCollector : public Collector<T, growth_factor, max_growth> { 184 : Collector<T, growth_factor, max_growth>(initial_capacity), 213 this->Collector<T, growth_factor, max_growth>::Reset(); 224 this->Collector<T, growth_factor, max_growth>::NewChunk(new_capacity);
|
/external/bison/lib/ |
hash.h | 61 float growth_factor; /* ratio of new bigger size to original size */ member in struct:hash_tuning
|
hash.c | 528 && 1 + epsilon < tuning->growth_factor [all...] |
/frameworks/native/cmds/dumpstate/ |
dumpstate.h | 130 Progress(int32_t initial_max, float growth_factor, 132 Progress(int32_t initial_max, int32_t progress, float growth_factor); // Used by test cases.
|
utils.cpp | 147 Progress::Progress(int32_t initial_max, int32_t progress, float growth_factor) 148 : Progress(initial_max, growth_factor, "") { 152 Progress::Progress(int32_t initial_max, float growth_factor, const std::string& path) 156 growth_factor_(growth_factor), [all...] |
/frameworks/native/cmds/dumpstate/tests/ |
dumpstate_test.cpp | 587 Progress GetInstance(int32_t max, double growth_factor, const std::string& path = "") { 588 return Progress(max, growth_factor, path); [all...] |