/freebsd/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; 39 result_type __alpha_; 40 result_type __beta_; 45 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __alpha = 1, result_type __beta = 1) in __alpha_() 48 _LIBCPP_HIDE_FROM_ABI result_type alpha() const { return __alpha_; } in alpha() 49 _LIBCPP_HIDE_FROM_ABI result_type beta() const { return __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 __alph 34 typedef _RealType result_type; global() typedef 199 typedef typename _Eng::result_type result_type; global() typedef [all...] |
H A D | normal_distribution.h | 35 typedef _RealType result_type; 38 result_type __mean_; 39 result_type __stddev_; 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __mean = 0, result_type __stddev = 1) in __mean_() 47 _LIBCPP_HIDE_FROM_ABI result_type mean() const { return __mean_; } in mean() 48 _LIBCPP_HIDE_FROM_ABI result_type stddev() const { return __stddev_; } 58 result_type __v_; 65 _LIBCPP_HIDE_FROM_ABI explicit normal_distribution(result_type __mean, result_type __stdde 33 typedef _RealType result_type; global() typedef 186 typedef typename _Eng::result_type result_type; global() typedef [all...] |
H A D | fisher_f_distribution.h | 34 typedef _RealType result_type; 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), __n_(__n) {} in __m_() 45 _LIBCPP_HIDE_FROM_ABI result_type m() const { return __m_; } 46 _LIBCPP_HIDE_FROM_ABI result_type n() const { return __n_; } in m() 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 __ 32 typedef _RealType result_type; global() typedef 146 typedef typename _Eng::result_type result_type; global() typedef [all...] |
H A D | uniform_int_distribution.h | 36 typedef _UIntType result_type; 39 typedef typename _Engine::result_type _Engine_result_type; 40 typedef __conditional_t<sizeof(_Engine_result_type) <= sizeof(result_type), result_type, _Engine_result_type> 67 _LIBCPP_HIDE_FROM_ABI result_type operator()() { return __eval(integral_constant<bool, _Rp != 0>()); } 70 _LIBCPP_HIDE_FROM_ABI result_type __eval(false_type); in operator() 71 _LIBCPP_HIDE_FROM_ABI result_type __eval(true_type); 104 return static_cast<result_type>(__e_() & __mask0_); in __independent_bits_engine() 109 const size_t __w_rt = numeric_limits<result_type>::digits; in __independent_bits_engine() 110 result_type __s in __independent_bits_engine() 37 typedef _UIntType result_type; global() typedef 161 typedef _IntType result_type; global() typedef 278 typedef typename _Eng::result_type result_type; global() typedef [all...] |
H A D | weibull_distribution.h | 35 typedef _RealType result_type; 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), __b_(__b) {} 46 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } in a() 47 _LIBCPP_HIDE_FROM_ABI result_type b() const { return __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 __ 32 typedef _RealType result_type; global() typedef 138 typedef typename _Eng::result_type result_type; global() typedef [all...] |
H A D | cauchy_distribution.h | 35 typedef _RealType result_type; 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), __b_(__b) {} in __a_() 46 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } 47 _LIBCPP_HIDE_FROM_ABI result_type b() const { return __b_; } 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 __ 33 typedef _RealType result_type; global() typedef 147 typedef typename _Eng::result_type result_type; global() typedef [all...] |
H A D | extreme_value_distribution.h | 35 typedef _RealType result_type; 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), __b_(__b) {} in __a_() 46 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } 47 _LIBCPP_HIDE_FROM_ABI result_type b() const { return __b_; } 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 __ 33 typedef _RealType result_type; global() typedef 147 typedef typename _Eng::result_type result_type; global() typedef [all...] |
H A D | lognormal_distribution.h | 35 typedef _RealType result_type; 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), __s_(__s) {} 46 _LIBCPP_HIDE_FROM_ABI result_type m() const { return __m_; } in m() 47 _LIBCPP_HIDE_FROM_ABI result_type s() const { return __s_; } 56 normal_distribution<result_type> __nd_; 62 _LIBCPP_HIDE_FROM_ABI explicit lognormal_distribution(result_type __m, result_type __ 32 typedef _RealType result_type; global() typedef [all...] |
H A D | uniform_real_distribution.h | 34 typedef _RealType result_type; 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), __b_(__b) {} 45 _LIBCPP_HIDE_FROM_ABI result_type a() const { return __a_; } 46 _LIBCPP_HIDE_FROM_ABI result_type b() const { return __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 __ 32 typedef _RealType result_type; global() typedef 144 typedef typename _Eng::result_type result_type; global() typedef [all...] |
H A D | exponential_distribution.h | 36 typedef _RealType result_type; 39 result_type __lambda_; 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __lambda = 1) : __lambda_(__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(__lambda)) {} 63 _LIBCPP_HIDE_FROM_ABI explicit exponential_distribution(result_type __lambda = 1) : __p_(param_type(__lambda)) {} in exponential_distribution() 70 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { 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(); } 82 _LIBCPP_HIDE_FROM_ABI result_type mi in operator() 34 typedef _RealType result_type; global() typedef 142 typedef typename _Eng::result_type result_type; global() typedef [all...] |
H A D | student_t_distribution.h | 36 typedef _RealType result_type; 39 result_type __n_; 44 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __n = 1) : __n_(__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)) {} 64 _LIBCPP_HIDE_FROM_ABI explicit student_t_distribution(result_type __n = 1) : __p_(param_type(__n)) {} in student_t_distribution() 71 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g) { 75 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); in student_t_distribution() 78 _LIBCPP_HIDE_FROM_ABI result_type in reset() 34 typedef _RealType result_type; global() typedef 140 typedef typename _Eng::result_type result_type; global() typedef [all...] |
H A D | piecewise_linear_distribution.h | 36 typedef _RealType result_type; 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, _UnaryOperation __fw); 58 _LIBCPP_HIDE_FROM_ABI vector<result_type> intervals() const { return __b_; } 59 _LIBCPP_HIDE_FROM_ABI vector<result_type> densities() const { return __densities_; } in intervals() 93 _LIBCPP_HIDE_FROM_ABI piecewise_linear_distribution(initializer_list<result_type> __b 34 typedef _RealType result_type; global() typedef 345 typedef typename _Eng::result_type result_type; global() typedef [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 | chi_squared_distribution.h | 34 typedef _RealType result_type; 37 result_type __n_; 42 _LIBCPP_HIDE_FROM_ABI explicit param_type(result_type __n = 1) : __n_(__n) {} 44 _LIBCPP_HIDE_FROM_ABI result_type n() const { return __n_; } 59 _LIBCPP_HIDE_FROM_ABI explicit chi_squared_distribution(result_type __n) : __p_(param_type(__n)) {} 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) { 72 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p) { 73 return gamma_distribution<result_type>(__p.n() / 2, 2)(__g); in reset() 77 _LIBCPP_HIDE_FROM_ABI result_type 31 typedef _RealType result_type; global() typedef 128 typedef typename _Eng::result_type result_type; global() typedef [all...] |
H A D | independent_bits_engine.h | 48 typedef _UIntType result_type; 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_result_type> 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( 47 typedef _UIntType result_type; global() typedef 187 __lshift(result_type) __lshift() argument [all...] |
H A D | piecewise_constant_distribution.h | 36 typedef _RealType result_type; 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, _UnaryOperation __fw); 58 _LIBCPP_HIDE_FROM_ABI vector<result_type> intervals() const { return __b_; } 59 _LIBCPP_HIDE_FROM_ABI vector<result_type> densities() const { return __densities_; } in intervals() 93 _LIBCPP_HIDE_FROM_ABI piecewise_constant_distribution(initializer_list<result_type> __b 34 typedef _RealType result_type; global() typedef 329 typedef typename _Eng::result_type result_type; global() typedef [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_; } 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) { 80 _LIBCPP_HIDE_FROM_ABI result_type operator()(_URNG& __g, const param_type& __p); 83 _LIBCPP_HIDE_FROM_ABI result_type 212 typedef typename _Eng::result_type result_type; global() 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; 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 ma [all...] |
H A D | subtract_with_carry_engine.h | 54 typedef _UIntType result_type; 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( 64 typedef _UIntType result_type; global() typedef [all...] |
H A D | mersenne_twister_engine.h | 139 typedef _UIntType result_type; 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; in discard() 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_mas 79 typedef _UIntType result_type; global() typedef 223 __lshift(result_type) __lshift() argument 243 __rshift(result_type) __rshift() argument [all...] |
H A D | random_device.h | 47 typedef unsigned result_type; 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; } 54 _LIBCPP_HIDE_FROM_ABI static _LIBCPP_CONSTEXPR result_type max() { return _Max; } 66 result_type operator()(); 48 typedef unsigned result_type; global() typedef
|
/freebsd/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 …]
|
/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; 78 static const result_type _Min = 0; 79 static const result_type _Max = 0xFFFFFFFF; 84 result_type operato 77 typedef uint_fast32_t result_type; global() typedef [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 …]
|