 stdx::interval, a library for intervals on totally ordered setsstdx::interval, a library for intervals on totally ordered sets Eric Hughes, Meadhbh Hamrick stdx::interval, a library for intervals on totally ordered sets Eric Hughes, Meadhbh Hamrick In brief stdx::interval stdx::interval implements the mathematical sense of an interval on a totally ordered set. The library reasons about intervals as sets, not as interval expressions. The library is header-only and targets under the MIT License. Features Predicates Membership. Determine if a point is a member of the interval as a set. Equality. Compares the intervals as sets, not as specifications. Operations Point comparison0 码力 | 1 页 | 45.14 KB | 6 月前3 stdx::interval, a library for intervals on totally ordered setsstdx::interval, a library for intervals on totally ordered sets Eric Hughes, Meadhbh Hamrick stdx::interval, a library for intervals on totally ordered sets Eric Hughes, Meadhbh Hamrick In brief stdx::interval stdx::interval implements the mathematical sense of an interval on a totally ordered set. The library reasons about intervals as sets, not as interval expressions. The library is header-only and targets under the MIT License. Features Predicates Membership. Determine if a point is a member of the interval as a set. Equality. Compares the intervals as sets, not as specifications. Operations Point comparison0 码力 | 1 页 | 45.14 KB | 6 月前3
 Sender Patterns to Wrangle Concurrency in Embedded Devicestemplate <stdx::ct_string C, stdx::ct_string L, stdx::ct_string S, typename Ctx> bool handled{}; 1 2 3 4 5 struct debug_handler { 6 template <stdx::ct_string C, stdx::ct_string L, stdx::ct_string S template <stdx::ct_string C, stdx::ct_string L, stdx::ct_string S, typename Ctx> bool handled{}; 1 2 3 4 5 struct debug_handler { 6 template <stdx::ct_string C, stdx::ct_string L, stdx::ct_string S template <stdx::ct_string C, stdx::ct_string L, stdx::ct_string S, typename Ctx> constexpr auto signal(auto ...) -> void { handled Sender Patterns to Wrangle Concurrency in Embedded Devicestemplate <stdx::ct_string C, stdx::ct_string L, stdx::ct_string S, typename Ctx> bool handled{}; 1 2 3 4 5 struct debug_handler { 6 template <stdx::ct_string C, stdx::ct_string L, stdx::ct_string S template <stdx::ct_string C, stdx::ct_string L, stdx::ct_string S, typename Ctx> bool handled{}; 1 2 3 4 5 struct debug_handler { 6 template <stdx::ct_string C, stdx::ct_string L, stdx::ct_string S template <stdx::ct_string C, stdx::ct_string L, stdx::ct_string S, typename Ctx> constexpr auto signal(auto ...) -> void { handled- = true; } }; } 1 2 template <stdx::ct_string C 0 码力 | 106 页 | 26.36 MB | 6 月前3
 Vectorizing a CFD Code With std::simd Supplemented by Transparent Loading and Storing&val1, const T &val2) { // ... auto mask = u < thres; if (stdx::any_of(mask)) twoF = 2.0 + u * (2.0 / 3.0 + u * (0.4 + 2.0 / 7.0 * u)); if (!stdx::all_of(mask)) where(!mask, twoF) = log(zeta) / f; // simd_members(result, result, [&](auto& d, const auto& s) { d[i] = log(s[i]); }); } } return result; } { if (!stdx::all_of(mask)) where(!mask, twoF) = MaskedLog(mask, zeta) / f; }Extended Features: Handling of Conditions reflection support 39 Olaf Krzikalla, DLR SP, 2024-09-17 template Vectorizing a CFD Code With std::simd Supplemented by Transparent Loading and Storing&val1, const T &val2) { // ... auto mask = u < thres; if (stdx::any_of(mask)) twoF = 2.0 + u * (2.0 / 3.0 + u * (0.4 + 2.0 / 7.0 * u)); if (!stdx::all_of(mask)) where(!mask, twoF) = log(zeta) / f; // simd_members(result, result, [&](auto& d, const auto& s) { d[i] = log(s[i]); }); } } return result; } { if (!stdx::all_of(mask)) where(!mask, twoF) = MaskedLog(mask, zeta) / f; }Extended Features: Handling of Conditions reflection support 39 Olaf Krzikalla, DLR SP, 2024-09-17 template- requires(!is_stdx_simd - ) inline auto where(const M& mask, T& dest) { return simd_access::where_expression - (mask 0 码力 | 58 页 | 2.68 MB | 6 月前3
 C++26 Preview&&; 85generator function construction #include C++26 Preview&&; 85generator function construction #include- namespace stdx = std::experimental; using intv = stdx::fixed_size_simd - ; std::random_device rd; // a seed source for the random namespace stdx = std::experimental; using intv = stdx::fixed_size_simd - ; int main() { std::array - a_data = {-1, 2, 3, 4, 5, 6, 7, -8}; intv a; a.copy_from( a_data.begin(), stdx::vector_aligned 0 码力 | 118 页 | 2.02 MB | 6 月前3
 simd: How to Express Inherent Parallelism Efficiently Via Data-Parallel Typesend(), [](auto& v) { 3 v = std::sin(v); 4 }); 5 } • Lambda called with stdx::native_simd simd: How to Express Inherent Parallelism Efficiently Via Data-Parallel Typesend(), [](auto& v) { 3 v = std::sin(v); 4 }); 5 } • Lambda called with stdx::native_simd- . • Epilogue: called with stdx::simd - with different Abi so that the remainder of data is processed 0 码力 | 160 页 | 8.82 MB | 6 月前3
 Performance MatterssetHandler(SIGSEGV, onFault); for(Function* f: functions) { f->setTrap(); } setTimer(interval); int r = stabilizer_main(argc, argv); return r; } void setTimer(int msec) { struct 1000) / 1000; timer.it_value.tv_usec = 1000 * (msec % 1000); timer.it_interval.tv_sec = 0; timer.it_interval.tv_usec = 0; setitimer(ITIMER_REAL, &timer, 0); } A Typical performance setHandler(SIGSEGV, onFault); for(Function* f: functions) { f->setTrap(); } setTimer(interval); int r = stabilizer_main(argc, argv); return r; } void setTimer(int msec) { struct0 码力 | 197 页 | 11.90 MB | 6 月前3 Performance MatterssetHandler(SIGSEGV, onFault); for(Function* f: functions) { f->setTrap(); } setTimer(interval); int r = stabilizer_main(argc, argv); return r; } void setTimer(int msec) { struct 1000) / 1000; timer.it_value.tv_usec = 1000 * (msec % 1000); timer.it_interval.tv_sec = 0; timer.it_interval.tv_usec = 0; setitimer(ITIMER_REAL, &timer, 0); } A Typical performance setHandler(SIGSEGV, onFault); for(Function* f: functions) { f->setTrap(); } setTimer(interval); int r = stabilizer_main(argc, argv); return r; } void setTimer(int msec) { struct0 码力 | 197 页 | 11.90 MB | 6 月前3
 Celery v5.0.1 Documentationtask in seconds or a datetime, or you can use periodic tasks for recurring events based on a simple interval, or Crontab expressions supporting minute, hour, day of week, day of month, and month of year. {'visibility_timeout': 3600} # 1 hour. The default visibility timeout is 30 seconds. Polling Interval The polling interval decides the number of seconds to sleep between unsuccessful polls. This value can be so increasing the polling interval can save you money. The polling interval can be set via the broker_transport_options setting: broker_transport_options = {'polling_interval': 0.3} Very frequent polling0 码力 | 2313 页 | 2.13 MB | 1 年前3 Celery v5.0.1 Documentationtask in seconds or a datetime, or you can use periodic tasks for recurring events based on a simple interval, or Crontab expressions supporting minute, hour, day of week, day of month, and month of year. {'visibility_timeout': 3600} # 1 hour. The default visibility timeout is 30 seconds. Polling Interval The polling interval decides the number of seconds to sleep between unsuccessful polls. This value can be so increasing the polling interval can save you money. The polling interval can be set via the broker_transport_options setting: broker_transport_options = {'polling_interval': 0.3} Very frequent polling0 码力 | 2313 页 | 2.13 MB | 1 年前3
 Celery v5.0.2 Documentationtask in seconds or a datetime, or you can use periodic tasks for recurring events based on a simple interval, or Crontab expressions supporting minute, hour, day of week, day of month, and month of year. {'visibility_timeout': 3600} # 1 hour. The default visibility timeout is 30 seconds. Polling Interval The polling interval decides the number of seconds to sleep between unsuccessful polls. This value can be so increasing the polling interval can save you money. The polling interval can be set via the broker_transport_options setting: broker_transport_options = {'polling_interval': 0.3} Very frequent polling0 码力 | 2313 页 | 2.14 MB | 1 年前3 Celery v5.0.2 Documentationtask in seconds or a datetime, or you can use periodic tasks for recurring events based on a simple interval, or Crontab expressions supporting minute, hour, day of week, day of month, and month of year. {'visibility_timeout': 3600} # 1 hour. The default visibility timeout is 30 seconds. Polling Interval The polling interval decides the number of seconds to sleep between unsuccessful polls. This value can be so increasing the polling interval can save you money. The polling interval can be set via the broker_transport_options setting: broker_transport_options = {'polling_interval': 0.3} Very frequent polling0 码力 | 2313 页 | 2.14 MB | 1 年前3
 Celery v5.0.5 Documentationtask in seconds or a datetime, or you can use periodic tasks for recurring events based on a simple interval, or Crontab expressions supporting minute, hour, day of week, day of month, and month of year. {'visibility_timeout': 3600} # 1 hour. The default visibility timeout is 30 seconds. Polling Interval The polling interval decides the number of seconds to sleep between unsuccessful polls. This value can be so increasing the polling interval can save you money. The polling interval can be set via the broker_transport_options setting: broker_transport_options = {'polling_interval': 0.3} Very frequent polling0 码力 | 2315 页 | 2.14 MB | 1 年前3 Celery v5.0.5 Documentationtask in seconds or a datetime, or you can use periodic tasks for recurring events based on a simple interval, or Crontab expressions supporting minute, hour, day of week, day of month, and month of year. {'visibility_timeout': 3600} # 1 hour. The default visibility timeout is 30 seconds. Polling Interval The polling interval decides the number of seconds to sleep between unsuccessful polls. This value can be so increasing the polling interval can save you money. The polling interval can be set via the broker_transport_options setting: broker_transport_options = {'polling_interval': 0.3} Very frequent polling0 码力 | 2315 页 | 2.14 MB | 1 年前3
 Celery v5.0.0 Documentationtask in seconds or a datetime, or you can use periodic tasks for recurring events based on a simple interval, or Crontab expressions supporting minute, hour, day of week, day of month, and month of year. {'visibility_timeout': 3600} # 1 hour. The default visibility timeout is 30 seconds. Polling Interval The polling interval decides the number of seconds to sleep between unsuccessful polls. This value can be so increasing the polling interval can save you money. The polling interval can be set via the broker_transport_options setting: broker_transport_options = {'polling_interval': 0.3} Very frequent polling0 码力 | 2309 页 | 2.13 MB | 1 年前3 Celery v5.0.0 Documentationtask in seconds or a datetime, or you can use periodic tasks for recurring events based on a simple interval, or Crontab expressions supporting minute, hour, day of week, day of month, and month of year. {'visibility_timeout': 3600} # 1 hour. The default visibility timeout is 30 seconds. Polling Interval The polling interval decides the number of seconds to sleep between unsuccessful polls. This value can be so increasing the polling interval can save you money. The polling interval can be set via the broker_transport_options setting: broker_transport_options = {'polling_interval': 0.3} Very frequent polling0 码力 | 2309 页 | 2.13 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词














 
  
 