Lines Matching full:capacity
57 "1 byte elements have word-sized type for size and capacity");
63 std::string Reason = "SmallVector unable to grow. Requested capacity (" +
74 /// Report that this vector is already at maximum capacity. Throws
79 "SmallVector capacity unable to grow. Already at maximum size " +
93 // Ensure we can fit the new capacity.
94 // This is only going to be applicable when the capacity is 32 bit.
100 // default MinSize of 0, but the current capacity cannot be increased.
101 // This is only going to be applicable when the capacity is 32 bit.
105 // In theory 2*capacity can overflow if the capacity is 64 bit, but the
106 // original capacity would never be large enough for this to be a problem.
127 NewCapacity = getNewCapacity<Size_T>(MinSize, TSize, this->capacity());
128 // Even if capacity is not 0 now, if the vector was originally created with
129 // capacity 0, it's possible for the malloc to return FirstEl.
140 size_t NewCapacity = getNewCapacity<Size_T>(MinSize, TSize, this->capacity());