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

无数据

分类

全部后端开发(91)C++(48)区块链(30)Rust(12)综合其他(11)Krita(9)系统运维(2)存储(2)人工智能(1)笔试面试(1)

语言

全部英语(47)中文(简体)(45)韩语(3)日语(2)西班牙语(1)葡萄牙语(1)中文(繁体)(1)中文(繁体)(1)英语(1)

格式

全部PDF文档 PDF(72)其他文档 其他(23)PPT文档 PPT(9)
 
本次搜索耗时 0.020 秒,为您找到相关结果约 104 个.
  • 全部
  • 后端开发
  • C++
  • 区块链
  • Rust
  • 综合其他
  • Krita
  • 系统运维
  • 存储
  • 人工智能
  • 笔试面试
  • 全部
  • 英语
  • 中文(简体)
  • 韩语
  • 日语
  • 西班牙语
  • 葡萄牙语
  • 中文(繁体)
  • 中文(繁体)
  • 英语
  • 全部
  • PDF文档 PDF
  • 其他文档 其他
  • PPT文档 PPT
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • pdf文档 Leveraging a Functional Approach for More Testable and Maintainable ROS 2 Code

    set_map_service( const std::shared_ptr request, std::shared_ptr response); void generate_path_service( const std::shared_ptr request, std::shared_ptr response); bool set_costmap(const std_msgs::msg::UInt8MultiArray& costmap); Path generate_global_path(Position set_map_service( const std::shared_ptr request, std::shared_ptr response); void generate_path_service( const std::shared_ptr
    0 码力 | 200 页 | 1.77 MB | 5 月前
    3
  • ppt文档 Lock-Free Atomic Shared Pointers Without a Split Reference Count? It Can Be Done!

    danielanderson.net What we’ll learn today • How shared_ptr is implemented under the hood • Atomics and concurrency patterns • How existing atomic<shared_ptr> are implemented (the split reference count technique) used for • You’ve heard of shared_ptr Things we won’t cover • Alias pointers, weak pointers4 Daniel Anderson -- danielanderson.net What we’ll learn today • How shared_ptr is implemented under the the hood • Atomics and concurrency patterns • How existing atomic<shared_ptr> are implemented (the split reference count technique) • Deferred reclamation, i.e., garbage collection in C++ Some assumed
    0 码力 | 45 页 | 5.12 MB | 5 月前
    3
  • pdf文档 Back to Basics: Smart Pointers

    www.ModernesCpp.netSmart Pointer A First Overview std::unique_ptr – Exclusive Ownership std::shared_ptr – Shared Ownership std::weak_ptr – Break of Cyclic References Performance Concurrency Function Arguments and Return ValuesSmart Pointer A First Overview std::unique_ptr – Exclusive Ownership std::shared_ptr – Shared Ownership std::weak_ptr – Break of Cyclic References Performance Concurrency Function C++11 ▪ Owns the resource exclusively ▪ Can not be copied ▪ Deals with non-copy objects std::shared_ptr C++11 ▪ Shares a resource ▪ Supports an reference counter to the shared resource and manages it
    0 码力 | 30 页 | 625.43 KB | 5 月前
    3
  • ppt文档 C++高性能并行编程与优化 - 课件 - 02 现代 C++ 入门:RAII 内存管理

    针。比如右边这样: 更智能的指针: shared_ptr • 使用起来很困难的原因,在于 unique_ptr 解决重复释放 的方式是禁止拷贝,这样虽然有效率高的优势,但导致使 用困难,容易犯错等。 • 相比之下, 牺牲效率换来自由度的 shared_ptr 则允许 拷贝,他解决重复释放的方式是通过引用计数: 1. 当一个 shared_ptr 初始化时,将计数器设为 1 。 2. 当一个 shared_ptr 被拷贝时,计数器加 1 。 3. 当一个 shared_ptr 被解构时,计数器减 1 。减到 0 时 ,则自动销毁他指向的对象。 • 从而可以保证,只要还有存在哪怕一个指针指向该对象 ,就不会被解构。 更智能的指针: shared_ptr (续) • 我们可以使用 p.use_count() 来获取当前 指针的引用计数,看看他是不是在智能地 增减引用计数器。 增减引用计数器。 注意 p.func() 是 shared_ptr 类型本身的成 员函数,而 p->func() 是 p 指向对象(也 就是 C )的成员函数,不要混淆。 不影响 shared_ptr 计数:弱引用 weak_ptr • 有时候我们希望维护一个 shared_ptr 的弱引用 weak_ptr ,即:弱引用的拷贝与解构不影响其 引用计数器。 • 之后有需要时,可以通过 lock()
    0 码力 | 96 页 | 16.28 MB | 1 年前
    3
  • pdf文档 Modern C++ Tutorial: C++11/14/17/20 On the Fly

    Reference Counting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 5.2 std::shared_ptr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 5.3 std::unique_ptr mers no longer need to care about manually releasing memory. These smart pointers include std::shared_ptr/std::unique_ptr/std::weak_ptr, which need to include the header file . Note: The reference of resources. 57 5.2 std::shared_ptr CHAPTER 05 SMART POINTERS AND MEMORY MANAGEMENT 5.2 std::shared_ptr std::shared_ptr is a smart pointer that records how many shared_ptr points to an object, elimi-
    0 码力 | 92 页 | 1.79 MB | 1 年前
    3
  • pdf文档 Plug-in Based Software Architecture for Robotics

    interface name using LoaderType = pluginlib::ClassLoader std::shared_ptr loader = std::make_shared("package_name"); // In ROS world plugin name which is declared in the XML file. Maybe we send the derived class name? std::shared_ptr motion_planner = loader->createUniqueInstance("simple_motion_planner"); the interface name using LoaderType = pluginlib::ClassLoader std::shared_ptr loader = std::make_shared("package_name"); // In ROS world
    0 码力 | 75 页 | 2.40 MB | 5 月前
    3
  • pdf文档 现代C++ 教程:高速上手C++11/14/17/20

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 5.2 std::shared_ptr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 5.3 std::unique_ptr 增加一次对同一个对象的引用,那 么引用对象的引用计数就会增加一次,每删除一次引用,引用计数就会减一,当一个对象的引用计数减 为零时,就自动删除指向的堆内存。 52 5.2 std::shared_ptr 第 5 章智能指针与内存管理 在传统 C++ 中,『记得』手动释放资源,总不是最佳实践。因为我们很有可能就忘记了去释放资源 而导致泄露。所以通常的做法是对于一个对象而言,我们在构造函数的时候申请空间,而在析构函数(在 员不再需要关心手动释放内存。这些智能指针包括 std::shared_ptr/std::unique_ptr/std::weak_ptr, 使用它们需要包含头文件 。 注意:引用计数不是垃圾回收,引用计数能够尽快收回不再被使用的对象,同时在回收的过 程中也不会造成长时间的等待,更能够清晰明确的表明资源的生命周期。 5.2 std::shared_ptr std::shared_ptr 是一种智能指针,它能够记录多少个
    0 码力 | 83 页 | 2.42 MB | 1 年前
    3
  • pdf文档 Monads in Modern C++

    *o << " prints 9\n"; • views::nullable — Extra safety for maybe-like types — std::optional, shared_ptr, raw ptrs, result of find (?)© 2018 Bloomberg Finance L.P. All rights reserved. How does this *o << " prints 9\n"; • views::nullable — Extra safety for maybe-like types — std::optional, shared_ptr, raw ptrs, result of find (?) • Give us the basis to implement anything! p1255: A view of 0 out; 15: } and_then • views::nullable — Extra safety for maybe-like types — std::optional, shared_ptr, raw ptrs, result of find (?) p1255: A view of 0 or 1 elements: views::maybe by Steve Downey
    0 码力 | 94 页 | 4.56 MB | 5 月前
    3
  • pdf文档 Techniques to Optimise Multi-threaded Data Building During Game Development

    save a second or two Speaker notesORIGINAL NODE SORTING CODE struct Node; using NodePtr = std::shared_ptr; struct Prefab { uint64_t GetId() const; std::vector nodes_; }; struct Node primitive • Result: 100% CPU usage for many minutes SpinLock data_save_lock; void Process(std::shared_ptr data) { data->Processing(); { SpinLockGuard guard(data_save_lock); data->SaveFile(); std::mutex data_save_lock; std::lock_guard guard(data_save_lock); 1 2 void Process(std::shared_ptr data) 3 { 4 data->Processing(); 5 6 { 7 8 data->SaveFile(); 9 } 10 } 11 39To verify
    0 码力 | 99 页 | 2.40 MB | 5 月前
    3
  • pdf文档 Back to Basics: Concurrency

    std::atomicshared_ptr> g_config; void setDefaultHostname(const std::string& value) { std::shared_ptr blue = g_config.load(); do { std::shared_ptr std::map; std::atomicshared_ptr> g_config; // ... std::shared_ptr getDefaultHostname() { std::shared_ptr blue = g_config.load(); load(); const std::string& value = blue.at("default.hostname"); return std::shared_ptr(std::move(blue), &value); } 50 “Aliasing constructor” alert! The blue ConfigMap will stay
    0 码力 | 58 页 | 333.56 KB | 5 月前
    3
共 104 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 11
前往
页
相关搜索词
LeveragingFunctionalApproachforMoreTestableandMaintainableROSCodeLockFreeAtomicSharedPointersWithoutSplitReferenceCountItCanBeDoneBacktoBasicsSmartC++高性性能高性能并行编程优化课件02ModernTutorial11141720OntheFlyPluginBasedSoftwareArchitectureRobotics现代教程高速上手MonadsTechniquesOptimiseMultithreadedDataBuildingDuringGameDevelopmentConcurrency
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩