Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Ddictobject.h48 #define PyDict_MINSIZE 8 macro
88 PyDictEntry ma_smalltable[PyDict_MINSIZE];
/external/python/cpython3/Objects/
Ddictobject.c111 #define PyDict_MINSIZE 8 macro
544 assert(size >= PyDict_MINSIZE); in new_keys_object()
564 if (size == PyDict_MINSIZE && numfreekeys > 0) { in new_keys_object()
601 if (keys->dk_size == PyDict_MINSIZE && numfreekeys < PyDict_MAXFREELIST) { in free_keys_object()
1141 PyDictKeysObject *newkeys = new_keys_object(PyDict_MINSIZE); in insert_to_emptydict()
1156 size_t hashpos = (size_t)hash & (PyDict_MINSIZE-1); in insert_to_emptydict()
1206 for (newsize = PyDict_MINSIZE; in dictresize()
1277 if (oldkeys->dk_size == PyDict_MINSIZE && in dictresize()
1346 if (minused <= USABLE_FRACTION(PyDict_MINSIZE)) { in _PyDict_NewPresized()
1358 newsize = PyDict_MINSIZE*2; in _PyDict_NewPresized()
[all …]
/external/python/cpython2/Objects/
Ddictobject.c212 (mp)->ma_mask = PyDict_MINSIZE - 1; \
272 assert (mp->ma_mask == PyDict_MINSIZE - 1); in PyDict_New()
604 PyDictEntry small_copy[PyDict_MINSIZE]; in dictresize()
609 for (newsize = PyDict_MINSIZE; in dictresize()
623 if (newsize == PyDict_MINSIZE) { in dictresize()
941 PyDictEntry small_copy[PyDict_MINSIZE]; in PyDict_Clear()
Ddictnotes.txt77 * PyDict_MINSIZE. Currently set to 8.