Rust 程序设计语言 简体中文版 1.85.0目录中的 main.rs 文件。 这也会在 hello_cargo 目录初始化了一个 git 仓库,以及一个 .gitignore 文件。如果在一个已经 存在的 git 仓库中运行 cargo new,则这些 git 相关文件则不会生成;可以通过运行 cargo new --vcs=git 来覆盖这些行为。 注意:git 是一个常用的版本控制系统(version control system,VCS)。可以通过 即便 hello_cargo 项目十分简单,它现在也使用了很多在你之后的 Rust 生涯将会用到的实用 工具。其实,要在任何已存在的项目上工作时,可以使用如下命令通过 Git 检出代码,移动到 该项目目录并构建: $ git clone example.org/someproject $ cd someproject $ cargo build 关于更多 Cargo 的信息,请查阅 其文档。 secret_number 调用 cmp 返回的 Ordering 成员来决定接下来做什么。 一个 match 表达式由 分支(arms) 构成。一个分支包含一个 模式(pattern)和表达式开头 的值与分支模式相匹配时应该执行的代码。Rust 获取提供给 match 的值并挨个检查每个分支 的模式。match 结构和模式是 Rust 中强大的功能,它体现了代码可能遇到的多种情形,并确 保对所有情况作出0 码力 | 562 页 | 3.23 MB | 21 天前3
BRPC与UCX集成指南119 378 64 237 45263 4K大小时延比较(us)64 CurveBS FIO65 现状 ●开源分支:https://github.com/opencurve/incubator-brpc.git –curve主干分支 –ucx_am当前rdma分支 ●对brcp的改动不大,加入的模块基本上独立 ●降低了开发难度 ●ucx满足我们对rdma支持的需求 ●已经测试0 码力 | 66 页 | 16.29 MB | 6 月前3
Curve质量监控与运维 - 网易数帆查、单元测试、集成测 试、覆盖率80%卡点) 合入master 分支 代码提交流程 异常自动化 测试 混沌测试 (每周一次) CI测试(编译、静态检 查、单元测试、集成测 试、覆盖率80%卡点) 邮件通知 Curve所有代码均在github托管。新 代码需要通过CI测试和code review才 能合入master分支,确保新合入代码 的功能、正确性、规范性等都有基本 保障;而每日运行的dailybuild测试在 保障;而每日运行的dailybuild测试在 CI测试基础上增加了异常自动化测试 和混沌测试,确保master分支代码的 bug尽可能早地暴露出来。 通过这种流程,curve可以在一定 程度上保证master分支的稳定性。 master 10/33版本管理 Curve版本命名规则是x.y.z{-后缀} x为主版本号,每次发布大版本时递增; 大版本一般半年发布一次。 y为次版本号,每次发布小版本时递增; 表示发布候选版本,空白表示正式版。 Curve所有功能开发均在master分支进行,而版本发布则在相应的release分支进行: 从master拉出一个新分支release-x.y,打beta版标签后,提交QA团队测试 ; beta版的bug修复代码先合入master分支,再cherry-pick到release-x.y分支; beta版bug修复完成后,打rc版标签(可能有多个rc版),上线到测试环境;0 码力 | 33 页 | 2.64 MB | 6 月前3
TVM工具组caffe 模型转换的功能,通过一组命令行工具提供,命令行工具支持 windows / linux 平台。 支持更多 caffe op / net 随着客户需求和社区发展,提供更多的 caffe 分支变种的 op / net 支持。绝赞招聘中 THANKS0 码力 | 6 页 | 326.80 KB | 5 月前3
Curve设计要点• 集群状态查询工具 • curve_ops_tool • 自动化部署工具 • 一键部署,一键升级高质量 • 良好的模块化和抽象设计 • 完善的测试体系 • 单元测试 行覆盖80%+,分支覆盖70%+ • 集成测试 Given When Then 方法 完备的测试用例集 • 自动化异常测试 41个异常用例 • 自动化大压力随机故障注入 20轮随机故障注入背景 01 02 030 码力 | 35 页 | 2.03 MB | 6 月前3
julia 1.10.10JULIA_PKG_USE_CLI_GIT If set to true, Pkg operations which use the git protocol will use an external git executable instead of the default libgit2 library. Julia 1.7 Use of the git executable is only environments provide reproducibility. By checking a project environment into version con- trol—e.g. a git repository—along with the rest of the project's source code, you can reproduce the exact state of "2d15fe94-a1f7-436c-a4d8-07a9a496e01c" git-tree-sha1 = "1bf63d3be994fe83456a03b874b409cfd59a6373" version = "0.1.5" [[Pub]] uuid = "c07ecb7d-0dc9-4db7-8803-fadaaeaf08e1" git-tree-sha1 = "9ebd50e2b0dd1e1100 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9JULIA_PKG_USE_CLI_GIT If set to true, Pkg operations which use the git protocol will use an external git executable instead of the default libgit2 library. Julia 1.7 Use of the git executable is only environments provide reproducibility. By checking a project environment into version con- trol—e.g. a git repository—along with the rest of the project's source code, you can reproduce the exact state of "2d15fe94-a1f7-436c-a4d8-07a9a496e01c" git-tree-sha1 = "1bf63d3be994fe83456a03b874b409cfd59a6373" version = "0.1.5" [[Pub]] uuid = "c07ecb7d-0dc9-4db7-8803-fadaaeaf08e1" git-tree-sha1 = "9ebd50e2b0dd1e1100 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.11.4JULIA_PKG_USE_CLI_GIT If set to true, Pkg operations which use the git protocol will use an external git executable instead of the default libgit2 library. Julia 1.7 Use of the git executable is only environments provide reproducibility. By checking a project environment into version con- trol—e.g. a git repository—along with the rest of the project's source code, you can reproduce the exact state of "2d15fe94-a1f7-436c-a4d8-07a9a496e01c" git-tree-sha1 = "1bf63d3be994fe83456a03b874b409cfd59a6373" version = "0.1.5" [[Pub]] uuid = "c07ecb7d-0dc9-4db7-8803-fadaaeaf08e1" git-tree-sha1 = "9ebd50e2b0dd1e1100 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 DocumentationJULIA_PKG_USE_CLI_GIT If set to true, Pkg operations which use the git protocol will use an external git executable instead of the default libgit2 library. Julia 1.7 Use of the git executable is only environments provide reproducibility. By checking a project environment into version con- trol—e.g. a git repository—along with the rest of the project's source code, you can reproduce the exact state of "2d15fe94-a1f7-436c-a4d8-07a9a496e01c" git-tree-sha1 = "1bf63d3be994fe83456a03b874b409cfd59a6373" version = "0.1.5" [[Pub]] uuid = "c07ecb7d-0dc9-4db7-8803-fadaaeaf08e1" git-tree-sha1 = "9ebd50e2b0dd1e1100 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release NotesJULIA_PKG_USE_CLI_GIT If set to true, Pkg operations which use the git protocol will use an external git executable instead of the default libgit2 library. Julia 1.7 Use of the git executable is only environments provide reproducibility. By checking a project environment into version con- trol—e.g. a git repository—along with the rest of the project's source code, you can reproduce the exact state of "2d15fe94-a1f7-436c-a4d8-07a9a496e01c" git-tree-sha1 = "1bf63d3be994fe83456a03b874b409cfd59a6373" version = "0.1.5" [[Pub]] uuid = "c07ecb7d-0dc9-4db7-8803-fadaaeaf08e1" git-tree-sha1 = "9ebd50e2b0dd1e1100 码力 | 2007 页 | 6.73 MB | 3 月前3
共 21 条
- 1
- 2
- 3













