Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Ddictobject.c391 #define ESTIMATE_SIZE(n) (((n)*3+1) >> 1) macro
1265 Py_ssize_t minsize = ESTIMATE_SIZE(minused); in _PyDict_NewPresized()
1823 if (dictresize(mp, ESTIMATE_SIZE(PyDict_GET_SIZE(iterable)))) { in _PyDict_FromKeys()
1842 if (dictresize(mp, ESTIMATE_SIZE(PySet_GET_SIZE(iterable)))) { in _PyDict_FromKeys()
2400 if (dictresize(mp, ESTIMATE_SIZE(mp->ma_used + other->ma_used))) { in dict_merge()