/freebsd/contrib/llvm-project/libcxx/include/__random/ |
H A D | linear_congruential_engine.h | 56 _LIBCPP_HIDE_FROM_ABI static result_type next(result_type __x) { 100 const result_type __a = static_cast<result_type>(_Ap); 101 const result_type __c = static_cast<result_type>(_Cp); 102 const result_type __m = static_cast<result_type>(_Mp); 118 const result_type __a = static_cast<result_type>(_Ap); 119 const result_type __m = static_cast<result_type>(_Mp); 134 const result_type __a = static_cast<result_type>(_Ap); 135 const result_type __c = static_cast<result_type>(_Cp); 136 const result_type __m = static_cast<result_type>(_Mp); 145 const result_type __a = static_cast<result_type>(_Ap); [all …]
|
H A D | gamma_distribution.h | 36 typedef _RealType result_type; typedef 39 result_type __alpha_; 40 result_type __beta_; 45 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __alpha = 1, result_type __beta = 1) 64 _LIBCPP_HIDE_FROM_ABI explicit gamma_distribution(result_type __alpha, result_type __beta = 1) 106 result_type __x; in operator() 111 const result_type __c = 3 * __a - result_type(0.75); in operator() 117 const result_type __y = std::sqrt(__c / __w) * (__u - result_type(0.5)); in operator() 164 typedef typename _Eng::result_type result_type; typedef 169 result_type __alpha; [all …]
|
H A D | fisher_f_distribution.h | 34 typedef _RealType result_type; typedef 37 result_type __m_; 38 result_type __n_; 61 _LIBCPP_HIDE_FROM_ABI explicit fisher_f_distribution(result_type __m, result_type __n = 1) 64 _LIBCPP_HIDE_FROM_ABI explicit fisher_f_distribution(result_type __m = 1, result_type __n = 1) 86 _LIBCPP_HIDE_FROM_ABI result_type max() const { return numeric_limits<result_type>::infinity(); } in max() 100 gamma_distribution<result_type> __gdm(__p.m() * result_type(.5)); in operator() 101 gamma_distribution<result_type> __gdn(__p.n() * result_type(.5)); in operator() 121 typedef typename _Eng::result_type result_type; typedef 126 result_type __m; [all …]
|
H A D | uniform_int_distribution.h | 36 typedef _UIntType result_type; typedef 110 result_type __sp = 0; in __eval() 142 typedef _IntType result_type; typedef 145 result_type __a_; 146 result_type __b_; 151 …_LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 0, result_type __b = numeric_limits<re… 171 result_type __a, result_type __b = numeric_limits<result_type>::max()) 174 …explicit uniform_int_distribution(result_type __a = 0, result_type __b = numeric_limits<result_typ… 247 typedef typename _Eng::result_type result_type; typedef 252 result_type __a; [all …]
|
H A D | normal_distribution.h | 38 result_type __mean_; 39 result_type __stddev_; 58 result_type __v_; 112 result_type __up; in operator() 118 result_type __u; in operator() 119 result_type __v; in operator() 120 result_type __s; in operator() 152 typedef typename _Eng::result_type result_type; typedef 157 result_type __mean; 158 result_type __stddev; [all …]
|
H A D | weibull_distribution.h | 35 typedef _RealType result_type; typedef 38 result_type __a_; 39 result_type __b_; 44 …_LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 1, result_type __b = 1) : __a_(__a), _… in __a_() 62 _LIBCPP_HIDE_FROM_ABI explicit weibull_distribution(result_type __a, result_type __b = 1) 65 _LIBCPP_HIDE_FROM_ABI explicit weibull_distribution(result_type __a = 1, result_type __b = 1) 73 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 89 _LIBCPP_HIDE_FROM_ABI result_type max() const { return numeric_limits<result_type>::infinity(); } in max() 115 typedef typename _Eng::result_type result_type; typedef 120 result_type __a; [all …]
|
H A D | extreme_value_distribution.h | 35 typedef _RealType result_type; typedef 38 result_type __a_; 39 result_type __b_; 44 …_LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 0, result_type __b = 1) : __a_(__a), _… in __a_() 62 _LIBCPP_HIDE_FROM_ABI explicit extreme_value_distribution(result_type __a, result_type __b = 1) 65 …_LIBCPP_HIDE_FROM_ABI explicit extreme_value_distribution(result_type __a = 0, result_type __b = 1) 86 _LIBCPP_HIDE_FROM_ABI result_type min() const { return -numeric_limits<result_type>::infinity(); } in min() 87 _LIBCPP_HIDE_FROM_ABI result_type max() const { return numeric_limits<result_type>::infinity(); } in max() 122 typedef typename _Eng::result_type result_type; typedef 127 result_type __a; [all …]
|
H A D | cauchy_distribution.h | 35 typedef _RealType result_type; typedef 38 result_type __a_; 39 result_type __b_; 44 …_LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 0, result_type __b = 1) : __a_(__a), _… in __a_() 62 _LIBCPP_HIDE_FROM_ABI explicit cauchy_distribution(result_type __a, result_type __b = 1) 65 _LIBCPP_HIDE_FROM_ABI explicit cauchy_distribution(result_type __a = 0, result_type __b = 1) 86 _LIBCPP_HIDE_FROM_ABI result_type min() const { return -numeric_limits<result_type>::infinity(); } in min() 87 _LIBCPP_HIDE_FROM_ABI result_type max() const { return numeric_limits<result_type>::infinity(); } in max() 122 typedef typename _Eng::result_type result_type; typedef 127 result_type __a; [all …]
|
H A D | lognormal_distribution.h | 35 typedef _RealType result_type; typedef 38 result_type __m_; 39 result_type __s_; 44 …_LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __m = 0, result_type __s = 1) : __m_(__m), _… in __m_() 46 _LIBCPP_HIDE_FROM_ABI result_type m() const { return __m_; } in m() 56 normal_distribution<result_type> __nd_; 62 …_LIBCPP_HIDE_FROM_ABI explicit lognormal_distribution(result_type __m, result_type __s = 1) : __nd… in __nd_() 64 …_LIBCPP_HIDE_FROM_ABI explicit lognormal_distribution(result_type __m = 0, result_type __s = 1) : … 71 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 91 _LIBCPP_HIDE_FROM_ABI result_type min() const { return 0; } in min() [all …]
|
H A D | uniform_real_distribution.h | 34 typedef _RealType result_type; typedef 37 result_type __a_; 38 result_type __b_; 43 …_LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __a = 0, result_type __b = 1) : __a_(__a), _… in __a_() 45 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } in a() 61 _LIBCPP_HIDE_FROM_ABI explicit uniform_real_distribution(result_type __a, result_type __b = 1) 64 _LIBCPP_HIDE_FROM_ABI explicit uniform_real_distribution(result_type __a = 0, result_type __b = 1) 72 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 121 typedef typename _Eng::result_type result_type; typedef 126 result_type __a; [all …]
|
H A D | exponential_distribution.h | 36 typedef _RealType result_type; typedef 39 result_type __lambda_; 46 _LIBCPP_HIDE_FROM_ABI result_type lambda() const { return __lambda_; } in lambda() 70 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 74 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 77 _LIBCPP_HIDE_FROM_ABI result_type lambda() const { return __p_.lambda(); } in lambda() 82 _LIBCPP_HIDE_FROM_ABI result_type min() const { return 0; } in min() 83 _LIBCPP_HIDE_FROM_ABI result_type max() const { return numeric_limits<result_type>::infinity(); } in max() 99 …return -std::log(result_type(1) - std::generate_canonical<result_type, numeric_limits<result_type>… in operator() 116 typedef typename _Eng::result_type result_type; typedef [all …]
|
H A D | student_t_distribution.h | 36 typedef _RealType result_type; typedef 39 result_type __n_; 46 _LIBCPP_HIDE_FROM_ABI result_type n() const { return __n_; } in n() 56 normal_distribution<result_type> __nd_; 71 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 78 _LIBCPP_HIDE_FROM_ABI result_type n() const { return __p_.n(); } in n() 83 _LIBCPP_HIDE_FROM_ABI result_type min() const { return -numeric_limits<result_type>::infinity(); } in min() 84 _LIBCPP_HIDE_FROM_ABI result_type max() const { return numeric_limits<result_type>::infinity(); } in max() 98 gamma_distribution<result_type> __gd(__p.n() * .5, 2); in operator() 116 typedef typename _Eng::result_type result_type; typedef [all …]
|
H A D | negative_binomial_distribution.h | 35 typedef _IntType result_type; typedef 38 result_type __k_; 46 _LIBCPP_HIDE_FROM_ABI result_type k() const { return __k_; } in k() 72 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 85 _LIBCPP_HIDE_FROM_ABI result_type min() const { return 0; } in min() 86 _LIBCPP_HIDE_FROM_ABI result_type max() const { return numeric_limits<result_type>::max(); } in max() 102 result_type __k = __pr.k(); in operator() 108 result_type __f = 0; in operator() 109 result_type __s = 0; in operator() 139 typedef typename _Eng::result_type result_type; typedef [all …]
|
H A D | piecewise_linear_distribution.h | 36 typedef _RealType result_type; typedef 39 vector<result_type> __b_; 40 vector<result_type> __densities_; 41 vector<result_type> __areas_; 99 …piecewise_linear_distribution(size_t __nw, result_type __xmin, result_type __xmax, _UnaryOperation… in piecewise_linear_distribution() 160 result_type __sp = 0; in __init() 226 size_t __nw, result_type __xmin, result_type __xmax, _UnaryOperation __fw) in param_type() 245 result_type __u = _Gen()(__g); in operator() 286 typedef typename _Eng::result_type result_type; typedef 292 vector<result_type> __b(__n); [all …]
|
H A D | chi_squared_distribution.h | 34 typedef _RealType result_type; typedef 37 result_type __n_; 42 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __n = 1) : __n_(__n) {} in __n_() 44 _LIBCPP_HIDE_FROM_ABI result_type n() const { return __n_; } in n() 68 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 73 return gamma_distribution<result_type>(__p.n() / 2, 2)(__g); in operator() 77 _LIBCPP_HIDE_FROM_ABI result_type n() const { return __p_.n(); } in n() 82 _LIBCPP_HIDE_FROM_ABI result_type min() const { return 0; } in min() 83 _LIBCPP_HIDE_FROM_ABI result_type max() const { return numeric_limits<result_type>::infinity(); } in max() 109 typedef typename _Eng::result_type result_type; typedef [all …]
|
H A D | independent_bits_engine.h | 48 typedef _UIntType result_type; typedef 53 static _LIBCPP_CONSTEXPR const result_type _Dt = numeric_limits<result_type>::digits; 58 …typedef __conditional_t<sizeof(_Engine_result_type) <= sizeof(result_type), result_type, _Engine_r… 79 static _LIBCPP_CONSTEXPR const result_type _Min = 0; 80 static _LIBCPP_CONSTEXPR const result_type _Max = 81 __w == _Dt ? result_type(~0) : (result_type(1) << __w) - result_type(1); 138 …e_if_t<__count< _Dt, int> = 0> _LIBCPP_HIDE_FROM_ABI static result_type __lshift(result_type __x) { 143 _LIBCPP_HIDE_FROM_ABI static result_type __lshift(result_type) { in __lshift() argument 144 return result_type(0); in __lshift() 150 return static_cast<result_type>(__e_() & __mask0); in __eval() [all …]
|
H A D | piecewise_constant_distribution.h | 36 typedef _RealType result_type; typedef 39 vector<result_type> __b_; 40 vector<result_type> __densities_; 41 vector<result_type> __areas_; 99 …piecewise_constant_distribution(size_t __nw, result_type __xmin, result_type __xmax, _UnaryOperati… in piecewise_constant_distribution() 160 …result_type __total_area = std::accumulate(__densities_.begin(), __densities_.end(), result_type()… in __init() 223 size_t __nw, result_type __xmin, result_type __xmax, _UnaryOperation __fw) in param_type() 241 result_type __u = _Gen()(__g); in operator() 273 typedef typename _Eng::result_type result_type; typedef 279 vector<result_type> __b(__n); [all …]
|
H A D | binomial_distribution.h | 33 typedef _IntType result_type; typedef 36 result_type __t_; 40 result_type __r0_; 47 _LIBCPP_HIDE_FROM_ABI result_type t() const { return __t_; } in t() 76 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 89 _LIBCPP_HIDE_FROM_ABI result_type min() const { return 0; } in min() 116 __r0_ = static_cast<result_type>((__t_ + 1) * __p_); in param_type() 140 result_type __ru = __pr.__r0_; in operator() 141 result_type __rd = __ru; in operator() 181 typedef typename _Eng::result_type result_type; typedef [all …]
|
H A D | shuffle_order_engine.h | 60 typedef typename _Engine::result_type result_type; 64 result_type __v_[__k]; 65 result_type __y_; 72 static const result_type _Min = _Engine::_Min; 73 static const result_type _Max = _Engine::_Max; 102 _LIBCPP_HIDE_FROM_ABI void seed(result_type __sd) { 152 _LIBCPP_HIDE_FROM_ABI result_type __eval(__uratio<_Np, _Dp>) { 159 _LIBCPP_HIDE_FROM_ABI result_type __eval(__uratio<_Np, _Dp>) { 167 _LIBCPP_HIDE_FROM_ABI result_type __evalf() { 208 typedef typename shuffle_order_engine<_Eng, _Kp>::result_type result_type; [all …]
|
H A D | subtract_with_carry_engine.h | 54 typedef _UIntType result_type; typedef 57 result_type __x_[__r]; 58 result_type __c_; 61 static _LIBCPP_CONSTEXPR const result_type _Dt = numeric_limits<result_type>::digits; 68 static _LIBCPP_CONSTEXPR const result_type _Min = 0; 69 static _LIBCPP_CONSTEXPR const result_type _Max = 70 __w == _Dt ? result_type(~0) : (result_type(1) << __w) - result_type(1); 101 _LIBCPP_HIDE_FROM_ABI result_type operator()(); 149 __x_[__i] = static_cast<result_type>(__e() & _Max); in seed() 158 result_type __e0 = __e(); in seed() [all …]
|
H A D | mersenne_twister_engine.h | 159 __w == _Dt ? result_type(~0) : (result_type(1) << __w) - result_type(1); 297 _LIBCPP_HIDE_FROM_ABI static result_type __lshift(result_type) { in __lshift() argument 307 _LIBCPP_HIDE_FROM_ABI static result_type __rshift(result_type) { in __rshift() argument 408 __f>::result_type 456 __f>::result_type 504 __f>::result_type 552 __f>::result_type 600 __f>::result_type 679 …const result_type __mask = __r == _Dt ? result_type(~0) : (result_type(1) << __r) - result_type(1); in __seed() 711 …const result_type __mask = __r == _Dt ? result_type(~0) : (result_type(1) << __r) - result_type(1); in __seed() [all …]
|
H A D | random_device.h | 47 typedef unsigned result_type; typedef 50 static _LIBCPP_CONSTEXPR const result_type _Min = 0; 51 static _LIBCPP_CONSTEXPR const result_type _Max = 0xFFFFFFFFu; 53 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type min() { return _Min; } in min() 54 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type max() { return _Max; } in max() 66 result_type operator()();
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | random | 205 typedef typename Engine::result_type result_type; 312 typedef typename Engine::result_type result_type; 933 explicit param_type(result_type alpha = 1, result_type beta = 1); 993 explicit param_type(result_type alpha = 1, result_type beta = 1); 1053 explicit param_type(result_type a = 0, result_type b = 1); 1113 explicit param_type(result_type mean = 0, result_type stddev = 1); 1173 explicit param_type(result_type m = 0, result_type s = 1); 1291 explicit param_type(result_type a = 0, result_type b = 1); 1351 explicit param_type(result_type m = 1, result_type n = 1); 1542 param_type(size_t nw, result_type xmin, result_type xmax, [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | shuffle.h | 38 typedef uint_fast32_t result_type; typedef 40 static const result_type _Min = 0; 41 static const result_type _Max = 0xFFFFFFFF; 43 _LIBCPP_HIDE_FROM_ABI result_type operator()() { in operator() 49 static _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR result_type min() { return _Min; } in min() 50 static _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR result_type max() { return _Max; } in max() 76 typedef uint_fast32_t result_type; typedef 78 static const result_type _Min = 0; 79 static const result_type _Max = 0xFFFFFFFF; 84 result_type operator()(); [all …]
|
/freebsd/contrib/kyua/store/ |
H A D | testdata_v1.sql | 77 INSERT INTO test_results (test_case_id, result_type, result_reason, start_time, 92 INSERT INTO test_results (test_case_id, result_type, result_reason, start_time, 118 INSERT INTO test_results (test_case_id, result_type, result_reason, start_time, 134 INSERT INTO test_results (test_case_id, result_type, result_reason, start_time, 150 INSERT INTO test_results (test_case_id, result_type, result_reason, start_time, 177 INSERT INTO test_results (test_case_id, result_type, result_reason, start_time, 187 INSERT INTO test_results (test_case_id, result_type, result_reason, start_time, 197 INSERT INTO test_results (test_case_id, result_type, result_reason, start_time, 246 INSERT INTO test_results (test_case_id, result_type, result_reason, start_time, 289 INSERT INTO test_results (test_case_id, result_type, result_reason, start_time, [all …]
|