Searched refs:OVERALLOCATE_FACTOR (Results 1 – 2 of 2) sorted by relevance
3242 # define OVERALLOCATE_FACTOR 2 macro3245 # define OVERALLOCATE_FACTOR 4 macro3339 && allocated <= (PY_SSIZE_T_MAX - allocated / OVERALLOCATE_FACTOR)) { in _PyBytesWriter_Resize()3341 allocated += allocated / OVERALLOCATE_FACTOR; in _PyBytesWriter_Resize()
208 # define OVERALLOCATE_FACTOR 2 macro211 # define OVERALLOCATE_FACTOR 414125 && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) { in _PyUnicodeWriter_PrepareInternal()14127 newlen += newlen / OVERALLOCATE_FACTOR; in _PyUnicodeWriter_PrepareInternal()14138 && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) { in _PyUnicodeWriter_PrepareInternal()14140 newlen += newlen / OVERALLOCATE_FACTOR; in _PyUnicodeWriter_PrepareInternal()14175 #undef OVERALLOCATE_FACTOR in _PyUnicodeWriter_PrepareInternal()