Lines Matching defs:USABLE_FRACTION
44 PyDictUnicodeEntry otherwise. Its length is USABLE_FRACTION(dk_size).
138 it's USABLE_FRACTION (currently two-thirds) full.
390 /* USABLE_FRACTION is the maximum dictionary load.
395 * USABLE_FRACTION must obey the following:
396 * (0 < USABLE_FRACTION(n) < n) for all n >= 2
398 * USABLE_FRACTION should be quick to calculate.
401 #define USABLE_FRACTION(n) (((n) << 1)/3)
426 /* estimate_keysize is reverse function of USABLE_FRACTION.
513 Py_ssize_t usable = USABLE_FRACTION(DK_SIZE(keys));
603 usable = USABLE_FRACTION((size_t)1<<log2_size);
1574 if (minused <= USABLE_FRACTION(PyDict_MINSIZE)) {
1581 if (minused > USABLE_FRACTION(max_presize)) {
2849 USABLE_FRACTION(DK_SIZE(okeys)/2) < other->ma_used)) {
2878 if (USABLE_FRACTION(DK_SIZE(mp->ma_keys)) < other->ma_used) {
3596 + USABLE_FRACTION(DK_SIZE(keys)) * es);