Searched refs:minused (Results 1 – 8 of 8) sorted by relevance
721 minused = len(sample)722 if minused == 0: tmp = 1725 minused = minused*2727 while newsize <= minused:
129 PyAPI_FUNC(PyObject *) _PyDict_NewPresized(Py_ssize_t minused);
1100 minused = len(sample)1101 if minused == 0: tmp = 11104 minused = minused*21106 while newsize <= minused:
114 PyAPI_FUNC(PyObject *) _PyDict_NewPresized(Py_ssize_t minused);
598 dictresize(PyDictObject *mp, Py_ssize_t minused) in dictresize() argument606 assert(minused >= 0); in dictresize()610 newsize <= minused && newsize > 0; in dictresize()686 _PyDict_NewPresized(Py_ssize_t minused) in _PyDict_NewPresized() argument690 if (minused>5 && op != NULL && dictresize((PyDictObject *)op, minused) == -1) { in _PyDict_NewPresized()
271 set_table_resize(PySetObject *so, Py_ssize_t minused) in set_table_resize() argument279 assert(minused >= 0); in set_table_resize()283 newsize <= minused && newsize > 0; in set_table_resize()
303 set_table_resize(PySetObject *so, Py_ssize_t minused) in set_table_resize() argument311 assert(minused >= 0); in set_table_resize()316 while (newsize <= (size_t)minused) { in set_table_resize()
236 static int dictresize(PyDictObject *mp, Py_ssize_t minused);1251 _PyDict_NewPresized(Py_ssize_t minused) in _PyDict_NewPresized() argument1261 if (minused > USABLE_FRACTION(max_presize)) { in _PyDict_NewPresized()1265 Py_ssize_t minsize = ESTIMATE_SIZE(minused); in _PyDict_NewPresized()