会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Toggle navigation
stdpain
博客园
联系
Submit
订阅
管理
管理面板
随笔
stdpain
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
19
下一页
2020年9月15日
Linux nm
摘要: nm -c $lib.a nm $exec nm $lib.a nm -D $lib.so
阅读全文
posted @ 2020-09-15 10:38 stdpain
阅读(134)
评论(0)
推荐(0)
2020年9月9日
C++ tcmalloc core
摘要: tcmalloc 开启的时候由于是先从OS中获取一块内存,因此越界或double free的时候不会立刻core
阅读全文
posted @ 2020-09-09 19:16 stdpain
阅读(368)
评论(0)
推荐(0)
2020年9月7日
c++ &&
摘要: https://isocpp.org/blog/2012/11/universal-references-in-c11-scott-meyers
阅读全文
posted @ 2020-09-07 23:18 stdpain
阅读(174)
评论(0)
推荐(0)
2020年9月6日
Linux strip
摘要: 可以有效的减小bin的体积 实测从 180M 减小到 11M ref http://www.mingw.org/wiki/Large_executables 或者在gcc中加入 -s
阅读全文
posted @ 2020-09-06 11:27 stdpain
阅读(169)
评论(0)
推荐(0)
2020年9月5日
有趣的BUG
摘要: 环境: Linux version 4.14.0_1-0-0-17 (root@xxxxx) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC)) #1 SMP Tue Mar 10 19:33:18 CST 2020 GLIBC: libc-2
阅读全文
posted @ 2020-09-05 11:56 stdpain
阅读(160)
评论(0)
推荐(0)
2020年9月4日
GDB watch std::string size
摘要: print ((size_t*)quit_command._M_dataplus)[-3] https://stackoverflow.com/questions/29401095/how-do-i-access-stl-classes-like-stdstring-in-gdb-postmorte
阅读全文
posted @ 2020-09-04 19:53 stdpain
阅读(651)
评论(0)
推荐(0)
2020年8月28日
Redis Cluster Lua
摘要: https://blog.csdn.net/xixingzhe2/article/details/86167859
阅读全文
posted @ 2020-08-28 17:41 stdpain
阅读(354)
评论(0)
推荐(0)
Double Buffer
摘要: 写少读多的场景可以考虑使用DoubleBuffer https://github.com/stdpain/incubator-brpc/blob/master/src/butil/containers/doubly_buffered_data.h
阅读全文
posted @ 2020-08-28 15:32 stdpain
阅读(313)
评论(0)
推荐(0)
2020年8月20日
iostat
摘要: iostat -mx $time
阅读全文
posted @ 2020-08-20 12:42 stdpain
阅读(129)
评论(0)
推荐(0)
2020年8月19日
K8s 搭建Redis主从(Sentinel)
摘要: https://github.com/tarosky/k8s-redis-ha 更推荐这个: https://github.com/kubernetes/examples/tree/561467fb9d5f5c2126da5c500067de3c0fbd7d60/staging/storage/re
阅读全文
posted @ 2020-08-19 17:23 stdpain
阅读(1867)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
19
下一页
公告
Copyright © 2021 stdpain
Powered by .NET 5.0 on Kubernetes