Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4474335
  • 博文数量: 356
  • 博客积分: 10458
  • 博客等级: 上将
  • 技术积分: 4734
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-24 14:59
文章分类

全部博文(356)

文章存档

2020年(17)

2019年(9)

2018年(26)

2017年(5)

2016年(11)

2015年(20)

2014年(2)

2013年(17)

2012年(15)

2011年(4)

2010年(7)

2009年(14)

2008年(209)

发布时间:2017-10-14 23:19:12

google测试框架gtest编译与示例
git clone https://github.com/google/googletestcd googletestmkdir buildcd build默认是生成静态库执行cmake ../-- The CXX compiler identification is GNU 4.8.5-- The C compiler identification is GNU 4.8.5-- Check for working CXX compiler: /usr/bin/c++-- Check for working CXX compiler: /usr/bin/.........【阅读全文】

阅读(2610) | 评论(0) | 转发(0)

发布时间:2017-10-04 16:01:04

主要讲下c/c++的,xptemplate c++会有些代码会帮你自动完成,但是代码格式可能并不是我们想要的,怎么办,可以通过修改配置解决1)修改()中的空格假设是c++(只针对c++)则在ftplugin/cpp下新建个.vim文件 .vim/ftplugin/cpp/zm.vim添加如下内容:XPTemplate priority=personalXPTvar $SParg   ''或者在vimrc.........【阅读全文】

阅读(1890) | 评论(0) | 转发(0)

发布时间:2017-09-27 15:57:13

环境ubuntu内核Linux ntt-misc 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux部分ssl代码:ssl_method = SSLv3_server_method();ssl_ctx = SSL_CTX_new(ssl_method);if (ssl_ctx == NULL){    // 这里可能出错退出    ERR_print.........【阅读全文】

阅读(1907) | 评论(0) | 转发(0)

发布时间:2017-07-11 18:32:04

首先下载busybox源码解压比如我的是busybox-1.23.2, 交叉工具是arm-none-linux-gnueabi-gcc进入配置,跟配置内核差不多,用menuconfigmake ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig选择自己要的功能,退出后保存配置然后编译:make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- CFLAGS="-I.........【阅读全文】

阅读(9499) | 评论(0) | 转发(3)

发布时间:2017-05-02 22:07:45

Binary String Matching时间限制:3000 ms  |  内存限制:65535 KB难度:3描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as a substring of B? For example, the text string B is.........【阅读全文】

阅读(1318) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

chinaunix网友2011-02-15 16:05

看了你的博文,有这么多的体会,很佩服你的学习精神,总结出来写本书如何?我的联系方式:wuyi1352@gmail.com

回复 |  删除 |  举报

chinaunix网友2009-06-11 17:22

你好,问一下SendARP探测活动性的那是原原本本的程序吗,不缺什么吧?我运行之后SendARP的返回值总是31.不知道为什么,麻烦帮忙看看,谢谢了!

回复 |  删除 |  举报

chinaunix网友2009-05-14 17:00

文章都很好 收藏了

回复 |  删除 |  举报

wjksd2009-04-17 11:24

很厉害啊

回复  |  举报

chinaunix网友2008-11-09 16:44

师兄,我来像你学习来啦! 嘎嘎!

回复 |  删除 |  举报
留言热议
请登录后留言。

登录 注册