Searched refs:IS_POWER_OF_2 (Results 1 – 1 of 1) sorted by relevance
311 #define IS_POWER_OF_2(x) (((x) & (x-1)) == 0) macro451 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()