Searched refs:SHRINKFACTOR (Results 1 - 1 of 1) sorted by last modified time

/macosx-10.9.5/CF-855.17/
H A DCFString.c622 /* Basic algorithm is to shrink memory when capacity is SHRINKFACTOR times the required capacity or to allocate memory when the capacity is less than GROWFACTOR times the required capacity. This function will return -1 if the new capacity is just too big (> LONG_MAX).
629 #define SHRINKFACTOR(c) (c / 2) macro
641 ((reqCapacity < SHRINKFACTOR(capacity)) || /* ...we have too much room! */

Completed in 141 milliseconds