Home
last modified time | relevance | path

Searched refs:minused (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_sys.py721 minused = len(sample)
722 if minused == 0: tmp = 1
725 minused = minused*2
727 while newsize <= minused:
/external/python/cpython2/Include/
Ddictobject.h129 PyAPI_FUNC(PyObject *) _PyDict_NewPresized(Py_ssize_t minused);
/external/python/cpython3/Lib/test/
Dtest_sys.py1100 minused = len(sample)
1101 if minused == 0: tmp = 1
1104 minused = minused*2
1106 while newsize <= minused:
/external/python/cpython3/Include/
Ddictobject.h114 PyAPI_FUNC(PyObject *) _PyDict_NewPresized(Py_ssize_t minused);
/external/python/cpython2/Objects/
Ddictobject.c598 dictresize(PyDictObject *mp, Py_ssize_t minused) in dictresize() argument
606 assert(minused >= 0); in dictresize()
610 newsize <= minused && newsize > 0; in dictresize()
686 _PyDict_NewPresized(Py_ssize_t minused) in _PyDict_NewPresized() argument
690 if (minused>5 && op != NULL && dictresize((PyDictObject *)op, minused) == -1) { in _PyDict_NewPresized()
Dsetobject.c271 set_table_resize(PySetObject *so, Py_ssize_t minused) in set_table_resize() argument
279 assert(minused >= 0); in set_table_resize()
283 newsize <= minused && newsize > 0; in set_table_resize()
/external/python/cpython3/Objects/
Dsetobject.c303 set_table_resize(PySetObject *so, Py_ssize_t minused) in set_table_resize() argument
311 assert(minused >= 0); in set_table_resize()
316 while (newsize <= (size_t)minused) { in set_table_resize()
Ddictobject.c236 static int dictresize(PyDictObject *mp, Py_ssize_t minused);
1251 _PyDict_NewPresized(Py_ssize_t minused) in _PyDict_NewPresized() argument
1261 if (minused > USABLE_FRACTION(max_presize)) { in _PyDict_NewPresized()
1265 Py_ssize_t minsize = ESTIMATE_SIZE(minused); in _PyDict_NewPresized()