Lines Matching defs:new_len
59 * \param keep_prev 1: use length and do not expand the vector; 0: compute new_len and expand
68 Index new_len; // New size of the allocated memory
71 new_len = length ; // First time allocate requested
73 new_len = (std::max)(length+1,Index(alpha * length));
84 vec.resize(new_len);
101 return new_len;
110 new_len = (std::max)(length+1,Index(alpha * length));
115 vec.resize(new_len);
124 if ( tries > 10) return new_len;
134 length = new_len;