代码实现 1 #ifndef _SORT_H 2 #define _SORT_H 3 4 // goal: quicksort and insertsort 5 // time: 12/2/2014 6 // author: zrss 7 // reference: introduction to....
分类:
编程语言 时间:
2014-12-02 13:20:36
阅读次数:
226
RMI(远程接口调用)? 1. RMI的原理:? RMI系统结构,在客户端和服务器端都有几层结构。? 方法调用从客户对象经占位程序(Stub)、远程引用层(Remote Reference Layer)和传输层(Transport Layer)向下,传递给主机...
分类:
其他好文 时间:
2014-12-02 12:12:19
阅读次数:
234
服务引用是服务的消费方向注册中心订阅服务提供方提供的服务地址后向服务提供方引用服务的过程。
服务的应用方在spring的配置实例如下:
dubbo:reference
id="demoService"
interface="com.alibaba.dubbo.demo. DemoService"/>
如上配置spring在容器启动的时候会解析自定义的schema元素转换成dubbo内部数...
分类:
其他好文 时间:
2014-12-01 22:37:30
阅读次数:
2332
1,官方文档,基本类型数据查询语言文档:http://www.datastax.com/documentation/cql/3.1/cql/cql_reference/update_r.htmlcql 支持的数据类型:相对于 MySQL,有几个类型比较有意思,uuid类型,map,list,set类型,这个优化关联查询,直接将List存入一条记录。CQL TypeConstantsDescript...
分类:
其他好文 时间:
2014-11-29 16:02:33
阅读次数:
242
题目链接:点击打开链接
题意:
卡特兰数前n项和 结果%m
把答案当成2部分搞。
#include
#include
#define int __int64
const int N = 100000;
struct inverse_element{
int x, y, q;
void extend_Eulid(int a,int b)
{
if(...
分类:
其他好文 时间:
2014-11-29 14:37:37
阅读次数:
170
The achievable accuracy for systems with multiple ADCs depends directly on the reference voltages applied to the ADCs. Medical-ultrasound-imaging syst...
分类:
其他好文 时间:
2014-11-28 15:58:22
阅读次数:
228
#include//不能有相同数字int main(){ int a[100],b[100],c[100]; int n; scanf("%d",&n); for(int i=0;ia[j]) b[i]++; for(i=0;i<n;i++...
分类:
编程语言 时间:
2014-11-28 14:12:54
阅读次数:
146
主要来自unity3d reference,再加上一些自己的理解 一 概述 摄像头是用于将世界场景投影到屏幕的设备。可以在场景中放置不限数目的摄像机,它们可以设定成任意的渲染次序,渲染到屏幕上的任意地方。 摄 像机实质上...
分类:
编程语言 时间:
2014-11-28 12:49:46
阅读次数:
201
让人蛋疼的block!
block对于其变量都会形成strong reference,对于self也会形成strong reference ,而如果self本身对block也是 strong reference 的话,就会形成 strong reference 循环,造成内存泄露,为了防止这种情况发生,在block外部应该创建一个week(__block) reference。
所以在...
分类:
其他好文 时间:
2014-11-28 10:11:27
阅读次数:
168
Source Insight不仅仅是一个强大的程序编辑器,它还能显示reference trees,class inheritance diagrams和call trees。Source Insight提供了最快速的对源代码的导航和任何程序编辑器的源信息。
但是美中不足的是在打开很多文件后,没...
分类:
其他好文 时间:
2014-11-28 00:57:34
阅读次数:
418