Home
last modified time | relevance | path

Searched refs:_Max (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__random/
H A Dshuffle_order_engine.h73 static const result_type _Max = _Engine::_Max;
76 static _LIBCPP_CONSTEXPR const result_type _Max = _Engine::max();
78 static_assert(_Min < _Max, "shuffle_order_engine invalid parameters");
80 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type max() { return _Max; }
82 static _LIBCPP_CONSTEXPR const unsigned long long _Rp = _Max - _Min + 1ull;
151 … __enable_if_t<(__uratio<_Np, _Dp>::num > 0xFFFFFFFFFFFFFFFFull / (_Max - _Min)), int> = 0>
158 … __enable_if_t<__uratio<_Np, _Dp>::num <= 0xFFFFFFFFFFFFFFFFull / (_Max - _Min), int> = 0>
H A Drandom_device.h51 static _LIBCPP_CONSTEXPR const result_type _Max = 0xFFFFFFFFu; variable
54 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type max() { return _Max; } in max()
H A Dsubtract_with_carry_engine.h69 static _LIBCPP_CONSTEXPR const result_type _Max = variable
71 static_assert(_Min < _Max, "subtract_with_carry_engine invalid parameters");
78 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type max() { return _Max; } in max()
149 __x_[__i] = static_cast<result_type>(__e() & _Max); in seed()
159 __x_[__i] = static_cast<result_type>((__e0 + ((uint64_t)__e() << 32)) & _Max); in seed()
172 __x_[__i] = static_cast<result_type>(__ar[__i] & _Max); in __seed()
184 …__x_[__i] = static_cast<result_type>((__ar[2 * __i] + ((uint64_t)__ar[2 * __i + 1] << 32)) & _Max); in __seed()
194 __xr = (__xs - __xr - __c_) & _Max; in operator()
H A Dmersenne_twister_engine.h158 static _LIBCPP_CONSTEXPR const result_type _Max = variable
160 static_assert(_Min < _Max, "mersenne_twister_engine invalid parameters");
161 static_assert(__a <= _Max, "mersenne_twister_engine invalid parameters");
162 static_assert(__b <= _Max, "mersenne_twister_engine invalid parameters");
163 static_assert(__c <= _Max, "mersenne_twister_engine invalid parameters");
164 static_assert(__d <= _Max, "mersenne_twister_engine invalid parameters");
165 static_assert(__f <= _Max, "mersenne_twister_engine invalid parameters");
182 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type max() { return _Max; } in max()
293 return (__x << __count) & _Max;
651 __x_[0] = __sd & _Max; in seed()
[all …]
H A Dindependent_bits_engine.h61 static const _Working_result_type _Rp = _Engine::_Max - _Engine::_Min + _Working_result_type(1);
80 static _LIBCPP_CONSTEXPR const result_type _Max = variable
82 static_assert(_Min < _Max, "independent_bits_engine invalid parameters");
86 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type max() { return _Max; } in max()
H A Ddiscard_block_engine.h51 static const result_type _Max = _Engine::_Max; variable
54 static _LIBCPP_CONSTEXPR const result_type _Max = _Engine::max();
H A Dgenerate_canonical.h34 const size_t __log_r = __log2<uint64_t, _URNG::_Max - _URNG::_Min + uint64_t(1)>::value; in generate_canonical()
H A Dlinear_congruential_engine.h189 static _LIBCPP_CONSTEXPR const result_type _Max = __m - _UIntType(1u);
190 static_assert(_Min < _Max, "linear_congruential_engine invalid parameters");
197 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type max() { return _Max; }
H A Duniform_int_distribution.h54 static const _Working_result_type _Rp = _Engine::_Max - _Engine::_Min + _Working_result_type(1);
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dshuffle.h41 static const result_type _Max = 0xFFFFFFFF; variable
50 static _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR result_type max() { return _Max; } in max()
79 static const result_type _Max = 0xFFFFFFFF; variable
87 static _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR result_type max() { return _Max; } in max()