#include <random-number-generator.h>
|
static const int64_t | kMultiplier = 0x5'deec'e66d |
|
static const int64_t | kAddend = 0xb |
|
static const int64_t | kMask = 0xffff'ffff'ffff |
|
Definition at line 38 of file random-number-generator.h.
◆ EntropySource
◆ result_type
◆ RandomNumberGenerator() [1/2]
v8::base::RandomNumberGenerator::RandomNumberGenerator |
( |
| ) |
|
◆ RandomNumberGenerator() [2/2]
v8::base::RandomNumberGenerator::RandomNumberGenerator |
( |
int64_t | seed | ) |
|
|
inlineexplicit |
◆ initial_seed()
int64_t v8::base::RandomNumberGenerator::initial_seed |
( |
| ) |
const |
|
inline |
◆ max()
static constexpr result_type v8::base::RandomNumberGenerator::max |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ min()
static constexpr result_type v8::base::RandomNumberGenerator::min |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ MurmurHash3()
uint64_t v8::base::RandomNumberGenerator::MurmurHash3 |
( |
uint64_t | h | ) |
|
|
static |
◆ Next()
int v8::base::RandomNumberGenerator::Next |
( |
int | bits | ) |
|
|
private |
◆ NextBool()
V8_INLINE bool v8::base::RandomNumberGenerator::NextBool |
( |
| ) |
|
|
inline |
◆ NextBytes()
void v8::base::RandomNumberGenerator::NextBytes |
( |
void * | buffer, |
|
|
size_t | buflen ) |
◆ NextDouble()
double v8::base::RandomNumberGenerator::NextDouble |
( |
| ) |
|
◆ NextInt() [1/2]
V8_INLINE int v8::base::RandomNumberGenerator::NextInt |
( |
| ) |
|
|
inline |
◆ NextInt() [2/2]
int v8::base::RandomNumberGenerator::NextInt |
( |
int | max | ) |
|
◆ NextInt64()
int64_t v8::base::RandomNumberGenerator::NextInt64 |
( |
| ) |
|
◆ NextSample()
std::vector< uint64_t > v8::base::RandomNumberGenerator::NextSample |
( |
uint64_t | max, |
|
|
size_t | n ) |
◆ NextSampleSlow()
std::vector< uint64_t > v8::base::RandomNumberGenerator::NextSampleSlow |
( |
uint64_t | max, |
|
|
size_t | n, |
|
|
const std::unordered_set< uint64_t > & | excluded = std::unordered_set<uint64_t>{} ) |
◆ operator()()
result_type v8::base::RandomNumberGenerator::operator() |
( |
| ) |
|
|
inline |
◆ SetEntropySource()
void v8::base::RandomNumberGenerator::SetEntropySource |
( |
EntropySource | entropy_source | ) |
|
|
static |
◆ SetSeed()
void v8::base::RandomNumberGenerator::SetSeed |
( |
int64_t | seed | ) |
|
◆ ToDouble()
static double v8::base::RandomNumberGenerator::ToDouble |
( |
uint64_t | state0 | ) |
|
|
inlinestatic |
◆ XorShift128()
static void v8::base::RandomNumberGenerator::XorShift128 |
( |
uint64_t * | state0, |
|
|
uint64_t * | state1 ) |
|
inlinestatic |
◆ initial_seed_
int64_t v8::base::RandomNumberGenerator::initial_seed_ |
|
private |
◆ kAddend
const int64_t v8::base::RandomNumberGenerator::kAddend = 0xb |
|
staticprivate |
◆ kMask
const int64_t v8::base::RandomNumberGenerator::kMask = 0xffff'ffff'ffff |
|
staticprivate |
◆ kMultiplier
const int64_t v8::base::RandomNumberGenerator::kMultiplier = 0x5'deec'e66d |
|
staticprivate |
◆ state0_
uint64_t v8::base::RandomNumberGenerator::state0_ |
|
private |
◆ state1_
uint64_t v8::base::RandomNumberGenerator::state1_ |
|
private |
The documentation for this class was generated from the following files: