OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Random
(Results
1 - 12
of
12
) sorted by null
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
random.c
18
* File:
random
.c *
20
* Description: Signed 16 bits
random
generator *
27
Word16
Random
(Word16 * seed)
/external/astl/tests/
test_iterator.cpp
62
struct
Random
{
71
enum Category {UNKNOWN, INPUT, FORWARD, BIDIRECTIONAL,
RANDOM
};
99
return
RANDOM
;
108
EXPECT_TRUE(category(android::iterator_category(
Random
())) ==
RANDOM
);
117
EXPECT_FALSE(android::is_wrapper_iterator<android::
Random
>::value);
/external/v8/src/
v8.cc
158
uint32_t V8::
Random
() {
159
//
Random
number generator using George Marsaglia's MWC algorithm.
163
// Initialize seed using the system
random
(). If one of the seeds
164
// should ever become zero again, or if
random
() returns zero, we
167
if (hi == 0) hi =
random
();
168
if (lo == 0) lo =
random
();
189
uint32_t
random
=
Random
();
local
193
return Smi::FromInt(
random
& kRandomPositiveSmiMax);
/libcore/luni/src/main/java/java/util/
Random.java
24
* This class provides methods that return pseudo-
random
values.
28
public class
Random
implements Serializable {
54
* Constructs a
random
generator with an initial state that is
62
public
Random
() {
68
* Construct a
random
generator with the given {@code seed} as the
69
* initial state. Equivalent to {@code
Random
r = new
Random
(); r.setSeed(seed);}.
72
* the seed that will determine the initial state of this
random
76
public
Random
(long seed) {
81
* Returns a pseudo-
random
uniformly distributed {@code int} value o
[
all
...]
/external/protobuf/gtest/include/gtest/internal/
gtest-internal.h
757
// A simple Linear Congruential Generator for generating
random
760
// code). Unlike rand_r(), it's portable. An LCG isn't very
random
,
762
class
Random
{
766
explicit
Random
(UInt32 seed) : state_(seed) {}
770
// Generates a
random
number from [0, range). Crashes if 'range' is
776
GTEST_DISALLOW_COPY_AND_ASSIGN_(
Random
);
[
all
...]
/prebuilt/sdk/10/
android.jar
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/5/
android.jar
/prebuilt/sdk/6/
android.jar
/prebuilt/sdk/7/
android.jar
/prebuilt/sdk/8/
android.jar
/prebuilt/sdk/9/
android.jar
Completed in 128 milliseconds