| /src/contrib/llvm-project/libcxx/include/__random/ |
| H A D | linear_congruential_engine.h | 69 typedef unsigned long long result_type; 70 _LIBCPP_HIDE_FROM_ABI static result_type next(result_type __xp) { 76 return static_cast<result_type>((__a * __x + __c) % __m); 83 typedef unsigned long long result_type; 84 _LIBCPP_HIDE_FROM_ABI static result_type next(result_type __x) { 86 const result_type __q = __m / __a; 87 const result_type __r = __m % __a; 88 const result_type __t0 = __a * (__x % __q); 89 const result_type __t1 = __r * (__x / __q); 98 typedef unsigned long long result_type; [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) 48 _LIBCPP_HIDE_FROM_ABI result_type alpha() const { return __alpha_; } in alpha() 49 _LIBCPP_HIDE_FROM_ABI result_type beta() const { return __beta_; } in beta() 64 _LIBCPP_HIDE_FROM_ABI explicit gamma_distribution(result_type __alpha, result_type __beta = 1) 67 _LIBCPP_HIDE_FROM_ABI explicit gamma_distribution(result_type __alpha = 1, result_type __beta = 1) 75 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 79 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); [all …]
|
| H A D | fisher_f_distribution.h | 34 typedef _RealType result_type; typedef 37 result_type __m_; 38 result_type __n_; 43 …_LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __m = 1, result_type __n = 1) : __m_(__m), _… in __m_() 45 _LIBCPP_HIDE_FROM_ABI result_type m() const { return __m_; } in m() 46 _LIBCPP_HIDE_FROM_ABI result_type n() const { return __n_; } in 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) 72 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 76 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); [all …]
|
| H A D | uniform_int_distribution.h | 36 typedef _UIntType result_type; typedef 39 typedef typename _Engine::result_type _Engine_result_type; 40 …typedef __conditional_t<sizeof(_Engine_result_type) <= sizeof(result_type), result_type, _Engine_r… 67 …_LIBCPP_HIDE_FROM_ABI result_type operator()() { return __eval(integral_constant<bool, _Rp != 0>()… in operator() 70 _LIBCPP_HIDE_FROM_ABI result_type __eval(false_type); 71 _LIBCPP_HIDE_FROM_ABI result_type __eval(true_type); 104 return static_cast<result_type>(__e_() & __mask0_); in __eval() 109 const size_t __w_rt = numeric_limits<result_type>::digits; in __eval() 110 result_type __sp = 0; in __eval() 142 typedef _IntType result_type; typedef [all …]
|
| H A D | normal_distribution.h | 35 typedef _RealType result_type; typedef 38 result_type __mean_; 39 result_type __stddev_; 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __mean = 0, result_type __stddev = 1) 47 _LIBCPP_HIDE_FROM_ABI result_type mean() const { return __mean_; } in mean() 48 _LIBCPP_HIDE_FROM_ABI result_type stddev() const { return __stddev_; } in stddev() 58 result_type __v_; 65 _LIBCPP_HIDE_FROM_ABI explicit normal_distribution(result_type __mean, result_type __stddev = 1) 68 …_LIBCPP_HIDE_FROM_ABI explicit normal_distribution(result_type __mean = 0, result_type __stddev = … 76 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() [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_() 46 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } in a() 47 _LIBCPP_HIDE_FROM_ABI result_type b() const { return __b_; } in b() 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() 77 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p) { in operator() [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_() 46 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } in a() 47 _LIBCPP_HIDE_FROM_ABI result_type b() const { return __b_; } in b() 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) 73 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 77 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); [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_() 46 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } in a() 47 _LIBCPP_HIDE_FROM_ABI result_type b() const { return __b_; } in b() 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) 73 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 77 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); [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() 47 _LIBCPP_HIDE_FROM_ABI result_type s() const { return __s_; } in s() 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() [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() 46 _LIBCPP_HIDE_FROM_ABI result_type b() const { return __b_; } in b() 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() 76 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); [all …]
|
| H A D | student_t_distribution.h | 36 typedef _RealType result_type; typedef 39 result_type __n_; 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __n = 1) : __n_(__n) {} in __n_() 46 _LIBCPP_HIDE_FROM_ABI result_type n() const { return __n_; } in n() 56 normal_distribution<result_type> __nd_; 62 _LIBCPP_HIDE_FROM_ABI explicit student_t_distribution(result_type __n) : __p_(param_type(__n)) {} in student_t_distribution() 64 …_LIBCPP_HIDE_FROM_ABI explicit student_t_distribution(result_type __n = 1) : __p_(param_type(__n))… 71 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 75 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 78 _LIBCPP_HIDE_FROM_ABI result_type n() const { return __p_.n(); } in n() [all …]
|
| H A D | exponential_distribution.h | 36 typedef _RealType result_type; typedef 39 result_type __lambda_; 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __lambda = 1) : __lambda_(__lambda) {} in __lambda_() 46 _LIBCPP_HIDE_FROM_ABI result_type lambda() const { return __lambda_; } in lambda() 61 …_LIBCPP_HIDE_FROM_ABI explicit exponential_distribution(result_type __lambda) : __p_(param_type(__… in exponential_distribution() 63 …_LIBCPP_HIDE_FROM_ABI explicit exponential_distribution(result_type __lambda = 1) : __p_(param_typ… 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() [all …]
|
| H A D | negative_binomial_distribution.h | 36 typedef _IntType result_type; typedef 39 result_type __k_; 45 …_LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __k = 1, double __p = 0.5) : __k_(__k), __p_… in __k_() 47 _LIBCPP_HIDE_FROM_ABI result_type k() const { return __k_; } in k() 63 …_LIBCPP_HIDE_FROM_ABI explicit negative_binomial_distribution(result_type __k, double __p = 0.5) :… in __p_() 65 …_LIBCPP_HIDE_FROM_ABI explicit negative_binomial_distribution(result_type __k = 1, double __p = 0.… 73 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 77 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 80 _LIBCPP_HIDE_FROM_ABI result_type k() const { return __p_.k(); } in k() 86 _LIBCPP_HIDE_FROM_ABI result_type min() const { return 0; } in min() [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_; 51 _LIBCPP_HIDE_FROM_ABI param_type(initializer_list<result_type> __bl, _UnaryOperation __fw); 54 …_LIBCPP_HIDE_FROM_ABI param_type(size_t __nw, result_type __xmin, result_type __xmax, _UnaryOperat… 58 _LIBCPP_HIDE_FROM_ABI vector<result_type> intervals() const { return __b_; } in intervals() 59 _LIBCPP_HIDE_FROM_ABI vector<result_type> densities() const { return __densities_; } in densities() 93 …_LIBCPP_HIDE_FROM_ABI piecewise_linear_distribution(initializer_list<result_type> __bl, _UnaryOper… in piecewise_linear_distribution() 99 …piecewise_linear_distribution(size_t __nw, result_type __xmin, result_type __xmax, _UnaryOperation… in piecewise_linear_distribution() [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() 59 …_LIBCPP_HIDE_FROM_ABI explicit chi_squared_distribution(result_type __n) : __p_(param_type(__n)) {} in chi_squared_distribution() 61 …_LIBCPP_HIDE_FROM_ABI explicit chi_squared_distribution(result_type __n = 1) : __p_(param_type(__n… 68 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 72 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p) { 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() [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; 57 typedef typename _Engine::result_type _Engine_result_type; 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); 85 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type min() { return _Min; } in min() 86 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type max() { return _Max; } in max() 94 _LIBCPP_HIDE_FROM_ABI explicit independent_bits_engine(result_type __sd) : __e_(__sd) {} in independent_bits_engine() [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_; 51 _LIBCPP_HIDE_FROM_ABI param_type(initializer_list<result_type> __bl, _UnaryOperation __fw); 54 …_LIBCPP_HIDE_FROM_ABI param_type(size_t __nw, result_type __xmin, result_type __xmax, _UnaryOperat… 58 _LIBCPP_HIDE_FROM_ABI vector<result_type> intervals() const { return __b_; } in intervals() 59 _LIBCPP_HIDE_FROM_ABI vector<result_type> densities() const { return __densities_; } in densities() 93 …_LIBCPP_HIDE_FROM_ABI piecewise_constant_distribution(initializer_list<result_type> __bl, _UnaryOp… in piecewise_constant_distribution() 99 …piecewise_constant_distribution(size_t __nw, result_type __xmin, result_type __xmax, _UnaryOperati… in piecewise_constant_distribution() [all …]
|
| H A D | binomial_distribution.h | 33 typedef _IntType result_type; typedef 36 result_type __t_; 40 result_type __r0_; 45 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __t = 1, double __p = 0.5); 47 _LIBCPP_HIDE_FROM_ABI result_type t() const { return __t_; } in t() 65 _LIBCPP_HIDE_FROM_ABI explicit binomial_distribution(result_type __t, double __p = 0.5) 68 _LIBCPP_HIDE_FROM_ABI explicit binomial_distribution(result_type __t = 1, double __p = 0.5) 76 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { in operator() 80 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 83 _LIBCPP_HIDE_FROM_ABI result_type t() const { return __p_.t(); } in t() [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; 75 static _LIBCPP_CONSTEXPR const result_type _Min = _Engine::min(); 76 static _LIBCPP_CONSTEXPR const result_type _Max = _Engine::max(); 79 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type min() { return _Min; } 80 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type max() { return _Max; } 90 _LIBCPP_HIDE_FROM_ABI explicit shuffle_order_engine(result_type __sd) : __e_(__sd) { __init(); } [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); 77 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type min() { return _Min; } in min() 78 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type max() { return _Max; } in max() 79 static _LIBCPP_CONSTEXPR const result_type default_seed = 19780503u; [all …]
|
| H A D | mersenne_twister_engine.h | 139 typedef _UIntType result_type; typedef 142 result_type __x_[__n]; 147 static _LIBCPP_CONSTEXPR const result_type _Dt = numeric_limits<result_type>::digits; 157 static _LIBCPP_CONSTEXPR const result_type _Min = 0; 158 static _LIBCPP_CONSTEXPR const result_type _Max = 159 __w == _Dt ? result_type(~0) : (result_type(1) << __w) - result_type(1); 172 static _LIBCPP_CONSTEXPR const result_type xor_mask = __a; 174 static _LIBCPP_CONSTEXPR const result_type tempering_d = __d; 176 static _LIBCPP_CONSTEXPR const result_type tempering_b = __b; 178 static _LIBCPP_CONSTEXPR const result_type tempering_c = __c; [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()();
|
| /src/contrib/llvm-project/libcxx/include/ |
| H A D | random | 31 typedef UIntType result_type; 34 static constexpr result_type multiplier = a; 35 static constexpr result_type increment = c; 36 static constexpr result_type modulus = m; 37 static constexpr result_type min() { return c == 0u ? 1u: 0u;} 38 static constexpr result_type max() { return m - 1u;} 39 static constexpr result_type default_seed = 1u; 42 explicit linear_congruential_engine(result_type s = default_seed); // before C++20 44 explicit linear_congruential_engine(result_type s); // C++20 46 void seed(result_type s = default_seed); [all …]
|
| /src/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 …]
|
| /src/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 …]
|