会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
邶风
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
19
20
21
22
23
24
25
26
下一页
2016年10月11日
如何给100亿个数字排序
摘要: 转自:http://netsmell.com/post/how-sort-10-billion-data.html?ref=myread 海量数据处理/外部归并排序 - 分治.cppp 今天要给100亿个数字排序,100亿个 int 型数字放在文件里面大概有 37.2GB,非常大,内存一次装不下了。
阅读全文
posted @ 2016-10-11 10:24 邶风
阅读(8509)
评论(0)
推荐(0)
2016年10月9日
大数求和
摘要: 进位,余数,注意判断i ,j 的值,这两个字符串长度不一定相等最后一个数据的处理 #include <iostream>#include <string>using namespace std; string addStr(string str1, string str2){ string str;
阅读全文
posted @ 2016-10-09 17:42 邶风
阅读(171)
评论(0)
推荐(0)
折半查找&clock函数
摘要: #include <stdio.h>#include <time.h> #define CLOCKS_PER_SEC ((clock_t)1000) int binsearch(int, int array[], int n); int main(){ int array[] = {2, 5, 6,
阅读全文
posted @ 2016-10-09 14:55 邶风
阅读(177)
评论(0)
推荐(0)
2016年8月1日
Qt修改xml文件
摘要: <taskpackage styleId="styles/2dc70235-e48b-4e11-b074-3c3f773ae1f3" id="3333" type="normal"> <playvideo isFlash="false"> <group times="5618" filename="
阅读全文
posted @ 2016-08-01 16:42 邶风
阅读(2661)
评论(0)
推荐(0)
2016年7月25日
脚本,网络配置,指令
摘要: 抓包指令 tcpdump -i eth0 dst port 14000 磁盘空间查看指令 df -h du -sh du -hd1 设置组播路由 在网络配置文件中添加 up route add -net 225.1.1.0 netmask 255.255.255.0 eth0 设置网络: ifcon
阅读全文
posted @ 2016-07-25 16:16 邶风
阅读(317)
评论(0)
推荐(0)
2016年6月6日
读取视屏文件,保存帧图片为ppm文件
摘要: ffmpeg跟sdl的学习过程:一、版本信息:ffmpeg-3.0.2.tar.bz2SDL2-2.0.4.tar.gz二、编译过程:1、ffmgeg的编译:./configure --enable-shared --disable-yasm --prefix=/usr/local/ffmpegma
阅读全文
posted @ 2016-06-06 15:43 邶风
阅读(820)
评论(0)
推荐(0)
2016年5月20日
Qt根据汉字生成位图,可连续调用,生成的位图不会有杂点
摘要: void MainWindow::drawText(int font_size, QString str, int n){ QPainter p; QSize size(460, font_size); //指定图片大小; QImage* image = new QImage(size, QImag
阅读全文
posted @ 2016-05-20 17:22 邶风
阅读(882)
评论(0)
推荐(0)
2016年4月17日
ARM处理器启动流程
摘要: 根据<<芯片手册>>查看相关内容: 1、启动方式 2、地址布局 3、启动流程
阅读全文
posted @ 2016-04-17 22:43 邶风
阅读(228)
评论(0)
推荐(0)
使用source Insight工具创建uboot工程。
摘要: 首先在linux下面解压uboot的代码。不能在Windows下面解压,因为Windows的文件名是不区分大小写的。 然后,创建网络驱动器,这样就能在Windows下访问linux的文件夹了。方法:通过smb打开源码目录,把路径记录下来,进行网络驱动映射。 使用source Insight创建工程。
阅读全文
posted @ 2016-04-17 21:49 邶风
阅读(1274)
评论(0)
推荐(0)
2016年4月12日
QT 加载c语言编译的动态库
摘要: QLibrary lib("./libprint.so");//库的路径if(lib.load()){ typedef void(*AddFunction)(char *str[]); //typedef void(__attribute((__cdecl__)) *AddFunction)(cha
阅读全文
posted @ 2016-04-12 17:42 邶风
阅读(764)
评论(0)
推荐(0)
上一页
1
···
19
20
21
22
23
24
25
26
下一页
公告