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.cc101 XorShift128(&state0_, &state1_); in NextDouble()
102 return ToDouble(state0_, state1_); in NextDouble()
107 XorShift128(&state0_, &state1_); in NextInt64()
108 return bit_cast<int64_t>(state0_ + state1_); in NextInt64()
201 XorShift128(&state0_, &state1_); in Next()
202 return static_cast<int>((state0_ + state1_) >> (64 - bits)); in Next()
208 state0_ = MurmurHash3(bit_cast<uint64_t>(seed)); in SetSeed()
209 state1_ = MurmurHash3(~state0_); in SetSeed()
210 CHECK(state0_ != 0 || state1_ != 0); in SetSeed()
Drandom-number-generator.h141 uint64_t state0_; variable