积分充值
 首页
前端开发
AngularDartElectronFlutterHTML/CSSJavaScriptReactSvelteTypeScriptVue.js构建工具
后端开发
.NetC#C++C语言DenoffmpegGoIdrisJavaJuliaKotlinLeanMakefilenimNode.jsPascalPHPPythonRISC-VRubyRustSwiftUML其它语言区块链开发测试微服务敏捷开发架构设计汇编语言
数据库
Apache DorisApache HBaseCassandraClickHouseFirebirdGreenplumMongoDBMySQLPieCloudDBPostgreSQLRedisSQLSQLiteTiDBVitess数据库中间件数据库工具数据库设计
系统运维
AndroidDevOpshttpdJenkinsLinuxPrometheusTraefikZabbix存储网络与安全
云计算&大数据
Apache APISIXApache FlinkApache KarafApache KyuubiApache OzonedaprDockerHadoopHarborIstioKubernetesOpenShiftPandasrancherRocketMQServerlessService MeshVirtualBoxVMWare云原生CNCF机器学习边缘计算
综合其他
BlenderGIMPKiCadKritaWeblate产品与服务人工智能亿图数据可视化版本控制笔试面试
文库资料
前端
AngularAnt DesignBabelBootstrapChart.jsCSS3EchartsElectronHighchartsHTML/CSSHTML5JavaScriptJerryScriptJestReactSassTypeScriptVue前端工具小程序
后端
.NETApacheC/C++C#CMakeCrystalDartDenoDjangoDubboErlangFastifyFlaskGinGoGoFrameGuzzleIrisJavaJuliaLispLLVMLuaMatplotlibMicronautnimNode.jsPerlPHPPythonQtRPCRubyRustR语言ScalaShellVlangwasmYewZephirZig算法
移动端
AndroidAPP工具FlutterFramework7HarmonyHippyIoniciOSkotlinNativeObject-CPWAReactSwiftuni-appWeex
数据库
ApacheArangoDBCassandraClickHouseCouchDBCrateDBDB2DocumentDBDorisDragonflyDBEdgeDBetcdFirebirdGaussDBGraphGreenPlumHStreamDBHugeGraphimmudbIndexedDBInfluxDBIoTDBKey-ValueKitDBLevelDBM3DBMatrixOneMilvusMongoDBMySQLNavicatNebulaNewSQLNoSQLOceanBaseOpenTSDBOracleOrientDBPostgreSQLPrestoDBQuestDBRedisRocksDBSequoiaDBServerSkytableSQLSQLiteTiDBTiKVTimescaleDBYugabyteDB关系型数据库数据库数据库ORM数据库中间件数据库工具时序数据库
云计算&大数据
ActiveMQAerakiAgentAlluxioAntreaApacheApache APISIXAPISIXBFEBitBookKeeperChaosChoerodonCiliumCloudStackConsulDaprDataEaseDC/OSDockerDrillDruidElasticJobElasticSearchEnvoyErdaFlinkFluentGrafanaHadoopHarborHelmHudiInLongKafkaKnativeKongKubeCubeKubeEdgeKubeflowKubeOperatorKubernetesKubeSphereKubeVelaKumaKylinLibcloudLinkerdLonghornMeiliSearchMeshNacosNATSOKDOpenOpenEBSOpenKruiseOpenPitrixOpenSearchOpenStackOpenTracingOzonePaddlePaddlePolicyPulsarPyTorchRainbondRancherRediSearchScikit-learnServerlessShardingSphereShenYuSparkStormSupersetXuperChainZadig云原生CNCF人工智能区块链数据挖掘机器学习深度学习算法工程边缘计算
UI&美工&设计
BlenderKritaSketchUI设计
网络&系统&运维
AnsibleApacheAWKCeleryCephCI/CDCurveDevOpsGoCDHAProxyIstioJenkinsJumpServerLinuxMacNginxOpenRestyPrometheusServertraefikTrafficUnixWindowsZabbixZipkin安全防护系统内核网络运维监控
综合其它
文章资讯
 上传文档  发布文章  登录账户
IT文库
  • 综合
  • 文档
  • 文章

无数据

分类

全部后端开发(34)C++(34)

语言

全部英语(34)

格式

全部PDF文档 PDF(28)PPT文档 PPT(6)
 
本次搜索耗时 0.016 秒,为您找到相关结果约 34 个.
  • 全部
  • 后端开发
  • C++
  • 全部
  • 英语
  • 全部
  • PDF文档 PDF
  • PPT文档 PPT
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • ppt文档 C++20's <Chrono>

    12 C++20’s <chrono> Calendars and Time Zones in MSVC Miya Natsuhara ("MEE-yuh Not-soo-HAR-uh") Miya.Natsuhara@microsoft.com Software Engineer, Visual C++ LibrariesWelcome to CppCon 2021! Join tracking the issues, PRs, discussions, etc. related to C++20 chrono: Extensions to <chrono> (github.com) • Feature branch (feature/chrono) for rapid development and collaboration • Code Review Videos class types • chrono::day • chrono::month • chrono::year • chrono::month_day • chrono::weekday • chrono::weekday_indexed • chrono::year_month_day • chrono::year_month_day_last • chrono::year_month_weekday_last
    0 码力 | 55 页 | 8.67 MB | 5 月前
    3
  • pdf文档 Au Units

    implement: std::chrono::nanoseconds elapsed_time(uint64_t num_cpu_ticks); 1 2 3 4 8Example: “CPU ticks” time units constexpr uint64_t CPU_CLOCK_HZ = 400'000'000; // API to implement: std::chrono::nanoseconds num_cpu_ticks); 1 2 3 4 std::chrono::nanoseconds elapsed_time(uint64_t num_cpu_ticks) { using NS_PER_TICK = std::ratio<1'000'000'000, CPU_CLOCK_HZ>; return std::chrono::nanoseconds{ num_cpu_ticks uint64_t CPU_CLOCK_HZ = 400'000'000; // API to implement: std::chrono::nanoseconds elapsed_time(uint64_t num_cpu_ticks); 1 2 3 4 std::chrono::nanoseconds elapsed_time(uint64_t num_cpu_ticks) { using
    0 码力 | 191 页 | 22.37 MB | 5 月前
    3
  • pdf文档 LITERALS SAFELY for Types that Behave as though Built-in - Pablo Halpern - CppCon 2021

    0_C ; // floating point UDL IPv4Addr loopback = "127.0.0.1"_IPv4; // string UDL std::chrono::hours half_day = 12h ; // integer UDL const std::string greeting = "hello"s ; 2i; // complex(5.0, -3.2)Chrono duration UDLs ■ In sub-namespace chrono_literals: ■ Namespace std::chrono::chrono_literals is an alias for std::literals::chrono_literals. 10/26/21 Pablo Halpern literal type h chrono::hours Appropriate floating-point instantiation of chrono::duration min chrono::minutes s chrono::seconds ms chrono::milliseconds us chrono::microseconds ns chrono::nanoseconds
    0 码力 | 66 页 | 1.47 MB | 5 月前
    3
  • pdf文档 Constructing Generic Algorithms

    } 49 . 1TESTING WITH MORE TYPES TESTING WITH MORE TYPES using namespace std::chrono_literals; std::vectorchrono::seconds> v = {0s, 1s, 2s, 3s, 5s}; assert(min_absent(std::begin(v), std::end(v)) 4s); 50 . 1TESTING WITH MORE TYPES TESTING WITH MORE TYPES using namespace std::chrono_literals; std::vectorchrono::seconds> v = {0s, 1s, 2s, 3s, 5s}; assert(min_absent(std::begin(v), std::end(v)) EVEN MORE TYPES using namespace std::chrono_literals; using T = std::chrono::time_pointchrono::system_clock, std::chrono::seconds>; std::vector v = {T{0s}, T{1s}
    0 码力 | 145 页 | 8.44 MB | 5 月前
    3
  • pdf文档 Improving Our Safety With a Quantities and Units Library

    (4. * min + 40. * s) / km; const quantity ttg = time_to_goal(half_marathon_distance, pace); std::chrono::seconds seconds = value_cast(ttg); std::println("Expected race time {:%T}" (4. * min + 40. * s) / km; const quantity ttg = time_to_goal(half_marathon_distance, pace); std::chrono::seconds seconds = value_cast(ttg); std::println("Expected race time {:%T}" * min + 40. * s) / km; const quantity ttg = time_to_goal(half_marathon_distance, 1 / pace); std::chrono::seconds seconds = value_cast(ttg); std::println("Expected race time {:%T}"
    0 码力 | 207 页 | 6.93 MB | 5 月前
    3
  • ppt文档 A Crash Course in Calendars, Dates, Time, and Time Zones

    Agenda  Compile-Time Rational Numbers  Durations  Clocks  Time Points  Dates  Time Zones <chrono> 4 Agenda  Compile-Time Rational Numbers  Durations  Clocks  Time Points  Dates rational numbers at compile time  Always normalized representation  Needed for durations in the <chrono> library6 Compile-Time Rational Numbers  Define a rational number: using r1 = ratio<1, 60>; Time Zones10 Durations  Interval between two points in time  Represented by std::duration from <chrono>, contains:  A tick  A tick period = seconds between 2 ticks = rational constant  template
    0 码力 | 43 页 | 551.60 KB | 5 月前
    3
  • pdf文档 Code Generation from Unified Robot Description Format for Accelerated Robotics

    ,KI::get_num_ joints()>::Random(); fk_interface::ForwardKinematicsInterface fk_interfacei start = std::chrono::high_resotution_ctock::now(); (int k = 9; k < muttiptiery kt+) { (int = 9; < iterations; i++r) { vatues[il); fk_interface.forward kinematics(); stop = std::chrono: :high_resotution_ ctocks:now(); duration = std::chrono::duration_castchrono::nanoseconds>(stop - start); cout << ts()>::Random(); fk_interface: :ForwardkinematicsInterface fk_interface; auto start = std::chrono::high_resotution_ ctock::now(); for (int k = 9; k < muttiptiery kt+) { for (int 1 = 69; 1< iterations;
    0 码力 | 93 页 | 9.29 MB | 5 月前
    3
  • pdf文档 Many Ways to Kill an Orc (or a Hero)

    // #include , <chrono>, template auto test(F f, Args &&... args) { using namespace std; using namespace std::chrono; auto pre = high_r attack(hero, *p); return victims.size(); // whatever }); using namespace std::chrono; std::print("Attacking {} victims {} times in {}", std::size(victims), M, durat attack(hero, *p); return victims.size(); // whatever }); using namespace std::chrono; std::print("Attacking {} victims {} times in {}", std::size(victims), M, durat
    0 码力 | 202 页 | 1.26 MB | 5 月前
    3
  • pdf文档 Hidden Overhead of a Function API

    ~INT() {} }; 46Libraries that wrap integers ● Smart pointers similarly wrap raw pointers ● std::chrono ● All other units libraries ● Safe integers ● Bindings for other languages 47Wrapper over int the popular libraries, right?std::chrono #include <chrono> int64_t int_seconds() { return 60; } std::chrono::seconds chrono_seconds() { return std::chrono::seconds{60}; } static_assert( static_assert(std::is_same_vchrono::seconds::rep>); 65 https://godbolt.org/z/E5e1nGY94armv8-a clang 18.1.0 x86-64 gcc 14.2 x64 msvc v19.40 VS17.10 mov w0, #60 ret mov eax, 60 ret mov eax, 60
    0 码力 | 158 页 | 2.46 MB | 5 月前
    3
  • ppt文档 C++20: An (Almost) Complete Overview

    Calendars & Timezones  <chrono> is extended to support calendars and timezones  Only Gregorian calendar is supported  Custom calendars can be added and can interoperate with <chrono>59 Calendars & Timezones certain duration  Additionally:  using sys_seconds = sys_timechrono::seconds>;  using sys_days = sys_timechrono::days>;  Example: system_clock::time_point t { sys_days { 2020y
    0 码力 | 85 页 | 512.18 KB | 5 月前
    3
共 34 条
  • 1
  • 2
  • 3
  • 4
前往
页
相关搜索词
C++20ChronoAuUnitsLITERALSSAFELYforTypesthatBehaveasthoughBuiltinPabloHalpernCppCon2021ConstructingGenericAlgorithmsImprovingOurSafetyWithQuantitiesandLibraryCrashCourseCalendarsDatesTimeZonesCodeGenerationfromUnifiedRobotDescriptionFormatAcceleratedRoboticsManyWaystoKillanOrcorHeroHiddenOverheadofFunctionAPIAnAlmostCompleteOverview
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩