Home | History | Annotate | Download | only in common

Lines Matching full:capacity

145      *               must be no more than the capacity of the old array,
161 * Provides an internal array with fixed capacity. Can alias another array
172 MaybeStackArray() : needToRelease(FALSE), capacity(stackCapacity), ptr(stackArray) {}
178 * Returns the array capacity (number of T items).
179 * @return array capacity
181 int32_t getCapacity() const { return capacity; }
191 T *getArrayLimit() const { return getAlias()+capacity; }
215 capacity=otherCapacity;
224 * @param newCapacity can be less than or greater than the current capacity;
235 * and capacity of the clone when cloning
236 * @param resultCapacity will be set to the returned array's capacity (output-only)
244 int32_t capacity;
316 if(length>capacity) {
317 length=capacity;
326 capacity=newCapacity;
343 if(length>capacity) {
344 length=capacity;
354 capacity=stackCapacity;