C++的头文件和cpp文件名和类名保持一致,使用下划线小写风格。如果有一个类叫DatabaseConnection,那么对应的文件名:database_connection.h database_connection.cpp结构体,命名空间,枚举等定义的文件名类似。函数命名函数命名统一使用大驼峰风格,一般采用动词或者动宾结构。class List { public
Contribution How to involve Commit message spec Liteos-M kernel coding style guide How to contribute a chip based on Liteos-M kernel: Mini System SoC Porting Guide Repositories Involved kernel_liteos_m
进程崩溃(cppcrash)日志分析指导 国际化和本地化 国际化和本地化概述 应用国际化 国际化界面设计 区域标识与文化习惯划分 设置语言与用户偏好 设置系统语言与区域 设置应用偏好语言 设置用户偏好 时间日期国际化 数字与度量衡国际化 电话号码格式化 设置日历和历法 时区与夏令时国际化 时区 夏令时...
This document provides some secure coding suggestions based on the C&C++ language to guide development.FunctionsCheck the validity of all values received from external sources[Description] External sources are networks, user input, command lines, files (including program configuration...
全局静态变量命名与全局变量相同,函数内的静态变量命名与普通局部变量相同。 intg_activeConnectCount;voidFunc(void){staticintpktCount =0; ... } 注意: 常量本质也是全局变量,但如果命名风格是全大写,下划线连接的格式,则不适用当前规则。 建议1.4 局部变量应该简短,且能够表达相关含义 ...
C++的头文件和cpp文件名和类名保持一致,使用下划线小写风格。如果有一个类叫DatabaseConnection,那么对应的文件名:database_connection.h database_connection.cpp结构体,命名空间,枚举等定义的文件名类似。函数命名函数命名统一使用大驼峰风格,一般采用动词或者动宾结构。
OpenHarmony-v3.2.4-Release OpenHarmony-v4.0-Release OpenHarmony-v3.2.3-Release docs / zh-cn / contribute / OpenHarmony-c-coding-style-guide.md OpenHarmony-c-coding-style-guide.md 68.98 KB 一键复制 编辑 原始数据 按行查看 历史 liuhui 提交于 3年前 . fix: fix variable typo C...
分析CppCrash(进程崩溃) 分析AppFreeze(应用无响应) 命令行工具 hdc hilog hidumper hitrace hiperf hisysevent uinput Test Kit(应用测试服务) 自动化测试框架使用指导 SmartPerf性能工具使用指导 wukong稳定性工具使用指导 调试命令 aa工具 bm工具 打包拆包工具 打包工具 拆包工具 扫描工具 cem...
See file es3cTestPackage.cpp for details on, how to add new *.test files, and the existing test files in external/openglcts/modules/gles3 for format reference. Adding tests to GTF This module is essentially frozen and should no longer be extended. Coding conventions The OpenGL CTS source ...
分析CppCrash(进程崩溃) 分析AppFreeze(应用无响应) 命令行工具 hdc hilog hidumper hitrace hiperf hisysevent uinput Test Kit(应用测试服务) 自动化测试框架使用指导 SmartPerf性能工具使用指导 wukong稳定性工具使用指导 调试命令 aa工具 bm工具 打包拆包工具 打包工具 拆包工具 扫描工具 cem...