Searched refs:_Gen (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/libcxx/include/__random/ |
| H A D | uniform_random_bit_generator.h | 31 template <class _Gen> 32 concept uniform_random_bit_generator = invocable<_Gen&> && unsigned_integral<invoke_result_t<_Gen&>… 33 { _Gen::min() } -> same_as<invoke_result_t<_Gen&>>; 34 { _Gen::max() } -> same_as<invoke_result_t<_Gen&>>; 35 requires bool_constant<(_Gen::min() < _Gen::max())>::value;
|
| H A D | piecewise_constant_distribution.h | 242 typedef uniform_real_distribution<result_type> _Gen; in operator() typedef 243 result_type __u = _Gen()(__g); in operator()
|
| H A D | piecewise_linear_distribution.h | 247 typedef uniform_real_distribution<result_type> _Gen; in operator() typedef 248 result_type __u = _Gen()(__g); in operator()
|
| /freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
| H A D | ranges_shuffle.h | 43 template <random_access_iterator _Iter, sentinel_for<_Iter> _Sent, class _Gen> 44 requires permutable<_Iter> && uniform_random_bit_generator<remove_reference_t<_Gen>> 45 _LIBCPP_HIDE_FROM_ABI _Iter operator()(_Iter __first, _Sent __last, _Gen&& __gen) const { in operator() 46 _ClassicGenAdaptor<_Gen> __adapted_gen(__gen); in operator() 50 template <random_access_range _Range, class _Gen> 51 … requires permutable<iterator_t<_Range>> && uniform_random_bit_generator<remove_reference_t<_Gen>> 52 …_LIBCPP_HIDE_FROM_ABI borrowed_iterator_t<_Range> operator()(_Range&& __range, _Gen&& __gen) const… in operator() 53 return (*this)(ranges::begin(__range), ranges::end(__range), std::forward<_Gen>(__gen)); in operator()
|
| H A D | ranges_sample.h | 39 …mplate <input_iterator _Iter, sentinel_for<_Iter> _Sent, weakly_incrementable _OutIter, class _Gen> 41 uniform_random_bit_generator<remove_reference_t<_Gen>> 43 …operator()(_Iter __first, _Sent __last, _OutIter __out_first, iter_difference_t<_Iter> __n, _Gen&&… in operator() 44 _ClassicGenAdaptor<_Gen> __adapted_gen(__gen); in operator() 49 template <input_range _Range, weakly_incrementable _OutIter, class _Gen> 51 …ly_copyable<iterator_t<_Range>, _OutIter> && uniform_random_bit_generator<remove_reference_t<_Gen>> 53 …operator()(_Range&& __range, _OutIter __out_first, range_difference_t<_Range> __n, _Gen&& __gen) c… in operator() 55 …ges::begin(__range), ranges::end(__range), std::move(__out_first), __n, std::forward<_Gen>(__gen)); in operator()
|
| H A D | uniform_random_bit_generator_adaptor.h | 35 template <class _Gen> 39 _Gen& __gen_; 42 using result_type = invoke_result_t<_Gen&>; 44 _LIBCPP_HIDE_FROM_ABI static constexpr auto min() { return __remove_cvref_t<_Gen>::min(); } in min() 45 _LIBCPP_HIDE_FROM_ABI static constexpr auto max() { return __remove_cvref_t<_Gen>::max(); } in max() 47 _LIBCPP_HIDE_FROM_ABI constexpr explicit _ClassicGenAdaptor(_Gen& __g) : __gen_(__g) {} in _ClassicGenAdaptor()
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__random/ |
| H A D | piecewise_constant_distribution.h | 207 typedef uniform_real_distribution<result_type> _Gen; in operator() typedef 208 result_type __u = _Gen()(__g); in operator()
|
| H A D | piecewise_linear_distribution.h | 211 typedef uniform_real_distribution<result_type> _Gen; in operator() typedef 212 result_type __u = _Gen()(__g); in operator()
|