Searched refs:_randbelow (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Lib/ |
D | random.py | 189 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
|
D | secrets.py | 31 return _sysrand._randbelow(exclusive_upper_bound)
|
/external/python/cpython2/Lib/ |
D | random.py | 193 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/ |
D | test_random.py | 660 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/ |
D | 3.2.rst | 1953 0: _randbelow
|