Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Drandom.py189 return self._randbelow(istart)
198 return istart + self._randbelow(width)
216 return istart + istep*self._randbelow(n)
224 def _randbelow(self, n, int=int, maxsize=1<<BPF, type=type, member in Random
259 i = self._randbelow(len(seq))
274 randbelow = self._randbelow
318 randbelow = self._randbelow
Dsecrets.py31 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/Lib/test/
Dtest_random.py660 self.gen._randbelow(maxsize+1, maxsize = maxsize)
661 self.gen._randbelow(5640, maxsize = maxsize)
665 self.gen._randbelow(0, maxsize=maxsize)
684 self.gen._randbelow(n, maxsize = maxsize)
/external/python/cpython3/Doc/whatsnew/
D3.2.rst1953 0: _randbelow