What Is an Exception? The term?exception?is shorthand for the phrase "exceptional event." Definition:?An?exception?is an event, which occurs during the execution of a program, that disrupts th...
分类:
其他好文 时间:
2015-05-19 21:04:09
阅读次数:
216
不错! 因为现在用的opnetsdb,之前一直担忧其中存在的问题,现在版本更新也挺快,bug修复也比较及时: Bug Fixes: FSCK was not handling compacted and floating point duplicates properly. Now they are merg...
分类:
数据库 时间:
2015-05-19 19:21:04
阅读次数:
162
setInterval(function() { jq('.sjbg02 li:first').animate({ 'height': '0', 'opacity': '0' }, 'slow', function() { jq(this).removeAttr('style')...
分类:
Web程序 时间:
2015-05-18 12:46:47
阅读次数:
148
点击Rules->Performance->Simulate Modem Speeds。如果需要修改速度,可点击Rules->Customize Rules来修改。该配置文件保存路径为C:\Users\xxx\Documents\Fiddler2\Scripts\CustomRules.js参考:h...
分类:
Web程序 时间:
2015-05-17 13:43:00
阅读次数:
174
The best recipe for becoming a complete flop in Google Play is to release an app that is battery and memory hungry with a slow interface. Most likely,...
分类:
移动开发 时间:
2015-05-15 15:22:14
阅读次数:
236
求有环单链表中的环长、环起点、链表长1.判断单链表是否有环 使用两个slow, fast指针从头开始扫描链表。指针slow 每次走1步,指针fast每次走2步。如果存在环,则指针slow、fast会相遇;如果不存在环,指针fast遇到NULL退出。 就是所谓的追击相遇问题: 2.求有环单链...
分类:
其他好文 时间:
2015-05-13 09:57:13
阅读次数:
108
java实现生产者消费者问题
生产者消费者问题(英语:Producer-consumer problem),也称有限缓冲问题(英语:Bounded-buffer problem),是一个多线程同步问题的经典案例。该问题描述了两个共享固定大小缓冲区的线程——即所谓的“生产者”和“消费者”——在实际运行时会发生的问题。生产者的主要作用是生成一定量的数据放到缓冲区中,然后重复此过程。与此同时...
分类:
编程语言 时间:
2015-05-11 17:57:59
阅读次数:
139
1.在项目中添加ADO.NET实体数据模型: 2.接着根据提示配置数据库连接,配置完毕之后项目中生成了大致如下的内容(EF6.x): 其中TestData.tt中的Consumer,Stores是创建时选的数据库中的表 3.在TestDataContext.cs中可以看到生成的实体框架的名字: 4....
分类:
其他好文 时间:
2015-05-09 13:17:03
阅读次数:
148
Detect the VirusTime Limit:2 Seconds Memory Limit:65536 KBOne day, Nobita found that his computer is extremely slow. After several hours' work, he fin...
分类:
其他好文 时间:
2015-05-08 14:33:52
阅读次数:
155
General log: Geleral log记录了服务器接收到的每一个查询或是命令,无论这些查询或是命令是否正确甚至是否包含语法错误,general log 都会将其记录下来 ,记录的格式为 {Time ,Id ,Command,Argument }。也正因为mysql服务器需要不断地记录日志,...
分类:
其他好文 时间:
2015-05-07 20:09:55
阅读次数:
159