Searched refs:DEFAULT_EXPANSION_RATIO (Results 1 – 1 of 1) sorted by relevance
28 #define DEFAULT_EXPANSION_RATIO 2 macro50 if (!IsBufferValid(object) || object->maxSize > MAX_BUFFER_LEN / DEFAULT_EXPANSION_RATIO) { in CapacityExpansion()55 while (targetSize < targetCapacity && targetSize <= MAX_BUFFER_LEN / DEFAULT_EXPANSION_RATIO) { in CapacityExpansion()56 targetSize = targetSize * DEFAULT_EXPANSION_RATIO; in CapacityExpansion()