Searched defs:new_capacity (Results 1 – 3 of 3) sorted by relevance
100 const size_t new_capacity = array->capacity + (array->capacity / 2); in grow() local
244 ssize_t VectorImpl::setCapacity(size_t new_capacity) in setCapacity()285 const size_t new_capacity = max(kMinVectorCapacity, ((new_size*3)+1)/2); in _grow() local338 const size_t new_capacity = max(kMinVectorCapacity, new_size*2); in _shrink() local
326 ssize_t VectorImpl::setCapacity(size_t new_capacity) in setCapacity()378 const size_t new_capacity = max(kMinVectorCapacity, ((new_size*3)+1)/2); in _grow() local437 const size_t new_capacity = max(kMinVectorCapacity, new_size*2); in _shrink() local