Searched refs:single_ (Results 1 – 2 of 2) sorted by relevance
33 explicit SimplePhilox(PhiloxRandom* gen) : single_(gen) {} in SimplePhilox()36 PHILOX_DEVICE_INLINE uint32 Rand32() { return single_(); } in Rand32()40 const uint32 lo = single_(), hi = single_(); in Rand64()45 PHILOX_DEVICE_INLINE float RandFloat() { return Uint32ToFloat(single_()); } in RandFloat()49 const uint32 x0 = single_(), x1 = single_(); in RandDouble()70 SingleSampleAdapter<PhiloxRandom> single_;
74 : bigrep_(false), single_(reinterpret_cast<T>(rep)) {} in iterator()76 : bigrep_(true), single_(nullptr), iter_(iter) {} in iterator()82 DCHECK(single_ != nullptr);83 single_ = nullptr;93 return single_ == other.single_;102 DCHECK(single_ != nullptr);103 return single_;110 T single_; variable