- 博客(22)
- 收藏
- 关注
原创 无锁数据结构
C++ 的无锁数据结构在工业界有真正的应用吗?来自 <https://www.zhihu.com/question/52629893> Boost无锁队列分析与实现来自 <https://www.lanindex.com/boost%E6%97%A0%E9%94%81%E9%98%9F%E5%88%97%E5%88%86%E6%9E%90%E4%B8%8E%E5%AE%9E%E7...
2018-06-26 09:42:44
581
原创 c 内存问题
Address Sanitizer定位内存泄露及内存越界问题。jemalloc profiling定位内存膨胀mprotect + backtrace + libsigsegv定位多线程内存越界问题实践总结来自 <http://blog.csdn.net/killmice/article/details/38443343> Invalid Memory Access (踩内存)踩内存来...
2018-06-26 09:40:33
302
原创 tcp http2
HTTP/2 简介来自 <https://developers.google.com/web/fundamentals/performance/http2/?hl=zh-cn> ye11ow http2讲解来自 <https://legacy.gitbook.com/book/ye11ow/http2-explained/details> HTTP,HTTP2.0,SPDY...
2018-06-21 10:08:43
425
原创 numa 与 cpu 亲和性
Improving performance on NUMA systemshttps://tel.archives-ouvertes.fr/tel-01549294/documentRed Hat Linux NUMA Supportfor HP ProLiant Servershttps://h50146.www5.hpe.com/products/software/oe/linux/mains...
2018-06-19 10:25:07
4428
1
原创 linux 常用汇总
命令行的艺术来自 <https://github.com/jlevy/the-art-of-command-line/blob/master/README-zh.md> 鳥哥的 Linux 私房菜来自 <http://linux.vbird.org/linux_server/0440ntp.php#theory_NTP> 监控 dstat -cdngym 10iostat...
2018-06-12 11:42:50
228
原创 gogo protobuf
gogoprotobuf使用(上)来自 <https://my.oschina.net/alexstocks/blog/387031> gogoprotobuf使用(下)来自 <https://studygolang.com/articles/2575> ./protoc --gogofast_out=plugins=grpc:../src/github.com/Gauss...
2018-06-07 15:03:34
1496
原创 go 资源
go知识图谱https://www.processon.com/view/link/5a9ba4c8e4b0a9d22eb3bdf0https://github.com/gocn/knowledgehttps://zhuanlan.zhihu.com/p/34263871Go语言高级编程(Advanced Go Programming)来自 <https://chai2010.gitbook...
2018-06-07 15:01:47
496
原创 go gc 问题
cgo gc calloc问题:runtime: crash in hybrid barrier initializing C memory来自 <https://github.com/golang/go/issues/19928> runtime: Large maps cause significant GC pauses来自 <https://github.com/gola...
2018-06-07 14:53:35
318
原创 cgo
也谈Go的可移植性来自 <https://tonybai.com/tag/cgo/> rofiling Cockroach for fun and profit.来自 <https://github.com/cockroachdb/cockroach/wiki/pprof> The Cost and Complexity of Cgo来自 <https://www.c...
2018-06-07 14:49:19
362
原创 cache & NEO/SIMD
NEON/SIMDARM NEON IntrinsicsThese built-in intrinsics for the ARM Advanced SIMD extension are available when the -mfpu=neon switch is used来自 <https://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/ARM-NEON-I...
2018-06-06 14:26:41
390
原创 c/c++ 编译
GNU make https://www.gnu.org/software/make/manual/html_node/index.html#SEC_Contents再谈 GCC库的搜索路径问题来自 <http://blog.csdn.net/caspiansea/article/details/14642895> g++编译命令选项 来自 <http://daihangsoo...
2018-06-06 14:21:08
197
原创 组合导航
function [att_open, err, att_res] = fun_filter(X,P,Q,R,q_,gyro_b,acc_b,mag_b,N,acc_n,mag_n)function [att_open, err, att_res] = fun_move (X,P,Q,R,q_,gyro_b,acc_b,mag_b,v_b,N,acc_n,mag_n) %姿态初值q_或cnb_...
2018-05-07 10:49:16
1377
原创 sed 支持扩展正则表达式及忽略大小写
其中 -r参数为支持扩展正则表达式,尾部的/i为忽略大小写sed -ri "s/\"Level\".* \"(debug|info|warn)\"/\"Level\": \"Info\"/i" jsoncat jsonsed -ri "s/\"Level\".* \"(debug|info|warn)\"/\"Level\": \"debug\"/i" jsoncat js
2017-12-16 17:00:32
9781
原创 grep 匹配行中的一部分 分析 字符串中 -l 之类的flag标志
-o 匹配行中的一部分 grep -Eoi '\-l[[:blank:]]*[[:graph:]]*\b' | grep '\-l'
2017-12-12 11:12:20
2257
原创 go 获取函数调用者caller的函数名 打印堆栈runtime.Stack debug.Stack()
https://stackoverflow.com/questions/10742749/get-name-of-function-using-reflection-in-golang当前堆栈log.Infof("stack %s", f, debug.Stack())全局堆栈buf := make([]byte, 116)runtime.Stack(buf, tr
2017-12-05 21:59:38
7538
原创 go语言的相关资源
深入解析Go https://tiancaiamao.gitbooks.io/go-internals/content/zh/02.3.html
2017-12-02 18:13:08
204
原创 mingw 环境变量设置
样例,具体路径以自己的安装路径为准LIBRARY_PATH: C:\MinGW\lib C_INCLUDE_PATH: C:\MinGW\includeCPLUS_INCLUDE_PATHC: C:\MinGW\lib\gcc;C:\MinGW\lib\gcc\mingw32;C:\MinGW\lib\gcc\mingw32\4.5.2;C:\MinGW\lib\gcc
2017-12-02 10:01:36
7189
原创 32位 win10 安装 TensorFlow
参考如下http://blog.csdn.net/include1224/article/details/53452824下载anaconda 参考如下链接http://blog.csdn.net/yimingt/article/details/72518562pip 使用清华镜像源:http://blog.csdn.net/lambert310/art
2017-11-04 01:06:58
7670
2
原创 批量解压缩
ls *.tar.gz | xargs -n1 tar xzvffind /whb_data/public_cloud/ -name '*.rpm' | xargs -t -n1 rpm2cpio | cpio -div //错误 需要用循环实现
2017-10-23 19:20:12
605
原创 windows下的批量重命名
@Echo Off for /R %c in (.) do ( cd %c ren *.c *.cpp) pause
2017-10-21 16:42:57
550
转载 C 语言资源大全中文版
GitHub - jobbole/awesome-c-cn: C 资源大全中文版,包括了:构建系统、编译器、数据库、加密、初中高的教程/指南、书籍、库等。 <meta content="https://github.com/jobbole/awesome-c-cn" property="og:url">
2017-04-10 20:58:22
1423
原创 win10 64位+qwt 6.1.4+qt 5.8.0 msvc2015 x64安装方法
主要是参考了:1.win10 64位+qwt 6.1.2 64位+qt 5.6.0 msvc2015 x64安装方法2.msvc交叉编译:使用vcvarsall.bat设置命令行编译环境
2017-02-06 20:57:27
3572
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人