- 博客(23)
- 资源 (35)
- 收藏
- 关注
原创 线程顺序执行(phtread)
编写一个程序,开启3个线程,这3个线程的ID分别为A、B、C,每个线程将自己的ID在屏幕上打印10遍,要求输出结果必须按ABC的顺序显示;如:ABCABC….依次递推。程序代码如下:#include#includeusing namespace std;#ifdef __cplusplusextern "C"{#endif#include
2012-04-24 20:24:49 530
原创 ”USB Device not Recognized" 问题
今天晚上,插个ipod进行充电时,结果搞出了个”USB Device not Recognized" 问题。最后通过查找网上资料,把笔记本的直插电源和电池都拆掉,使其BIOS断电,重新开机就没有问题了。
2012-02-28 22:35:59 2694
转载 eight characteristics for software
Affordability, to ensure that the total ownership costs of software acquisition and evolution aren't prohibitively highExtensibility, to support successions of quick updates and additions to addre
2011-12-21 20:08:56 422
原创 ld.exe问题
今天出现了编译的时候,把项目src中的文件都编译成.o文件后,把所有的.o文件整合成为可执行文件的时候,出现了ld: Dwarf Error: mangled line number section. 错误提示。后来发现原因是由于调用其他的lib,但是某个lib是使用gcc-4.6版本编译的。而当前使用gcc-4.1版本。故使用gcc-4.1重新生成新的lib后,就不会出现问题了。
2011-12-21 13:16:55 8314 2
原创 写好rose图
画了两天的rose图,结果发现挺糟糕的,没有很好的理解自己的思路,想到那里写到那里,一些解释的地方也没有,应该认为你的东西是要给别人看的,是要让别人懂得你写的东西,还有在用词方面需要好好考虑,如何使用更有意义的词语表达出来。让别人能够更好的理解你的东西。还有对于整体结构也要安排好,达到精益求精。
2011-10-20 23:25:39 535
原创 工作日记2
理清你当前任务,需要完成什么问题,并对这个问题做出分析,理一个思路出来,最好能使用rational rose画出活动图。平常遇到问题的时候,首先你应该先自己想一下,什么问题,问题出在哪里,可能出现该问题的地方。并尝试去解决,如再解决不了,再向你的boss请教,但这个过程中你可以把
2011-10-18 22:51:03 270
原创 ECUT单元测试
今天进一步了解ECUT的使用,以及对ECUT 的单元测试和集成测试的理解,单元测试不能从名字上理解为某个单元的测试,这是因为在测试某个单元的时候,会使用到其他单元,所以这个时候也会对其他的单元进行测试,但是单元测试有一个比较明显的目标,就是要测试我们所需要的单元,测试其他单元只是
2011-10-17 23:14:40 648
转载 全球经济学杂志排名
1 American Economic Review 2 Econometrica 3 Journal of Political Economy
2011-08-27 21:19:44 2816
原创 关于gentoo 报EAPI问题
emerge software时发现报如下错误:the current version of portage supports EAPI ’3′. You must upgrade to a newer version of portage before EAPI mas
2011-08-20 00:11:33 828
原创 111 History Grading
#include#include#include #includeusing namespace std;const int len = 20;int source[len];int target[len];int index[len];#include#include#include #includeusing namespace std;const int len = 20;int source[len];int target[len];int index[len];int max_len[len]
2011-05-11 18:19:00 350
原创 572 - Oil Deposits
<br /><br />#include<iostream><br />#include<queue><br />#include<string><br />#include<cstring><br />#include<stdlib.h><br /> <br />using namespace std;<br /> <br />#define M 100<br /> <br />int rows,cols;<br />char package[M][M];<br />int flag[M][M];<br
2010-09-29 13:31:00 292
原创 469 - Wetlands of Florida
<br /><br />#include<iostream><br />#include<queue><br />#include<string><br />#include<cstring><br />#include<ctype.h><br />#include<stdlib.h><br />using namespace std;<br /> <br />#define M 105<br /> <br />char state[M][M];<br />int flag[M][M];<br />int
2010-09-28 21:30:00 338
原创 459 - Graph Connectivity
<br /><br />#include<iostream><br />#include<queue><br />#include<string><br />#include<cstring><br />using namespace std;<br /> <br />#define M 30<br /> <br />int graph[M][M];<br />int flag[M];<br /> <br />queue <int> myqueue;<br /> <br />void input(int &
2010-09-27 09:48:00 448
原创 352 The Seasonal War
<br /><br />#include<iostream><br />#include<queue><br />#include<stdlib.h><br />using namespace std;<br /> <br />#define M 30<br /> <br />char flag[M][M];<br />char war[M][M];<br />int num;<br /> <br />typedef struct<br />{<br />int x;<br />int y;<br />}
2010-09-25 18:41:00 564
原创 260 Il Gioco dell'X
<br />#include<iostream><br />using namespace std;<br />#define MAX 210<br />int pawn[MAX][MAX];<br />int flag[MAX][MAX];<br />int fail[MAX][MAX];<br />int ok;<br />int num;<br />int adj[12]={1,0,1,1,0,-1,0,1,-1,-1,-1,0};<br />void input()<br />{<br /> int
2010-09-17 11:56:00 769
原创 Linux 内存绑定在局部存储器的实现
3.2.1 Linux 内存绑定在局部存储器的实现总体步骤总体步骤:l 采用方案三,在在原来分析的基础上,以及已知Linux系统内存的初始化的情况,对内核代码进行修改,主要包括确定新区的范围,建立新区,重新对分配内存的分配机制进行设置。l 新区划分后,对新建的两个区进行一定程度上的延迟;l 建立系统调用,系统调用将提供用户进行手动
2010-05-26 11:21:00 490
原创 Linux 内存绑定在局部存储器的实现
3.2.1 Linux 内存绑定在局部存储器的实现总体步骤总体步骤:l 采用方案三,在在原来分析的基础上,以及已知Linux系统内存的初始化的情况,对内核代码进行修改,主要包括确定新区的范围,建立新区,重新对分配内存的分配机制进行设置。l 新区划分后,对新建的两个区进行一定程度上的延迟;l 建立系统调用,系统调用将提供用户进行手动
2010-05-26 11:20:00 296
原创 Linux 内存绑定在局部存储器的实现
3.2.1 Linux 内存绑定在局部存储器的实现总体步骤总体步骤:l 采用方案三,在在原来分析的基础上,以及已知Linux系统内存的初始化的情况,对内核代码进行修改,主要包括确定新区的范围,建立新区,重新对分配内存的分配机制进行设置。l 新区划分后,对新建的两个区进行一定程度上的延迟;l 建立系统调用,系统调用将提供用户进行手动
2010-05-26 11:18:00 483
原创 Linux 内存绑定在局部存储器的实现
3.2.1 Linux 内存绑定在局部存储器的实现总体步骤总体步骤:l 采用方案三,在在原来分析的基础上,以及已知Linux系统内存的初始化的情况,对内核代码进行修改,主要包括确定新区的范围,建立新区,重新对分配内存的分配机制进行设置。l 新区划分后,对新建的两个区进行一定程度上的延迟;l 建立系统调用,系统调用将提供用户进行手动
2010-05-26 11:17:00 363
原创 Linux 内存绑定在局部存储器的实现
3.2.1 Linux 内存绑定在局部存储器的实现总体步骤总体步骤:l 采用方案三,在在原来分析的基础上,以及已知Linux系统内存的初始化的情况,对内核代码进行修改,主要包括确定新区的范围,建立新区,重新对分配内存的分配机制进行设置。l 新区划分后,对新建的两个区进行一定程度上的延迟;l 建立系统调用,系统调用将提供用户进行手动
2010-05-26 11:15:00 620
原创 内存映射
内存映射 运行可执行文件时,先被映射到进程的虚拟地址空间中,形成vm_area_struct结构链表,接着程序的一部分被操作系统装入到物理内存。这种将映像连接到进程虚拟地址空间的方法称为"内存映射"。通过内存映射,文件的内容被直接链接到进程的虚拟地址空间。 随着vm_area_struct结构的生成,这些结构所描述的虚拟内存区域上的标准操作函数也由linu
2010-03-02 20:39:00 604
原创 Linux vmalloc的实现
内核版本:2.6.28linux如何利用伙伴系统,slab分配器分配内存,用这些方法得到的内存在物理地址上都是连续的, 然而,有些时候,每次请求内存时,系统都分配物理地址连续的内存块是不合适的,可以利用小块内存“连接”成大块可使用的内存.这在操作系统设计中也被称为 “内存拼接”,显然,内存拼接在需要较大内存,而内存访问相比之下不是很频繁的情况下是比较有效的. 在linux内核中用
2010-03-02 14:06:00 4894
原创 C++成员初始化列表
First: class foo{ private : int a, b; }; 1、foo(){}和foo(int i = 0){}都被认为是默认构造函数,因为后者是默认参数。两者不能同时出现。2、构造函数列表的初始化方式不是按照列表的的顺序,而是按照变量声明的顺序。比如foo里面,a在b之前,那么会先构造a再构造b。所以无论foo():a(b + 1)
2010-02-01 01:17:00 666 1
TA_Lib-0.4.10-cp36-cp36m-win_amd64.whl
2018-03-15
Linux Shell Scripting Cookbook + Code
2012-02-17
TCP/IP详解 1,2,3卷
2011-10-17
MATLAB遗传算法工具箱及应用
2011-06-14
Face Recognition With Radial Basis Function (RBF) Neural Networks 源代码
2011-06-11
Algorithm And Complexity 《算法和复杂度》(英文版)
2011-05-18
Digital Image Processing: PIKS Inside, Third Edition
2011-03-15
Professional Linux Network Programming
2011-02-28
Recent_Advances_in_Face_Recognition
2010-08-05
Face Recognition
2010-08-05
pattern recognition fourth-edition
2010-07-16
Linux Networking Cookbook
2010-07-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人