C++高性能并行编程与优化 - 课件 - 16 现代 CMake 模块化项目管理指南CMake # 现代 CMake 模块化项目管理指南 彭于斌 (@archibate) 课件 & 源码:https://github.com/parallel101/course 往期录播:https://space.bilibili.com/263032155 ## 第一章:文件 / 目录组织规范 基于 CMake 的 C/C++ 项目,如何优雅地、模块化地组织大量源文件? ## 推荐的目录组织方式 目录组织格式: • 项目名 /include/ 项目名 / 模块名 .h • 项目名 /src/ 模块名 .cpp • CMakeLists.txt 中写: • target include directories(项目名 PUBLIC include) • 源码文件中写: • #include < 项目名 / 模块名 .h> • 项目名:: 函数名 (); ## 推荐的目录组织方式 推荐的目录组织方式 - 头文件(项目名 /include/ 项目名 / 模块名 .h)中写: • #pragma once • namespace 项目名 { • void 函数名(); • } • 实现文件(项目名 /src/ 模块名 .cpp)中写: • #include < 项目名 / 模块名 .h> • namespace 项目名 { • void 函数名 () {0 码力 | 56 页 | 6.87 MB | 2 年前3
Julia v1.7.3 Documentationaccess 394 36.9 Use naming conventions consistent with Julia base/395 36.10 Write functions with argument ordering similar to Julia Base 395 36.11 Don't overuse try-catch 396 36.12 Don't Don't expose unsafe operations at the interface level 397 36.18 Don't overload methods of base container types 397 36.19 Avoid type piracy 398 36.20 Be careful with type equality 398 36.21 Command-line Options 430 II Base 432 41 Essentials 433 41.1 Introduction 433 41.2 Getting Around 433 41.3 Keywords 437 41.4 Standard Modules 451 41.5 Base Submodules 452 410 码力 | 1378 页 | 4.74 MB | 2 年前3
Back to Basics Unit Testingare the first line of defense (but not the only line) • Unit tests are an integral part of the code base ## Rule 0 ## Write unit tests ## DOMAINS Good Process Good Tests Good Code ## Part 1: Good Tests0 码力 | 109 页 | 4.13 MB | 1 年前3
Julia 1.9.0 rc2 Documentation. 447 36.9 Use naming conventions consistent with Julia base/ ..... 448 36.10 Write functions with argument ordering similar to Julia Base ..... 448 36.11 Don't overuse try-catch ..... 449 Don't expose unsafe operations at the interface level ..... 450 36.18 Don't overload methods of base container types ..... 450 36.19 Avoid type piracy ..... 451 36.20 Be careful with type equality switches for Julia 490 II Base 492 41 Essentials 493 41.1 Introduction 493 41.2 Getting Around 493 41.3 Keywords 498 41.4 Standard Modules 516 41.5 Base Submodules 517 41.6 All Objects0 码力 | 1644 页 | 5.27 MB | 2 年前3
Julia 1.10.0 beta3 Documentation. 450 36.9 Use naming conventions consistent with Julia base/ ..... 451 36.10 Write functions with argument ordering similar to Julia Base ..... 451 36.11 Don't overuse try-catch ..... 452 Don't expose unsafe operations at the interface level ..... 453 36.18 Don't overload methods of base container types ..... 454 36.19 Avoid type piracy ..... 454 36.20 Be careful with type equality ... 493 II Base ..... 495 41 Essentials ..... 496 41.1 Introduction ..... 496 41.2 Getting Around ..... 496 41.3 Keywords ..... 501 41.4 Standard Modules ..... 520 41.5 Base Submodules .0 码力 | 1684 页 | 5.96 MB | 2 年前3
Julia v1.6.6 Documentation. 386 36.8 Use naming conventions consistent with Julia base/ ..... 386 36.9 Write functions with argument ordering similar to Julia Base ..... 386 36.10 Don't overuse try-catch ..... 387 36 Don't expose unsafe operations at the interface level ..... 388 36.17 Don't overload methods of base container types ..... 389 36.18 Avoid type piracy ..... 389 36.19 Be careful with type equality Command-line Options ..... 421 II Base 423 41 Essentials 424 41.1 Introduction 424 41.2 Getting Around 424 41.3 Keywords 427 41.4 Standard Modules 441 41.5 Base Submodules 442 41.6 All Objects0 码力 | 1324 页 | 4.54 MB | 2 年前3
SemEs2 09 RedisUO264451 Luis Fuertes Camporro - UO264691 Redis Salvatore Sanfilippo (antirez) Es un motor de base de datos en memoria, basado en el almacenamiento en tablas hashes. Escrito en ANSI C por Salvatore0 码力 | 15 页 | 837.33 KB | 3 月前3
A (Short) Tour of C++ Modules0 码力 | 62 页 | 4.20 MB | 1 年前3
httpd 2.4.16 中文文档编译与安装 启动 停止与重启 配置指令 指令快速参考 模块 多处理模块(MPM) 过滤器 处理器 表达式解析器 服务器与支持程序 术语 平台相关说明 Microsoft Windows Novell NetWare EBCDIC 系统 其它主题 常见问题 网站导航 开发文档 其它说明 维基 模块 | 指令 | 常见问题 | 术语 | 网站导航 Apache HTTP colspan="2">mod_heartmonitor, mod_lbmethod_heartbeatAllow mod_proxy_balancer to base loadbalancing decisions on the number of active connections on the backend servers. base URL of cached URLs can be customised, so that a cluster of caches can share the same endpoint URL 0 码力 | 2438 页 | 1.87 MB | 1 年前3
Python 标准库参考指南 3.7.13 and the Python development team 三月16,2022 # 1 概述 3 1.1 可用性注释 4 # 2 内置函数 5 # 3 内置常量 25 3.1 由 site 模块添加的常量 26 # 4 内置类型 27 4.1 逻辑值检测 27 4.2 布尔运算 --- and,or,not 28 4.3 比较运算 28 4.4 数字类型 --- int,float --- 数据美化输出 ... 238 8.12 reprlib --- 另一种 repr() 实现 ... 243 8.13 enum --- 枚举类型支持 ... 245 # 9 数字和数学模块 ... 263 9.1 numbers --- 数字的抽象基类 ... 263 9.2 math --- 数学函数 ... 266 9.3 cmath ——关于复数的数学函数 ... 272 fractions --- 分数 ... 300 9.6 random --- 生成伪随机数 ... 302 9.7 statistics --- 数学统计函数 ... 308 # 10 函数式编程模块 ... 315 10.1 itertools --- 为高效循环而创建迭代器的函数 ... 315 10.2 functools --- 高阶函数和可调用对象上的操作 ... 329 10.30 码力 | 1961 页 | 9.14 MB | 1 年前3共 1000 条- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词CMake模块化项目管理语义版本号名字空间项目结构文档系统REPLBase模块新语言特性版本1.7.3unit testingfunctiontest frameworkcode baseassertJulia 1.9.0-rc2DocumentationReflectionBase SubmodulesJulia REPLGarbage CollectionDocumentation SystemBase ModuleDebugging Information文档字符串JuliaBase.DocsRedismotor de base de datos en memoriaalmacenamiento en tablas hashesANSI CSalvatore SanfilippoC++20模块模块化编译器支持模块接口过渡策略多处理模块(MPM)API变化新模块发行说明升级指南os模块文件处理模块异常处理多线程软件打包工具













