Home
last modified time | relevance | path

Searched refs:USABLE_FRACTION (Results 1 - 1 of 1) sorted by relevance

/third_party/python/Objects/
H A Ddictobject.c44 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) macro
426 /* estimate_keysize is reverse function of USABLE_FRACTION.
513 Py_ssize_t usable = USABLE_FRACTION(DK_SIZE(keys)); in _PyDict_CheckConsistency()
603 usable = USABLE_FRACTION((size_ in new_keys_object()
[all...]

Completed in 6 milliseconds