Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Ddictobject.c311 #define IS_POWER_OF_2(x) (((x) & (x-1)) == 0) macro
451 assert(IS_POWER_OF_2(keys->dk_size)); in _PyDict_CheckConsistency()
512 assert(IS_POWER_OF_2(size)); in new_keys_object()
1271 assert(IS_POWER_OF_2(newsize)); in _PyDict_NewPresized()