Home | History | Annotate | Download | only in common

Lines Matching full:capacity

144      *               must be no more than the capacity of the old array,
196 * Provides an internal array with fixed capacity. Can alias another array
211 MaybeStackArray() : ptr(stackArray), capacity(stackCapacity), needToRelease(FALSE) {}
217 * Returns the array capacity (number of T items).
218 * @return array capacity
220 int32_t getCapacity() const { return capacity; }
230 T *getArrayLimit() const { return getAlias()+capacity; }
254 capacity=otherCapacity;
263 * @param newCapacity can be less than or greater than the current capacity;
274 * and capacity of the clone when cloning
275 * @param resultCapacity will be set to the returned array's capacity (output-only)
283 int32_t capacity;
319 if(length>capacity) {
320 length=capacity;
329 capacity=newCapacity;
346 if(length>capacity) {
347 length=capacity;
357 capacity=stackCapacity;
365 * Provides internal memory with fixed array capacity. Can alias another memory
378 MaybeStackHeaderAndArray() : ptr(&stackHeader), capacity(stackCapacity), needToRelease(FALSE) {}
384 * Returns the array capacity (number of T items).
385 * @return array capacity
387 int32_t getCapacity() const { return capacity; }
402 T *getArrayLimit() const { return getArrayStart()+capacity; }
426 capacity=otherCapacity;
436 * @param newCapacity can be less than or greater than the current capacity;
447 * and array capacity of the clone when cloning
448 * @param resultCapacity will be set to the returned array's capacity (output-only)
456 int32_t capacity;
492 if(length>capacity) {
493 length=capacity;
502 capacity=newCapacity;
520 } else if(length>capacity) {
521 length=capacity;
531 capacity=stackCapacity;