上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页
摘要: nm -c $lib.a nm $exec nm $lib.a nm -D $lib.so 阅读全文
posted @ 2020-09-15 10:38 stdpain 阅读(134) 评论(0) 推荐(0)
摘要: tcmalloc 开启的时候由于是先从OS中获取一块内存,因此越界或double free的时候不会立刻core 阅读全文
posted @ 2020-09-09 19:16 stdpain 阅读(368) 评论(0) 推荐(0)
摘要: https://isocpp.org/blog/2012/11/universal-references-in-c11-scott-meyers 阅读全文
posted @ 2020-09-07 23:18 stdpain 阅读(174) 评论(0) 推荐(0)
摘要: 可以有效的减小bin的体积 实测从 180M 减小到 11M ref http://www.mingw.org/wiki/Large_executables 或者在gcc中加入 -s 阅读全文
posted @ 2020-09-06 11:27 stdpain 阅读(169) 评论(0) 推荐(0)
摘要: 环境: 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)
摘要: 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)
摘要: https://blog.csdn.net/xixingzhe2/article/details/86167859 阅读全文
posted @ 2020-08-28 17:41 stdpain 阅读(354) 评论(0) 推荐(0)
摘要: 写少读多的场景可以考虑使用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)
摘要: iostat -mx $time 阅读全文
posted @ 2020-08-20 12:42 stdpain 阅读(129) 评论(0) 推荐(0)
摘要: 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 下一页