OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RNG
(Results
1 - 4
of
4
) sorted by null
/external/llvm/lib/IR/
Module.cpp
49
: Context(C), Materializer(), ModuleID(MID),
RNG
(nullptr), DL("") {
64
delete
RNG
;
362
// the filename to salt the
RNG
(although it is not guaranteed to be unique).
364
if (
RNG
== nullptr) {
366
RNG
= new RandomNumberGenerator(Salt);
368
return *
RNG
;
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/
FillCallLogTestActivity.java
63
private static final Random
RNG
= new Random();
230
return String.format("5%09d",
RNG
.nextInt(1000000000));
323
-
RNG
.nextInt(24 * 60 * 60 * (index + 1)) * 1000L);
326
values.put(Calls.DURATION,
RNG
.nextInt(30 * 60 * 60 * 1000));
330
values.put(Calls.TYPE, CALL_TYPES[
RNG
.nextInt(CALL_TYPES.length)]);
497
dataUsage = (long)
RNG
.nextInt(52428800);
502
dateTime.getTimeInMillis(),
RNG
.nextInt(60 * 60), dataUsage);
/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);
/external/llvm/include/llvm/IR/
Module.h
210
mutable RandomNumberGenerator *
RNG
; ///< The random number generator for this module.
259
/// Get the RandomNumberGenerator for this module. The
RNG
can be
260
/// seeded via -
rng
-seed=<uint64> and is salted with the ModuleID.
261
/// The returned
RNG
should not be shared across threads.
Completed in 132 milliseconds