码迷,mamicode.com
首页 > 其他好文
Nucleus进程间通信(IPC)方式
实时操作系统Nucleus Plus提供了6种进程间通信方式,分别为:邮箱(mailboxes)、消息队列(queues)和管道(pipes)、信号量(semaphores)、事件集(event groups)和消息(signals)。前三者用于进程间通信,后三者用于进程同步,本文总结了Nucleus Plus进程间通信方式。...
分类:其他好文   时间:2014-06-17 19:19:14    阅读次数:268
AlertDialog的onCreateDialog与onPrepareDialog使用方法
介绍AlertDialog的onCreateDialog与onPrepareDialog使用方法...
分类:其他好文   时间:2014-06-17 16:26:17    阅读次数:160
UML的基本关联
?? First, a dependency is a semantic relationship between two model elements in which a change to one element (the independent one) may affect the semantics of the other element (the dependent on...
分类:其他好文   时间:2014-06-17 18:50:36    阅读次数:182
pcapReader——源码分析
pcapReader...
分类:其他好文   时间:2014-06-17 18:50:00    阅读次数:343
UML的基本图(一)
?? A class diagram shows a set of classes, interfaces, and collaborations and their relationships. These diagrams are the most common diagram found in modeling object-oriented systems. Class diagram...
分类:其他好文   时间:2014-06-17 19:28:33    阅读次数:261
UML的基本图(二)
?? Both sequence diagrams and communication diagrams are kinds of interaction diagrams. An interaction diagram shows an interaction, consisting of a set of objects or roles, including the messages ...
分类:其他好文   时间:2014-06-17 19:15:04    阅读次数:186
UML的基本图(三)
?? An artifact diagram shows the physical constituents of a system on the computer. Artifacts include files, databases, and similar physical collections of bits. Artifacts are often used in conjunct...
分类:其他好文   时间:2014-06-17 16:11:28    阅读次数:287
QT_编程基础
Qt是一个由奇趣科技开发的跨平台C++图形用户界面应用程序开发框架。它既可以开发GUI程式,也可用于开发非GUI程式,比如控制台工具和服务器。Qt是面向对象语言,易于扩展,并且允许组件编程。Qt是一个著名的C++库,使用Qt,在一定程度上让你获得的是一个“一站式”的服务。    Qt 的良好封装机制使得 Qt 的模块化程度非常高,可重用性较好,对于用户开发来说是非常方便的。 Qt 提供了一种称为...
分类:其他好文   时间:2014-06-17 16:03:33    阅读次数:171
UML的通用机制(三)
?? Common Divisions In modeling object-oriented systems, the world often gets divided in several ways. First, there is the division of class and object. A class is an abstraction; an object is one ...
分类:其他好文   时间:2014-06-17 16:25:38    阅读次数:322
请不要轻易的说:我不会
关于这个想法,在脑子里盘旋好久了,今天把它抓出来,跟大家分享一下。从学计算机到现在,十几年了,遇到过很多人,同学、朋友、师弟师妹、同事、下属,其中不少人有这样的问题,当自己接到任务的时候,迫不及待的说:“我不会。”甚至有的时候,把这句话说的理所当然,理直气壮。“我不会”这句话,其实是描述一个状态,说明要完成的任务或者要做的东西,没有做过,也不知道该怎么去做。本身是一句中性的词,没有什么褒贬,今天这...
分类:其他好文   时间:2014-06-17 16:39:16    阅读次数:157
高斯消元模版
矩阵的秩 typedef int Matrix[maxn][maxn]; int rank(Matrix A, int m, int n) { int i = 0, j = 0, k, r, u; while(i < m && j < n) { r = i; for(k = i; k < m; k++) if(A[k][j]) { r = k; brea...
分类:其他好文   时间:2014-06-17 19:03:00    阅读次数:210
H264编码器性能测试
如今,H264已经成为视频行业的标准规范,企业中使用比较多的当数X264,开源,资源消耗又比较少。 首先,介绍一下常见的三大开源H264编码器:JM、X264、T264 JM H264的官方测试源码,实现了264的所有特性,但程序结构冗长,编码复杂度高,不推荐商业应用。 X264 摈弃了264中对编码性能贡献小,但计算复杂度极高的新特性,推荐商业应用。 T264 编码与X264类似,但是解码器只能解T264编码的,有点坑。...
分类:其他好文   时间:2014-06-17 19:20:32    阅读次数:410
有统计的百度分享
有统计的百度分享...
分类:其他好文   时间:2014-06-17 18:45:23    阅读次数:206
软件测试基本方法(一)之软件测试
为什么要进行软件测试: 产品质量的保证控制成本的关键软件可靠性确认让企业具备国际竞争力 软件测试定义: 软件测试是由“验证(verification)”和“有效性确认(validation)”活动构成的整体。 验证:检验软件是否已正确地实现了产品规格书所定义的系统功能和特性。有效性确认:确认所开发的软件是否满足用户真正需求的活动。 软件测试和软...
分类:其他好文   时间:2014-06-17 16:15:20    阅读次数:242
17周 oj 比较大小 类模板
/*声明一个类模板,利用它分别实现两个整数. 浮点数和字符的比较,求出大数和小数。 说明:在类模板外定义各成员函数。 输入两个整数、两个浮点数和两个字符 从大到小输出两个整数、两个浮点数和两个字符 */ #include #include using namespace std; template class Compare { public: Compare...
分类:其他好文   时间:2014-06-17 19:08:27    阅读次数:266
二维树状数组的区间加减及查询 tyvj 1716 上帝造题的七分钟
具体解释见小结。 #include #include #include #include #include #include #include #include #include #pragma comment(linker, "/STACK:1024000000"); #define EPS (1e-8) #define LL long long #define ULL u...
分类:其他好文   时间:2014-06-17 16:26:54    阅读次数:288
CGlib小记
CGlib是一个强大的代码生成包,常被用于各种AOP框架,提供“拦截”功能。JDK本身就为控制要访问的对象提供了一种途径,动态代理Proxy。但是被代理的累必须实现一个或多个接口。如果想摆脱这个限制,为没有实现借口的类代理的话,可以使用CGlib。 下面是一个入门学习的小例子。 需求:InfoManager类有四个方法,query、del、create、update。要对这些方法进行访问控制。...
分类:其他好文   时间:2014-06-17 19:31:21    阅读次数:175
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!