VS2012需要安装Update 1补丁在Project的Properties 选择 General > Platform Toolset -> Visual Studio 2012 - Windows XP (v110_xp)在Project的Properties 选择 General > C/C...
NM端
//NM发送心跳,增加一个NODE_UPDATE事件,简单返回一个respone,异步驱动型,事件再驱动assignContainers,从资源请求结构里取出需求分配资源
//AsyncDispatcher原理
//一个event队列,一个eventtype.class 到处理器对应关系(仅仅是一个class对应一个处理器,class是个Enum可能会有很多种值,具体逻辑在处理器内部)...
分类:
其他好文 时间:
2014-09-09 12:31:58
阅读次数:
307
引言:作为少有的.net架构下的大型网站,stackoverflow曾发表了一篇文章,介绍了其技术体系,原文链接http://highscalability.com/blog/2011/3/3/stack-overflow-architecture-update-now-at-95-million-...
分类:
Web程序 时间:
2014-09-09 12:01:48
阅读次数:
221
A method and mechanism for performing an unconditional stack switch in a processor. A processor includes a processing unit coupled to a memory. The me...
分类:
其他好文 时间:
2014-09-09 12:00:48
阅读次数:
171
Row versus Set Processing, Surprise!Craig Shallahamer:1. Set based processing will likely be much faster than row based processing. Our experiment of ...
分类:
其他好文 时间:
2014-09-09 11:05:08
阅读次数:
162
1.publish2.update print_lolPS:for Step 1.write the code in to a py file. put the py file into a folder named nester. new a py file named 'setup' and t...
分类:
编程语言 时间:
2014-09-09 10:44:28
阅读次数:
309
voiddraw(){
rect(20,20,60,60);
}
voidmousePressed(){
link("http://processingjs.org");
}
link(url);
link(url,target)
分类:
其他好文 时间:
2014-09-09 09:11:08
阅读次数:
185
voidsetup(){size(200,200);rectMode(CENTER);noFill();translate(100,100);for(inti=1;i<16;i++){rotate((PI/16)*i);rect(0,0,100,100);}}
分类:
其他好文 时间:
2014-09-09 09:10:58
阅读次数:
211
voidsetup(){size(200,200,P3D);noFill();smooth();}voiddraw(){background(0);translate(width/2,height/2,-(width/2));rotateY(map(mouseX,0,width,-PI,PI));stroke(100);box(150);rotateX(map(mouseY,0,height,-PI,PI));stroke(150);box(75);}
分类:
其他好文 时间:
2014-09-09 09:10:49
阅读次数:
348
intrectX,rectY;intrectSize=90;colorrectColor;colorbaseColor;booleanrectOver=false;voidsetup(){size(640,360);rectColor=color(0);baseColor=color(102);rectX=width/2-rectSize/2;rectY=height/2-rectSize/2;}voiddraw(){update(mouseX,mouseY);noStroke();if(rectOver){..
分类:
移动开发 时间:
2014-09-08 11:00:17
阅读次数:
697