OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:RNG
(Results
1 - 3
of
3
) sorted by null
/external/swiftshader/third_party/subzero/src/
IceRNG.h
38
///
RNG
.
65
uint64_t operator()(uint64_t Max) { return
RNG
.next(Max); }
67
explicit RandomNumberGeneratorWrapper(RandomNumberGenerator &
RNG
)
68
:
RNG
(
RNG
) {}
71
RandomNumberGenerator &
RNG
;
78
void RandomShuffle(RandomIt First, RandomIt Last, RandomFunc &&
RNG
) {
80
std::swap(First[i], First[
RNG
(i + 1)]);
IceCfg.cpp
51
RandomNumberGenerator
RNG
(getFlags().getRandomSeed(), RPE_ConstantBlinding,
54
(uint32_t)
RNG
.next((uint64_t)std::numeric_limits<uint32_t>::max() + 1);
492
Ice::RandomNumberGenerator *
RNG
) {
497
[
RNG
](int N) { return
RNG
->next(N); });
500
getRandomPostOrder(Next, ToVisit, PostOrder,
RNG
);
514
RandomNumberGenerator
RNG
(getFlags().getRandomSeed(),
517
getRandomPostOrder(getEntryNode(), ToVisit, ReversedReachable, &
RNG
);
[
all
...]
/development/samples/Snake/src/com/example/android/snake/
SnakeView.java
104
private static final Random
RNG
= new Random();
383
int newX = 1 +
RNG
.nextInt(mXTileCount - 2);
384
int newY = 1 +
RNG
.nextInt(mYTileCount - 2);
Completed in 122 milliseconds