积分充值
 首页
前端开发
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文库
  • 综合
  • 文档
  • 文章

无数据

分类

全部后端开发(96)C++(96)Conan(52)

语言

全部英语(95)中文(简体)(1)

格式

全部PDF文档 PDF(90)PPT文档 PPT(6)
 
本次搜索耗时 0.017 秒,为您找到相关结果约 96 个.
  • 全部
  • 后端开发
  • C++
  • Conan
  • 全部
  • 英语
  • 中文(简体)
  • 全部
  • PDF文档 PDF
  • PPT文档 PPT
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • pdf文档 Unraveling string_view: Basics, Benefits, and Best Practices

    and their interoperability • When to use string_view • Using string_view safely • Intro to span • span vs. string_view • Case study of an optimization using string_view. 2Motivation • Consider a Caught with -Wdangling Check out MSVC’s Lifetime Rules of the C++ Core Guidelines (-WLifetime).span: Motivation Consider the following functions void foo(int* arr, int n) { for (int i = 0; i < n; type which can consume all these contiguous containers with a single interface? 36span: Motivation void foo(span s) { for (const auto i : s) { cout << i << ' '; } cout << '\n'; } int arr[]
    0 码力 | 61 页 | 1.11 MB | 6 月前
    3
  • pdf文档 Regular, Revisited

    data structures and algorithms to work properly. STL vocabulary types such as string_view, span, optional, expected etc., raise new questions regarding values types, whole-part semantics, copies analysis provides us some basis to evaluate non-owning reference parameters types (like string_view and span) in a practical fashion, without discarding Regular design. Titus Winters, 2018 abseil.io/bl Ciura | @ciura_victor - Regular, Revisited 93 Slide Title std::span C++20 https://en.cppreference.com/w/cpp/container/span Think "array view" as in std::string_view, but mutable on underlying
    0 码力 | 180 页 | 19.96 MB | 6 月前
    3
  • pdf文档 How Meta Made Debugging Async Code Easier with Coroutines and Senders

    pool, ctx); unifex::sync_wait(std::move(task)); return 0; }unifex::task async_main(unifex::span args, auto &pool, auto &io) { auto jobs = args | views::transform( [io](fs::path fileName) std::printf("Average word length in %s is %g\n", args[i], mean); } }unifex::task async_main(unifex::span args, auto &pool, auto &io) { auto jobs = args | views::transform( [io](fs::path fileName) std::printf("Average word length in %s is %g\n", args[i], mean); } }unifex::task async_main(unifex::span args, auto &pool, auto &io) { auto jobs = args | views::transform( [io](fs::path fileName)
    0 码力 | 131 页 | 907.41 KB | 6 月前
    3
  • pdf文档 Secrets of C++ Scripting Bindings

    concrete function (not a template) that can take any number of parameters. 1 Type generic_function(std::span); 12 . 11Copyright Jason Turner @le�icus emptycrate.com/idocpp A Generic Function Signature concrete function (not a template) that can take any number of parameters. 1 Type generic_function(std::span); What should this placeholder Type be? 12 . 11Copyright Jason Turner @le�icus emptycrate concrete function (not a template) that can take any number of parameters. 1 Type generic_function(std::span); What should this placeholder Type be? It needs to be able to hold all of the types we care
    0 码力 | 177 页 | 1.65 MB | 6 月前
    3
  • pdf文档 The Beauty and Power of Primitive C++

    accessor for an Vector called vs: Span vs() { return mbuf->vs; } Stroustrup - "Primitive" - CppCon 2020 14 std::string Flat::String Flat::Span Message descriptor User code access access type initializer type placement new flat type a Span is a range of elementsType mapping • Initializer types: ordinary types to initialize objects in the buffer • char, int32_t, uint32_t, … TimeStamp • char, int32_t, uint32_t, … • Flat::Span, Flat::Span_ref Stroustrup - "Primitive" - CppCon 2020 15 std::string Flat::String Flat::Span User code Message descriptorThe first
    0 码力 | 53 页 | 1.03 MB | 6 月前
    3
  • pdf文档 Hidden Overhead of a Function API

    24: Use a span or a span_p to designate a half-open sequence Reason Informal/non-explicit ranges are a source of errors. “use span” + “use a span”: 16 occurrences 110C++20 std::span vs raw pointer pointer and size #include <span> int raw_back(int const* ptr, size_t size) { return ptr[size - 1]; } int span_back(std::span span) { return span[span.size() - 1]; } 111 https://godbolt add eax, DWORD PTR [esp+4] mov eax, DWORD PTR [eax] ret mov ecx, DWORD PTR _span$[esp] mov eax, DWORD PTR _span$[esp-4] mov eax, DWORD PTR [eax+ecx*4-4] ret 0 S P A N 112 ?C++23 std::mdspan
    0 码力 | 158 页 | 2.46 MB | 6 月前
    3
  • pdf文档 Exploration of Strongly-typed Units: A Case Study from Digital Audio

    Interfacing with 3rd-party APIs …namespace tp { class Processor { public: virtual void Process(std::span buf) = 0; }; }namespace ni { using ProcessQuantityT = mp_units::quantityspan{}); }; template class ProcessorImpl : public tp::Processor { public: void Process(std::span buf) { m_impl.Process({ size()}); } private: T m_impl{}; }; }namespace ni { class LevelPrinter { public: void Process(std::span buf) { std::cout << '{'; for (auto i = 0u; i < buf.size(); ++i) {
    0 码力 | 106 页 | 5.66 MB | 6 月前
    3
  • pdf文档 Back to Basics: C++ Templates - Part 1

    away. ■ For example span ■ Can hold both C­Array and std::array. ■ Of course, range­based forready. ■ Cleaned up the code safely and with little overhead. 1 bool Send(const span& data) 2 { 3 return return write(data.data(), data.size()); 4 } 5 6 void Read(span data) 7 { 8 int i = 1; 9 // fill buffer with data 10 for(auto& c : data) { 11 c = i; 12 ++i; 13 } 14 } 15 16 void Main() 17 { For example span ■ Can hold both C­Array and std::array. ■ Of course, range­based forready. ■ Cleaned up the code safely and with little overhead. ■ C++20 Single Header Version of span: [2]. 1 template
    0 码力 | 17 页 | 817.47 KB | 6 月前
    3
  • pdf文档 C++20 STL Features: 1 Year of Development on GitHub

    } cout << i << endl; // ordinary read, 1729 } 20span 21span Encapsulates Ptr-Len Pairs • span is a non-owning view of contiguous elements • span is like a pair of T* and size_t, but better • spans accidental pointer arithmetic • span ➡ span; span ❌ span • Shallow const, like T* • span can be reassigned, can't modify elements • const span can't be reassigned, can elements • MSVC's std::span checks debug; gsl::span always 22Contiguous Range Constructor • GH-142, GH-500, GH-587 implemented by miscco #include #include #include <span> #include
    0 码力 | 45 页 | 989.72 KB | 6 月前
    3
  • ppt文档 C++20 STL Features: 1 Year of Development on GitHub

    } cout << i << endl; // ordinary read, 1729 }21 span22 span Encapsulates Ptr-Len Pairs • span is a non-owning view of contiguous elements • span is like a pair of T* and size_t, but better • spans accidental pointer arithmetic • span  span; span 🐞 span • Shallow const, like T* • span can be reassigned, can't modify elements • const span can't be reassigned, • MSVC's std::span checks debug; gsl::span always23 Contiguous Range Constructor • GH-142, GH-500, GH-587 implemented by miscco #include #include #include <span> #include
    0 码力 | 45 页 | 702.09 KB | 6 月前
    3
共 96 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 10
前往
页
相关搜索词
UnravelingstringviewBasicsBenefitsandBestPracticesRegularRevisitedHowMetaMadeDebuggingAsyncCodeEasierwithCoroutinesSendersSecretsofC++ScriptingBindingsTheBeautyPowerPrimitiveHiddenOverheadFunctionAPIExplorationStronglytypedUnitsCaseStudyfromDigitalAudioBacktoTemplatesPart20STLFeaturesYearDevelopmentonGitHub
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩