Searched refs:USABLE_FRACTION (Results 1 – 2 of 2) sorted by relevance
385 #define USABLE_FRACTION(n) (((n) << 1)/3) macro444 Py_ssize_t usable = USABLE_FRACTION(keys->dk_size); in _PyDict_CheckConsistency()514 usable = USABLE_FRACTION(size); in new_keys_object()606 size = USABLE_FRACTION(DK_SIZE(keys)); in new_dict_with_shared_keys()1232 size = USABLE_FRACTION(DK_SIZE(mp->ma_keys)); in make_keys_shared()1261 if (minused > USABLE_FRACTION(max_presize)) { in _PyDict_NewPresized()2399 if (USABLE_FRACTION(mp->ma_keys->dk_size) < other->ma_used) { in dict_merge()2548 Py_ssize_t size = USABLE_FRACTION(DK_SIZE(mp->ma_keys)); in PyDict_Copy()3009 usable = USABLE_FRACTION(size); in _PyDict_SizeOf()3028 + USABLE_FRACTION(DK_SIZE(keys)) * sizeof(PyDictKeyEntry)); in _PyDict_KeysSize()
74 USABLE_FRACTION and GROWTH_RATE in dictobject.c