Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.71.254.241
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
include /
c++ /
9 /
pstl /
[ HOME SHELL ]
Name
Size
Permission
Action
algorithm_fwd.h
67.26
KB
-rw-r--r--
algorithm_impl.h
170.23
KB
-rw-r--r--
execution_defs.h
3.49
KB
-rw-r--r--
execution_impl.h
4.52
KB
-rw-r--r--
glue_algorithm_defs.h
31.52
KB
-rw-r--r--
glue_algorithm_impl.h
63.21
KB
-rw-r--r--
glue_execution_defs.h
1.57
KB
-rw-r--r--
glue_memory_defs.h
3.78
KB
-rw-r--r--
glue_memory_impl.h
19.12
KB
-rw-r--r--
glue_numeric_defs.h
6.47
KB
-rw-r--r--
glue_numeric_impl.h
11.36
KB
-rw-r--r--
memory_impl.h
1.95
KB
-rw-r--r--
numeric_fwd.h
7.92
KB
-rw-r--r--
numeric_impl.h
18.33
KB
-rw-r--r--
parallel_backend.h
629
B
-rw-r--r--
parallel_backend_tbb.h
25.88
KB
-rw-r--r--
parallel_backend_utils.h
5.48
KB
-rw-r--r--
parallel_impl.h
4.02
KB
-rw-r--r--
pstl_config.h
6.82
KB
-rw-r--r--
unseq_backend_simd.h
28.64
KB
-rw-r--r--
utils.h
4.5
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : execution_impl.h
// -*- C++ -*- //===-- execution_impl.h --------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef __PSTL_execution_impl_H #define __PSTL_execution_impl_H #include <iterator> #include <type_traits> #include "execution_defs.h" namespace __pstl { namespace __internal { using namespace __pstl::execution; /* predicate */ template <typename _Tp> std::false_type __lazy_and(_Tp, std::false_type) { return std::false_type{}; }; template <typename _Tp> inline _Tp __lazy_and(_Tp __a, std::true_type) { return __a; } template <typename _Tp> std::true_type __lazy_or(_Tp, std::true_type) { return std::true_type{}; }; template <typename _Tp> inline _Tp __lazy_or(_Tp __a, std::false_type) { return __a; } /* iterator */ template <typename _IteratorType, typename... _OtherIteratorTypes> struct __is_random_access_iterator { static constexpr bool value = __internal::__is_random_access_iterator<_IteratorType>::value && __internal::__is_random_access_iterator<_OtherIteratorTypes...>::value; typedef std::integral_constant<bool, value> type; }; template <typename _IteratorType> struct __is_random_access_iterator<_IteratorType> : std::is_same<typename std::iterator_traits<_IteratorType>::iterator_category, std::random_access_iterator_tag> { }; /* policy */ template <typename _Policy> struct __policy_traits { }; template <> struct __policy_traits<sequenced_policy> { typedef std::false_type allow_parallel; typedef std::false_type allow_unsequenced; typedef std::false_type allow_vector; }; template <> struct __policy_traits<unsequenced_policy> { typedef std::false_type allow_parallel; typedef std::true_type allow_unsequenced; typedef std::true_type allow_vector; }; #if __PSTL_USE_PAR_POLICIES template <> struct __policy_traits<parallel_policy> { typedef std::true_type allow_parallel; typedef std::false_type allow_unsequenced; typedef std::false_type allow_vector; }; template <> struct __policy_traits<parallel_unsequenced_policy> { typedef std::true_type allow_parallel; typedef std::true_type allow_unsequenced; typedef std::true_type allow_vector; }; #endif template <typename _ExecutionPolicy> using __collector_t = typename __internal::__policy_traits<typename std::decay<_ExecutionPolicy>::type>::__collector_type; template <typename _ExecutionPolicy> using __allow_vector = typename __internal::__policy_traits<typename std::decay<_ExecutionPolicy>::type>::__allow_vector; template <typename _ExecutionPolicy> using __allow_unsequenced = typename __internal::__policy_traits<typename std::decay<_ExecutionPolicy>::type>::__allow_unsequenced; template <typename _ExecutionPolicy> using __allow_parallel = typename __internal::__policy_traits<typename std::decay<_ExecutionPolicy>::type>::__allow_parallel; template <typename _ExecutionPolicy, typename... _IteratorTypes> auto __is_vectorization_preferred(_ExecutionPolicy&& __exec) -> decltype(__internal::__lazy_and(__exec.__allow_vector(), typename __internal::__is_random_access_iterator<_IteratorTypes...>::type())) { return __internal::__lazy_and(__exec.__allow_vector(), typename __internal::__is_random_access_iterator<_IteratorTypes...>::type()); } template <typename _ExecutionPolicy, typename... _IteratorTypes> auto __is_parallelization_preferred(_ExecutionPolicy&& __exec) -> decltype(__internal::__lazy_and(__exec.__allow_parallel(), typename __internal::__is_random_access_iterator<_IteratorTypes...>::type())) { return __internal::__lazy_and(__exec.__allow_parallel(), typename __internal::__is_random_access_iterator<_IteratorTypes...>::type()); } template <typename policy, typename... _IteratorTypes> struct __prefer_unsequenced_tag { static constexpr bool value = __internal::__allow_unsequenced<policy>::value && __internal::__is_random_access_iterator<_IteratorTypes...>::value; typedef std::integral_constant<bool, value> type; }; template <typename policy, typename... _IteratorTypes> struct __prefer_parallel_tag { static constexpr bool value = __internal::__allow_parallel<policy>::value && __internal::__is_random_access_iterator<_IteratorTypes...>::value; typedef std::integral_constant<bool, value> type; }; } // namespace __internal } // namespace __pstl #endif /* __PSTL_execution_impl_H */
Close