摘要: -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_USE_OWN_TR1_TUPLE=0 阅读全文
posted @ 2020-12-24 17:58 通杀 阅读(106) 评论(0) 推荐(0) 编辑
摘要: <html> <script> (function(window,document,undefined){ var hearts = []; window.requestAnimationFrame = (function(){ return window.requestAnimationFrame 阅读全文
posted @ 2020-06-18 19:38 通杀 阅读(112) 评论(0) 推荐(0) 编辑
摘要: x86指令集 https://www.felixcloutier.com/x86/index.html http://www.tommesani.com/Docs.html SSE的浮点运算指令分为两大类:Packed 和Scalar https://blog.csdn.net/woxiaohaha 阅读全文
posted @ 2020-04-26 21:01 通杀 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 今天同事问了关于const 值被更改的问题,这个问题在面试中也会经常被问到,所以专门写篇博客总结下。 代码如下 输出结果:a:10 p:20 简单分析: 其实针对该问题,原因比较简单,在printf调用中,由于a是常量,编译器做了优化,将a的值直接替换为10,所以在后续对a的内存位置进行更改为20时 阅读全文
posted @ 2020-04-23 23:26 通杀 阅读(604) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <unistd.h> 3 4 int abc() { 5 int d; 6 return 2; 7 } 8 int sum(int a) { 9 int c; 10 abc(); 11 return a; 12 } 13 int mai 阅读全文
posted @ 2020-04-20 15:01 通杀 阅读(643) 评论(0) 推荐(0) 编辑
摘要: 1.第一个at&a 64汇编 1 .section .data 2 strFormat: 3 .asciz "%s\n" 4 strUseLibc: 5 .asciz "Hi, If you see me, you called c lib :)" 6 strUseSyscall: 7 .asciz 阅读全文
posted @ 2020-04-20 10:46 通杀 阅读(282) 评论(0) 推荐(0) 编辑
摘要: syscall https://blog.rchapman.org/posts/Linux_System_Call_Table_for_x86_64/ at&a x86_64 https://nifengz.com/introduction_x64_assembly/ https://www.cs. 阅读全文
posted @ 2020-04-11 21:42 通杀 阅读(225) 评论(0) 推荐(0) 编辑
摘要: git branch -r --contains commit 查看commit 属于哪个分支 git log --graph --all 所有分支log 最新 阅读全文
posted @ 2020-04-08 09:52 通杀 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 获取权重 https://blog.csdn.net/shwan_ma/article/details/78874881 https://blog.csdn.net/u013243986/article/details/77333887 https://blog.csdn.net/AManFromE 阅读全文
posted @ 2020-04-07 18:36 通杀 阅读(91) 评论(0) 推荐(0) 编辑
摘要: https://gcc.gnu.org/onlinedocs/gcc/Invoking-GCC.html#Invoking-GCC 阅读全文
posted @ 2020-04-07 17:12 通杀 阅读(105) 评论(0) 推荐(0) 编辑