Home
last modified time | relevance | path

Searched refs:state0_ (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/base/utils/
Drandom-number-generator.cc100 XorShift128(&state0_, &state1_); in NextDouble()
101 return ToDouble(state0_, state1_); in NextDouble()
106 XorShift128(&state0_, &state1_); in NextInt64()
107 return bit_cast<int64_t>(state0_ + state1_); in NextInt64()
121 XorShift128(&state0_, &state1_); in Next()
122 return static_cast<int>((state0_ + state1_) >> (64 - bits)); in Next()
128 state0_ = MurmurHash3(bit_cast<uint64_t>(seed)); in SetSeed()
129 state1_ = MurmurHash3(~state0_); in SetSeed()
130 CHECK(state0_ != 0 || state1_ != 0); in SetSeed()
Drandom-number-generator.h124 uint64_t state0_; variable