/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.real/ |
eval.pass.cpp | 15 // template<class _URNG> result_type operator()(_URNG& g); 38 std::vector<D::result_type> u; 41 D::result_type v = d(g); 45 D::result_type mean = std::accumulate(u.begin(), u.end(), 46 D::result_type(0)) / u.size(); 47 D::result_type var = 0; 48 D::result_type skew = 0; 49 D::result_type kurtosis = 0; 52 D::result_type d = (u[i] - mean); 53 D::result_type d2 = sqr(d) [all...] |
eval_param.pass.cpp | 15 // template<class _URNG> result_type operator()(_URNG& g, const param_type& parm); 40 std::vector<D::result_type> u; 43 D::result_type v = d(g, p); 47 D::result_type mean = std::accumulate(u.begin(), u.end(), 48 D::result_type(0)) / u.size(); 49 D::result_type var = 0; 50 D::result_type skew = 0; 51 D::result_type kurtosis = 0; 54 D::result_type d = (u[i] - mean); 55 D::result_type d2 = sqr(d) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/include/ |
random | 29 typedef UIntType result_type; 32 static constexpr result_type multiplier = a; 33 static constexpr result_type increment = c; 34 static constexpr result_type modulus = m; 35 static constexpr result_type min() { return c == 0u ? 1u: 0u;} 36 static constexpr result_type max() { return m - 1u;} 37 static constexpr result_type default_seed = 1u; 40 explicit linear_congruential_engine(result_type s = default_seed); 42 void seed(result_type s = default_seed); 46 result_type operator()() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.adapt/rand.adapt.shuf/ |
result_type.pass.cpp | 17 // typedef typename Engine::result_type result_type; 27 typedef UIntType result_type; typedef in class:rand1 30 result_type x_; 37 static const result_type _Min = Min; 38 static const result_type _Max = Max; 41 static _LIBCPP_CONSTEXPR result_type min() {return Min;} 42 static _LIBCPP_CONSTEXPR result_type max() {return Max;} 44 explicit rand1(result_type sd = Min) : x_(sd) 52 result_type operator()( [all...] |
eval.pass.cpp | 15 // result_type operator()(); 25 typedef UIntType result_type; typedef in class:rand1 28 result_type x_; 35 static const result_type _Min = Min; 36 static const result_type _Max = Max; 39 static _LIBCPP_CONSTEXPR result_type min() {return Min;} 40 static _LIBCPP_CONSTEXPR result_type max() {return Max;} 42 explicit rand1(result_type sd = Min) : x_(sd) 48 result_type operator()() 50 result_type r = x_ [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/ |
types.pass.cpp | 15 // typedef bool result_type; 24 typedef D::result_type result_type; typedef 25 static_assert((std::is_same<result_type, int>::value), ""); 29 typedef D::result_type result_type; typedef 30 static_assert((std::is_same<result_type, long>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
types.pass.cpp | 15 // typedef bool result_type; 24 typedef D::result_type result_type; typedef 25 static_assert((std::is_same<result_type, int>::value), ""); 29 typedef D::result_type result_type; typedef 30 static_assert((std::is_same<result_type, long>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/ |
types.pass.cpp | 15 // typedef bool result_type; 24 typedef D::result_type result_type; typedef 25 static_assert((std::is_same<result_type, int>::value), ""); 29 typedef D::result_type result_type; typedef 30 static_assert((std::is_same<result_type, long>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/ |
types.pass.cpp | 17 // typedef RealType result_type; 26 typedef D::result_type result_type; typedef 27 static_assert((std::is_same<result_type, double>::value), ""); 31 typedef D::result_type result_type; typedef 32 static_assert((std::is_same<result_type, float>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.chisq/ |
types.pass.cpp | 17 // typedef RealType result_type; 26 typedef D::result_type result_type; typedef 27 static_assert((std::is_same<result_type, double>::value), ""); 31 typedef D::result_type result_type; typedef 32 static_assert((std::is_same<result_type, float>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/ |
types.pass.cpp | 17 // typedef RealType result_type; 26 typedef D::result_type result_type; typedef 27 static_assert((std::is_same<result_type, double>::value), ""); 31 typedef D::result_type result_type; typedef 32 static_assert((std::is_same<result_type, float>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ |
types.pass.cpp | 17 // typedef RealType result_type; 26 typedef D::result_type result_type; typedef 27 static_assert((std::is_same<result_type, double>::value), ""); 31 typedef D::result_type result_type; typedef 32 static_assert((std::is_same<result_type, float>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.normal/ |
types.pass.cpp | 17 // typedef RealType result_type; 26 typedef D::result_type result_type; typedef 27 static_assert((std::is_same<result_type, double>::value), ""); 31 typedef D::result_type result_type; typedef 32 static_assert((std::is_same<result_type, float>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.t/ |
types.pass.cpp | 17 // typedef RealType result_type; 26 typedef D::result_type result_type; typedef 27 static_assert((std::is_same<result_type, double>::value), ""); 31 typedef D::result_type result_type; typedef 32 static_assert((std::is_same<result_type, float>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/ |
types.pass.cpp | 17 // typedef RealType result_type; 26 typedef D::result_type result_type; typedef 27 static_assert((std::is_same<result_type, double>::value), ""); 31 typedef D::result_type result_type; typedef 32 static_assert((std::is_same<result_type, float>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.extreme/ |
types.pass.cpp | 17 // typedef RealType result_type; 26 typedef D::result_type result_type; typedef 27 static_assert((std::is_same<result_type, double>::value), ""); 31 typedef D::result_type result_type; typedef 32 static_assert((std::is_same<result_type, float>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/ |
types.pass.cpp | 17 // typedef RealType result_type; 26 typedef D::result_type result_type; typedef 27 static_assert((std::is_same<result_type, double>::value), ""); 31 typedef D::result_type result_type; typedef 32 static_assert((std::is_same<result_type, float>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/ |
types.pass.cpp | 17 // typedef RealType result_type; 26 typedef D::result_type result_type; typedef 27 static_assert((std::is_same<result_type, int>::value), ""); 31 typedef D::result_type result_type; typedef 32 static_assert((std::is_same<result_type, unsigned long long>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.weibull/ |
types.pass.cpp | 17 // typedef RealType result_type; 26 typedef D::result_type result_type; typedef 27 static_assert((std::is_same<result_type, double>::value), ""); 31 typedef D::result_type result_type; typedef 32 static_assert((std::is_same<result_type, float>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/ |
types.pass.cpp | 15 // typedef bool result_type; 24 typedef D::result_type result_type; typedef 25 static_assert((std::is_same<result_type, int>::value), ""); 29 typedef D::result_type result_type; typedef 30 static_assert((std::is_same<result_type, long>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ |
types.pass.cpp | 15 // typedef bool result_type; 24 typedef D::result_type result_type; typedef 25 static_assert((std::is_same<result_type, double>::value), ""); 29 typedef D::result_type result_type; typedef 30 static_assert((std::is_same<result_type, float>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ |
types.pass.cpp | 15 // typedef bool result_type; 24 typedef D::result_type result_type; typedef 25 static_assert((std::is_same<result_type, double>::value), ""); 29 typedef D::result_type result_type; typedef 30 static_assert((std::is_same<result_type, float>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.adapt/rand.adapt.ibits/ |
result_type.pass.cpp | 17 // typedef UIntType result_type; 27 typedef UIntType result_type; typedef in class:rand1 30 result_type x_; 37 static const result_type _Min = Min; 38 static const result_type _Max = Max; 41 static _LIBCPP_CONSTEXPR result_type min() {return Min;} 42 static _LIBCPP_CONSTEXPR result_type max() {return Max;} 44 explicit rand1(result_type sd = Min) : x_(sd) 52 result_type operator()() 54 result_type r = x_ [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/refwrap/ |
weak_result.pass.cpp | 34 typedef float result_type; typedef in class:functor3 52 template <class U> static char test(typename U::result_type* = 0); 59 static_assert((std::is_same<std::reference_wrapper<functor1>::result_type, 61 static_assert((std::is_same<std::reference_wrapper<functor2>::result_type, 63 static_assert((std::is_same<std::reference_wrapper<functor3>::result_type, 65 static_assert((std::is_same<std::reference_wrapper<void()>::result_type, 67 static_assert((std::is_same<std::reference_wrapper<int*(double*)>::result_type, 69 static_assert((std::is_same<std::reference_wrapper<void(*)()>::result_type, 71 static_assert((std::is_same<std::reference_wrapper<int*(*)(double*)>::result_type, 73 static_assert((std::is_same<std::reference_wrapper<int*(C::*)(double*)>::result_type, [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/depr/depr.lib.binders/ |
test_func.h | 19 typedef long double result_type; typedef in class:test_func 25 result_type operator() (const first_argument_type& x, second_argument_type& y) const 27 result_type operator() (const first_argument_type& x, const second_argument_type& y) const 29 result_type operator() (first_argument_type& x, const second_argument_type& y) const
|