基于hadoop2.6.2。。。。一张图Server启动,Client访问。。。。。使用hadoop ipc步骤: 1.定义RPC协议 2.实现RPC协议 3.构造和启动RPC SERVER 4.构造RPC Client并发送请求参考: http://www.cnblogs.com/dyc...
分类:
其他好文 时间:
2015-11-29 19:32:19
阅读次数:
135
一、学习目标掌握进程控制掌握信号处理的方法掌握管道和fifo进行进程间通信的方法二、学习任务 编译、运行、阅读、理解process.tar.gz压缩包中的代码三、参考资料及实验环境参考资料:process.tar.gz压缩包中的代码、课本《深入理解计算机系统》、百度、20135202闫佳歆 环境:实...
分类:
其他好文 时间:
2015-11-29 19:29:48
阅读次数:
206
1.git是一种分布式版本控制工具。目前项目中比较常见的版本控制器有SVN、CVS等,这些版本控制工具属于集中式版本控制器。集中式版本控制器,有一个中央服务器,开发人员的开发机从主服务器上下载了项目,开发后提交到主服务器,这样的话,如果中央服务器崩溃了,会给整个开发造成不可挽回的影响.分布式版本控制...
分类:
其他好文 时间:
2015-11-29 19:29:04
阅读次数:
125
DescriptionIn Chinese Chess, there is one kind of powerful chessmen called Cannon. It can move horizontally or vertically along the chess grid. At ea....
分类:
其他好文 时间:
2015-11-29 19:30:12
阅读次数:
174
1. typedef 重定义 数组类型 1 typedef int (MyArray)[5]; // 定义了一个数据类型 数组数据类型 2 MyArray myArray; // 相当于 int myArray[5]; 3 4 // 初始化数组内容 5 for (...
分类:
其他好文 时间:
2015-11-29 19:29:47
阅读次数:
140
面向对象:面向对象(Object Oriented,OO)是软件开发方法。面向对象的概念和应用已超越了程序设计和软件开发,扩展到如数据库系统、交互式界面、应用结构、应用平台、分布式系统、网络管理结构、CAD技术、人工智能等领域。面向对象是一种对现实世界理解和抽象的方法,是计算机编程技术,发展到一定阶...
分类:
其他好文 时间:
2015-11-29 19:28:47
阅读次数:
130
Problem DescriptionThere is a number sequence A1,A2....An,you can select a interval [l,r] or not,all the numbers Ai(l≤i≤r) will become f(Ai).f(x)=(189...
分类:
其他好文 时间:
2015-11-29 19:27:38
阅读次数:
179
紫书:P352#include #include #include using namespace std;int p[100];vector G[100]; //邻接表int n;void read_tree(){ int u,v; cin>>n; for(int i=0;i>...
分类:
其他好文 时间:
2015-11-29 19:26:22
阅读次数:
156
左部宽度固定,右部自适应 左部 右部三列布局,(左右宽度固定,中间自适应);左右宽度固定,中间自适应左右中
分类:
其他好文 时间:
2015-11-29 19:26:29
阅读次数:
120
DescriptionMachines have once again attacked the kingdom of Xions. The kingdom of Xions has N cities and N-1 bidirectional roads. The road network is ...
分类:
其他好文 时间:
2015-11-29 19:25:14
阅读次数:
122
一、 Git 常用命令速查git branch 查看本地所有分支git status 查看当前状态git commit 提交git branch -a 查看所有的分支git branch -r 查看远程所有分支git commit -am "init" 提交并且加注释git remote add o...
分类:
其他好文 时间:
2015-11-29 19:24:32
阅读次数:
128
exec1打印当前目录下所有文件的相关信息,命令等价于ls -l。它的操作过程是调用execvp函数:头文件:#include定义函数:int execvp(const charfile ,charconst argv []);函数说明:execvp()会从PATH 环境变量所指的目录中查找符合参数...
分类:
其他好文 时间:
2015-11-29 19:22:38
阅读次数:
172
http://www.cnblogs.com/slysky/p/4081307.html常见到的*.obj文件有两种:第一种是基于COFF(Common Object File Format)格式的OBJ文件(也称目标文件),这种格式用于编译应用程序;第二种是Alias|Wavefront公司推出的OBJ模型文件。本文对第二种obj模型文件进行分析。3D文件格式,常见的有几种 "*.3ds","*...
分类:
其他好文 时间:
2015-11-29 18:11:32
阅读次数:
201
#include "stdafx.h"void myShowHist(IplImage* image1,IplImage* image2);IplImage* cvShowHist(IplImage* src);int main(){ //对彩色图像进行均衡化 IplImage * image=.....
分类:
其他好文 时间:
2015-11-29 18:09:14
阅读次数:
159
#include#includeusing namespace std;struct bignum{ int len; int num[505]; bignum() { memset(num,0,sizeof(num)); }} a,b,c;int cmp...
分类:
其他好文 时间:
2015-11-29 18:10:00
阅读次数:
131
RAID是英文Redundant Array of Independent Disks(独立磁盘冗余阵列),简称磁盘阵列。下面将各个级别的RAID介绍如下。RAID0条带化(Stripe)存储。理论上说,有N个磁盘组成的RAID0是单个磁盘读写速度的N倍。RAID 0连续以位或字节为单位分割数据,并...
分类:
其他好文 时间:
2015-11-29 18:10:17
阅读次数:
189
var arr=new Array(10); var i,j; for(i=0;i<arr.length;i++){ arr=[59,29,12,58,2,49,94,3,90,39]; arr[i]=0; for(j=i;j<arr.length-1;j++){ teap=arr[j]; arr....
分类:
其他好文 时间:
2015-11-29 18:08:56
阅读次数:
112