An apparatus and method is described herein for providing robust speculative code section abort control mechanisms. Hardware is able to track speculat...
分类:
移动开发 时间:
2014-10-04 01:14:05
阅读次数:
357
FrameBuffer是Thrift NIO服务器端的一个核心组件,它一方面承担了NIO编程中的缓冲区的功能,另一方面还承担了RPC方法调用的职责。
FrameBufferState定义了FrameBuffer作为缓冲区的读写状态
private enum FrameBufferState {
// in the midst of reading the fra...
分类:
其他好文 时间:
2014-09-30 16:21:19
阅读次数:
366
I‘ll list some of the ones I‘m reading, via RSS: Blog aggregators: http://java.dzone.com http://javacodegeeks.com http://www.programcreek.com/2012/11/top-100-java-developers-blogs/ Blogs: http://re...
分类:
编程语言 时间:
2014-09-29 18:20:31
阅读次数:
232
The Module PatternModulesModules are an integral piece of any robust application's architecture and typically help in keeping the units of code for a ...
分类:
编程语言 时间:
2014-09-28 23:04:55
阅读次数:
275
当我们的虚拟机在非正常关闭后,再次启动机器时,Virtual Box会出现 Runtime error opening 'C:\Users\admin\VirtualBox VMs\Windows Server\Windows Server.vbox for reading: -102 (File....
分类:
其他好文 时间:
2014-09-28 08:56:11
阅读次数:
234
https://www.gitbook.io/book/abcfy2/redis-in-action-reading-notes 最近在学习redis,正在看这本书,以笔记的形式记录下这本书,方便以后翻阅。 这本书介绍很不错,入门很值得参考,图文并茂解说redis的存储数据...
分类:
其他好文 时间:
2014-09-27 19:30:10
阅读次数:
245
题意:
初始值为零,后面奇数项成二加一,偶数项乘二。
思路:
其实区别就在于这个加一。
就是构造一个-1每次相成,然后1-1+1就ok了。
就是
| -1 1 0 |
| -1 1 0 | * | 0 1 1 | = | 1 0 1 |
| 0 0 2...
分类:
其他好文 时间:
2014-09-25 19:36:07
阅读次数:
129
java语言的11个特性: java语言是一种简单的(Simple),面向对象的(Object-Oriented),分布式的(Distributed),解释性的(interpreted),健壮的(Robust),安全的(Secure),结构中立的(Architecture-neutral),可移植...
分类:
编程语言 时间:
2014-09-25 14:35:39
阅读次数:
253
这两道题都是用的尺取法。尺取法是《挑战程序设计竞赛》里讲的一种常用技巧。就是O(n)的扫一遍数组,扫完了答案也就出来了,这过程中要求问题具有这样的性质:头指针向前走(s++)以后,尾指针(t)要么不动要么也往前走。满足这种特点的就可以考虑尺取法。poj3061 比较简单,也可以用二分做,时间复杂度O...
分类:
其他好文 时间:
2014-09-25 02:11:38
阅读次数:
245
A text file is a sequence of characters stored on a permanent medium like a hard drive, flash memory, or CD-ROM. To read a file, you can use open to c...
分类:
其他好文 时间:
2014-09-23 02:45:53
阅读次数:
267