Searched refs:alloc_step (Results 1 – 2 of 2) sorted by relevance
52 size_t alloc_step = std::max(static_cast<size_t>(128), in ExpandBuf() local54 new_size += alloc_step - 1; // Quantize, don't combine these lines. in ExpandBuf()55 new_size /= alloc_step; in ExpandBuf()56 new_size *= alloc_step; in ExpandBuf()
27 void EstimateSize(size_t size, size_t alloc_step = 0);