Home
last modified time | relevance | path

Searched refs:jumpahead (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Lib/
Drandom.py147 def jumpahead(self, n): member in Random
157 super(Random, self).jumpahead(n)
735 def jumpahead(self, n): member in WichmannHill
830 seed = jumpahead = _stub
906 jumpahead = _inst.jumpahead variable
/external/python/cpython2/Lib/test/
Dtest_random.py47 self.gen.jumpahead(100)
50 self.gen.jumpahead(100)
55 self.assertRaises(TypeError, self.gen.jumpahead) # needs an arg
56 self.assertRaises(TypeError, self.gen.jumpahead, 2, 3) # too many
61 self.gen.jumpahead(13550674232554645900)
173 self.gen.jumpahead(N)
222 self.gen.jumpahead(100)
/external/icu/icu4c/source/common/
Druleiter.cpp77 jumpahead(offset); in next()
125 void RuleCharacterIterator::jumpahead(int32_t count) { in jumpahead() function in RuleCharacterIterator
Druleiter.h200 void jumpahead(int32_t count);
Duniset_props.cpp1293 chars.jumpahead(pos.getIndex()); in applyPropertyPattern()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRuleCharacterIterator.java168 jumpahead(offset[0]); in next()
285 public void jumpahead(int count) { in jumpahead() method in RuleCharacterIterator
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRuleCharacterIterator.java167 jumpahead(offset[0]); in next()
284 public void jumpahead(int count) { in jumpahead() method in RuleCharacterIterator
/external/python/cpython2/Doc/library/
Drandom.rst35 :class:`Random` for each thread, and using the :meth:`jumpahead` method to make
41 :meth:`~Random.jumpahead` methods. Optionally, a new generator can supply a
109 .. function:: jumpahead(n)
116 same internal state, and then :meth:`jumpahead` can be used to force the
122 Instead of jumping to a specific state, *n* steps ahead, ``jumpahead(n)``
313 the :meth:`seed` and :meth:`jumpahead` methods have no effect and are ignored.
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeSet.java3654 chars.jumpahead(pos.getIndex()); in applyPropertyPattern()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSet.java3732 chars.jumpahead(pos.getIndex()); in applyPropertyPattern()
/external/python/cpython3/Doc/whatsnew/
D3.0.rst649 * Cleanup of the :mod:`random` module: removed the :func:`jumpahead` API.
/external/python/cpython2/Misc/
DHISTORY5517 The random.jumpahead(n) method has different semantics for the new
5519 existing state to create a new state. This means that jumpahead()
5522 on jumpahead moving a specific number of steps forward.
7969 and restoring the internal state of the generator; and jumpahead(n),
7973 each thread, then using .jumpahead() to force each instance to use a
DNEWS3689 - Issue #14591: Fix bug in Random.jumpahead that could produce an invalid
5643 - Issue #9816: random.Random.jumpahead(n) did not produce a sufficiently
/external/python/cpython3/Misc/
DHISTORY22901 The random.jumpahead(n) method has different semantics for the new
22903 existing state to create a new state. This means that jumpahead()
22906 on jumpahead moving a specific number of steps forward.
25348 and restoring the internal state of the generator; and jumpahead(n),
25352 each thread, then using .jumpahead() to force each instance to use a