Searched refs:minused (Results 1 – 7 of 7) sorted by relevance
125 PyAPI_FUNC(PyObject *) _PyDict_NewPresized(Py_ssize_t minused);
705 minused = len(sample)706 if minused == 0: tmp = 1709 minused = minused*2711 while newsize <= minused:
587 dictresize(PyDictObject *mp, Py_ssize_t minused) in dictresize() argument595 assert(minused >= 0); in dictresize()599 newsize <= minused && newsize > 0; in dictresize()675 _PyDict_NewPresized(Py_ssize_t minused) in _PyDict_NewPresized() argument679 if (minused>5 && op != NULL && dictresize((PyDictObject *)op, minused) == -1) { in _PyDict_NewPresized()
275 set_table_resize(PySetObject *so, Py_ssize_t minused) in set_table_resize() argument283 assert(minused >= 0); in set_table_resize()287 newsize <= minused && newsize > 0; in set_table_resize()
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()
274 set_table_resize(PySetObject *so, Py_ssize_t minused) in set_table_resize() argument282 assert(minused >= 0); in set_table_resize()286 newsize <= minused && newsize > 0; in set_table_resize()