1 2 3 4 5 ··· 13 下一页

git worktree usage

摘要: git worktree 是 Git 提供的一个高级功能,它允许你在同一个本地仓库中同时检出多个分支到不同的目录中进行并行开发。 [1, 2] 与传统的 git checkout/switch(需要通过 git stash 暂存未完成的代码)或 git clone(重新下载整个仓库,耗费空间和时间) 阅读全文
posted @ 2026-09-24 11:27 ENGINEER-F 阅读(5) 评论(0) 推荐(0)

Only declare an struct

摘要: That's a forward declaration, not a definition — it just tells the compiler "there's a type named struct pswitch, details unknown yet." It's legal C a 阅读全文
posted @ 2026-09-21 15:19 ENGINEER-F 阅读(6) 评论(0) 推荐(0)

vscode left panel 指定路径下的文件类型的匹配

摘要: ./a/b/**/*.{c,h} 阅读全文
posted @ 2026-09-20 16:07 ENGINEER-F 阅读(5) 评论(1) 推荐(0)

dmesg 日志基本使用

摘要: dmesg 时间戳 是否会显示所有的数据? 不会。 dmesg 显示的是 Linux 内核环形缓冲区(kernel ring buffer) 中保存的日志,而环形缓冲区容量是有限的。 1. 时间戳显示什么含义 例如: Shell [ 0.000000] Linux version 6.6.0 ... 阅读全文
posted @ 2026-09-20 10:54 ENGINEER-F 阅读(8) 评论(0) 推荐(0)

"Yes, I will book a time slot for this test." is the best choice.

摘要: If you'd like a more natural or professional phrasing, here are a few options: Option 1 (simple): Yes, I will book a time slot for this test. Option 2 阅读全文
posted @ 2026-09-18 11:18 ENGINEER-F 阅读(7) 评论(0) 推荐(0)

Opaque Struct(不透明结构体)

摘要: Opaque Struct(不透明结构体)是 C 语言(以及 C++、Rust 等底层语言)中用于实现面向对象封装(Encapsulation)、信息隐藏和API二进制接口稳定性(ABI Stability)的一种高级核心设计模式。 从字面意思理解,“Opaque” 意味着“看不透、不透明”。在代码 阅读全文
posted @ 2026-09-17 18:08 ENGINEER-F 阅读(11) 评论(0) 推荐(0)

render generate create 几个词差异

摘要: Create means bringing something completely new into existence, generate means producing or yielding an output through a process or system, and render 阅读全文
posted @ 2026-09-17 16:29 ENGINEER-F 阅读(3) 评论(0) 推荐(0)

ARC processor cores ICACHE D-CACHE SRAM architecture

摘要: ARC processor cores ICACHE D-CACHE SRAM architecture Synopsys ARC processor cores feature a highly configurable and modular internal memory architectu 阅读全文
posted @ 2026-09-15 09:42 ENGINEER-F 阅读(6) 评论(0) 推荐(0)

git 需要在一个repo的两个branch之前 不停切换,最好的开发实践 - Verified, highly recommend!

摘要: git 需要在一个repo的两个branch之前 不停切换,最好的开发实践 在日常开发中,如果需要在同一个项目的两个分支(例如 feature-A 和 feature-B,或者 main 和 hotfix)之间频繁切换,传统的 git checkout/switch 往往会遇到“代码未提交不能切换” 阅读全文
posted @ 2026-09-15 08:56 ENGINEER-F 阅读(12) 评论(0) 推荐(0)

schema,模板,生成器配置的差别,分别何时使用

摘要: Schema定义文件决定“数据长什么样及合法规则”,模板文件决定“代码或文本的排版外观”,而生成器配置文件决定“自动化工具运行时的参数和路径”。 这三者在软件开发和代码生成流程中扮演完全不同的角色。理解它们的差异有助于正确划分项目架构。 三者核心对比 维度Schema 定义文件模板文件生成器配置文件 阅读全文
posted @ 2026-09-14 00:45 ENGINEER-F 阅读(12) 评论(0) 推荐(0)
1 2 3 4 5 ··· 13 下一页