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

无数据

分类

全部后端开发(66)C++(39)区块链(14)Rust(12)综合其他(4)系统运维(2)Krita(2)存储(2)人工智能(1)笔试面试(1)

语言

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

格式

全部PDF文档 PDF(72)
 
本次搜索耗时 0.020 秒,为您找到相关结果约 72 个.
  • 全部
  • 后端开发
  • C++
  • 区块链
  • Rust
  • 综合其他
  • 系统运维
  • Krita
  • 存储
  • 人工智能
  • 笔试面试
  • 全部
  • 英语
  • 中文(简体)
  • 韩语
  • 西班牙语
  • 日语
  • 葡萄牙语
  • 中文(繁体)
  • 中文(繁体)
  • 英语
  • 全部
  • PDF文档 PDF
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • 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 | 6 月前
    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 | 6 月前
    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 | 6 月前
    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 | 6 月前
    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 | 6 月前
    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 | 6 月前
    3
  • pdf文档 Curve支持S3 数据缓存方案

    () {} void Init(const S3ClientAdaptorOption option, S3Client *client, std::shared_ptr inodeManager);© XXX Page 5 of 9 int Write(Inode *inode, uint64_t offset, uint64_t allocateServerEps_; Thread bgFlushThread_; std::atomic toStop_; std::shared_ptr fsCacheManager_; std::shared_ptr inodeManager_; }; class S3ClientAdaptor; class ChunkCacheManager; class FileCacheManager; class FsCacheManager; using FileCacheManagerPtr = std::shared_ptr; using ChunkCacheManagerPtr = std::shared_ptr; using DataCachePtr = std::shared_ptr; class FsCacheManager { public: FsCacheManager()
    0 码力 | 9 页 | 179.72 KB | 6 月前
    3
  • pdf文档 Leveraging C++20/23 Features for Low Level Interactions

    template> class unique_ptr {...};The custom deleter for shared_ptr and unique_ptr are di�erent We’re used to this construct of a smart pointer: But this will cause not delete Where D is a (dangerous!) custom deleter de�ned by: shared_ptr my_ptr = rhs; unique_ptr my_uniqueptr = rhs; shared_ptr my_sharedptr(ref,D); template struct no_deleter { operator operator () (T* ptr) { // do nothing } }The custom deleter for shared_ptr and unique_ptr are di�erent We’re used to this construct of a smart pointer: But this will cause a ‘delete’ when the scope
    0 码力 | 56 页 | 5.39 MB | 6 月前
    3
共 72 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 8
前往
页
相关搜索词
LeveragingFunctionalApproachforMoreTestableandMaintainableROSCodeBacktoBasicsSmartPointersModernC++Tutorial11141720OntheFlyPluginBasedSoftwareArchitectureRobotics现代教程高速上手MonadsTechniquesOptimiseMultithreadedDataBuildingDuringGameDevelopmentConcurrencyCurve支持S3数据缓存方案23FeaturesLowLevelInteractions
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩