After understanding how Box is, then we are going to see how to use Box to refacotr code, to un-nested expression. For example, we have code: So how i ...
分类:
Web程序 时间:
2016-12-12 07:41:41
阅读次数:
261
过程抽象 接口 实现 函数签名 万能函数 多线程 单线程 当运行老师给的代码hello_single.c的时候,发现和老师的运行结果不一样,也没有感受到函数级并发,然而当我把这个代码删除之后,就明白了函数级并发了,没删之前运行结果为:每个一秒打出一个字符串,共进行10秒;删除之后:前4秒什么都没有输 ...
分类:
其他好文 时间:
2016-12-11 20:44:05
阅读次数:
253
20145239 《信息安全系统设计基础》第13周学习总结 本周代码实践 hello_multi.c 先打印world换行打印hello,间隔1秒再打印相同内容,一共打印5次,最后输出t1,t2 finished hello_multi1.c hello_single.c 打印一个hello,之后每 ...
分类:
其他好文 时间:
2016-12-11 15:13:58
阅读次数:
230
Network Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 9434 Accepted: 3511 Description A network administrator manages a large network. Th ...
分类:
Web程序 时间:
2016-12-11 01:59:13
阅读次数:
295
进行 spring mvc jpa整合时。Junit方法测试时。 异常: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' def ...
分类:
编程语言 时间:
2016-12-10 19:27:00
阅读次数:
1339
B-number B-number Problem Description A wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string "13" ...
分类:
其他好文 时间:
2016-12-10 15:58:56
阅读次数:
205
一、定义单页 Web 应用 (single-page application 简称为 SPA) 是一种特殊的 Web 应用。它将所有的活动局限于一个Web页面中,仅在该Web页面初始化时加载相应的HTML、JavaScript 和 CSS。一旦页面加载完成了,SPA不会因为用户的操作而进行页面的重新 ...
分类:
Web程序 时间:
2016-12-10 14:06:00
阅读次数:
923
2.5-冗余VLAN High-Availability(AH) First hop routers on the LAN redundancy Network/首跳冗余网络(出口第一个网络): 建立:Fault-tolerant/容错网络 避免:Single Points of Failure/单... ...
分类:
其他好文 时间:
2016-12-10 13:21:59
阅读次数:
210
说明GLUT_SINGLE0x0000指定单缓存窗口GLUT_DOUBLE0x0002指定双缓存窗口原理GLUT_SINGLE单缓冲,屏幕显示调用glFlush(),将图像在当前显示缓存中直接渲染,会有图形跳动(闪烁)问题GLUT_DOUBLE双缓冲,屏幕显示调用glutSwapBuffers(),将图像先绘制在另外的缓存中,渲染完毕之后..
分类:
其他好文 时间:
2016-12-09 19:57:29
阅读次数:
237
我们的项目中中文切词使用的是mmseg,有一个不满意的地方是jar包中的默认词典一定会被加载进去,当我对有些term有意见时,无法删除。 mmseg中Dictionary.java里一段代码保证了/data/words.dic的加载,我无法提供自己的进行替换。 而IKAnalyzer就比较自由,既可 ...
分类:
其他好文 时间:
2016-12-09 16:17:57
阅读次数:
383