摘要: https://docs.qq.com/doc/DY0VxSkVGWHFYSlZJ https://raft.github.io/raft.pdf https://github.com/maemual/raft-zh_cn 阅读全文
posted @ 2022-04-11 11:23 mangoCzp 阅读(113) 评论(0) 推荐(0) 编辑
摘要: https://developer.aliyun.com/article/793257 单例: https://huanyingtianhe.github.io/2018/01/22/c-%E4%B8%AD%E7%9A%84static%E5%8F%98%E9%87%8F%E5%92%8C%E7%B 阅读全文
posted @ 2022-01-07 13:57 mangoCzp 阅读(30) 评论(0) 推荐(0) 编辑
摘要: git clone https://github.com/udhos/update-golang cd update-golang sudo ./update-golang.sh 阅读全文
posted @ 2022-01-04 17:09 mangoCzp 阅读(43) 评论(0) 推荐(0) 编辑
摘要: p ((ruleSet->rules()._M_impl._M_start)@1) p (((vec._M_impl._M_start)+3)) 阅读全文
posted @ 2021-11-09 15:46 mangoCzp 阅读(146) 评论(0) 推荐(0) 编辑
摘要: https://cnodejs.org/topic/56dc21f1502596633dc2c3dc 阅读全文
posted @ 2021-10-19 17:16 mangoCzp 阅读(36) 评论(0) 推荐(0) 编辑
摘要: https://guidao.github.io/go_debug.html go build -gcflags "-N -l" test8.go 编译代码,-gcflags是给go编译器的参数,gc是go compile的意思。-N是不要优化代码,-l 是禁止内联代码。 阅读全文
posted @ 2021-09-23 14:14 mangoCzp 阅读(43) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/7a313173b56a 阅读全文
posted @ 2021-07-21 18:03 mangoCzp 阅读(15) 评论(0) 推荐(0) 编辑
摘要: https://wangpengcheng.github.io/2019/05/17/cplusplus_theadpool/ 阅读全文
posted @ 2021-06-18 17:59 mangoCzp 阅读(34) 评论(0) 推荐(0) 编辑
摘要: The current C++11 std::launch only has two modes: async or deferred. In a production system, neither is what you want: async will launch a new thread 阅读全文
posted @ 2021-06-17 16:04 mangoCzp 阅读(152) 评论(0) 推荐(0) 编辑
摘要: http://senlinzhan.github.io/2017/12/04/cpp-memory-order/ 阅读全文
posted @ 2021-06-08 16:34 mangoCzp 阅读(12) 评论(0) 推荐(0) 编辑