Searched refs:_PyHASH_BITS (Results 1 – 4 of 4) sorted by relevance
23 # define _PyHASH_BITS 61 macro25 # define _PyHASH_BITS 31 macro28 #define _PyHASH_MODULUS (((size_t)1 << _PyHASH_BITS) - 1)
111 x = ((x << 28) & _PyHASH_MODULUS) | x >> (_PyHASH_BITS - 28); in _Py_HashDouble()122 e = e >= 0 ? e % _PyHASH_BITS : _PyHASH_BITS-1-((-1-e) % _PyHASH_BITS); in _Py_HashDouble()123 x = ((x << e) & _PyHASH_MODULUS) | x >> (_PyHASH_BITS - e); in _Py_HashDouble()
4361 #if defined(CONFIG_64) && _PyHASH_BITS == 61 in _dec_hash()4369 #elif defined(CONFIG_32) && _PyHASH_BITS == 31 in _dec_hash()
2980 (x >> (_PyHASH_BITS - PyLong_SHIFT)); in long_hash()