摘要:前言 工具使用 diff -qr mockcpp ccup-mockcpp | grep -v .git meld 比较工具 下载加速 下载加速网址 https://ghproxy.com/ https://mirror.ghproxy.com/ https://gh.api.99988866.xy
阅读全文
摘要:前言 内容 import calendar import os # run demo for lib use def run_demo(): week, days = calendar.monthrange(2022, 10) print(f"week:{week} days:{days}") de
阅读全文
摘要:前言 通过plantuml工具进行学习,跨平台,更加灵活。 学习计划 先学习plantuml,再学习各个设计模式的图。最后编码实现,整个过程迭代。 plantuml 示例图 源码 @startuml draft interface "车" class "轮胎" class "小汽车" class "
阅读全文
摘要:头文件缺少 系统库文件,直接到该网站查找 https://man7.org/linux/man-pages/man3/memset.3.html
阅读全文
摘要:gogo https://zhuanlan.zhihu.com/p/362436742 https://zhuanlan.zhihu.com/p/361737524 $ go get github.com/gogo/protobuf/proto $ go get github.com/gogo/pr
阅读全文
摘要:lldb main.c #include<stdio.h> int add(int n){ int i, sum=0; for (i=0;i<n;i++){ sum += i; } return sum; } int main(){ int b = 100; int c = add(b); prin
阅读全文
摘要:git操作 git修改远端仓库地址 **git修改远程仓库地址 **方法有三种: 1.修改命令 git remote origin set-url [url] 2.先删后加 git remote rm origin git remote add origin [url] 3.直接修改config文件
阅读全文
摘要:前言 protocol buffer 是我们使用的代码。 工具使用 参考 https://developers.google.com/protocol-buffers/docs/proto3#any
阅读全文
摘要:前言 绑定核心 c语言绑核 脚本绑核 taskset -pc xx
阅读全文
摘要:前言 内存 cpu占用 docker镜像占用 docker load -I xx.tar.gz dive xxx
阅读全文
摘要:前言 gdb是什么?是一个用来调试的工具,gcc用来编译,gdb用来调试,调试的对象需要带符号表 常用命令 list gdb attach $pid b xxx
阅读全文