Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Drandom.py231 cls._randbelow = cls._randbelow_with_getrandbits
234 cls._randbelow = cls._randbelow_without_getrandbits
270 _randbelow = _randbelow_with_getrandbits variable in Random
305 return self._randbelow(istart)
314 return istart + self._randbelow(width)
332 return istart + istep * self._randbelow(n)
346 return seq[self._randbelow(len(seq))]
358 randbelow = self._randbelow
447 randbelow = self._randbelow
Dsecrets.py30 return _sysrand._randbelow(exclusive_upper_bound)
/external/python/cpython2/Lib/
Drandom.py193 return self._randbelow(istart)
217 return _int(istart + self._randbelow(width))
237 return istart + istep*self._randbelow(n)
246 def _randbelow(self, n, _log=_log, _int=int, _maxwidth=1L<<BPF, member in Random
/external/python/cpython3/Doc/whatsnew/
D3.2.rst1955 0: _randbelow