上一页 1 ··· 211 212 213 214 215 216 217 218 219 ··· 234 下一页
摘要: redis字符串的定义和实现在Ssd.h和Ssd.c中。1.定义typedef char *sds; //本质是字符char的指针2.字符串的操作sds sdsnew(const char *init) { size_t initlen = (init == NULL) ? 0 : strlen(init); return sdsnewlen(init, initlen);}调用sdsnewlen,看一下该函数的实现sds sdsnewlen(const void *init, size_t initlen) { struct sdshdr *sh; if (init) { sh = zmal 阅读全文
posted @ 2013-12-18 22:33 一天不进步,就是退步 阅读(1719) 评论(0) 推荐(0)
摘要: 数据结构的应用--Adlist.h定义1.节点结构typedef struct listNode { struct listNode *prev; //前向节点 struct listNode *next; //后向节点 void *value; //该节点的值} listNode;2.双向链表结构typedef struct list { listNode *head; //头节点 listNode *tail; //尾节点 void *(*dup)(void *ptr); //复制函数 void (*free)(void *ptr); //释放函数 int (*match)(void *p 阅读全文
posted @ 2013-12-17 22:04 一天不进步,就是退步 阅读(2385) 评论(0) 推荐(0)
摘要: <Hudson-ci‎ |Using Hudson‎ |Installing Hudson(Redirected fromHudson-ci/Installing Hudson RPM)Hudson Continuous Integration ServerWebsiteDownloadCommunityMailing List•Forums•IRCBugzillaOpenHelp WantedBug DayContributeBrowse SourceInstalling Hudson on RedHat, Oracle Enterprise Linux & other RPM 阅读全文
posted @ 2013-12-17 19:58 一天不进步,就是退步 阅读(447) 评论(0) 推荐(0)
摘要: "Install as Windows Service" from the menu:Confirm your intention to install as a service. The installation will place the program files to the directory designated as the slave root directory (from the "configure executors" screen.)Once the installation succeeds, you'll be a 阅读全文
posted @ 2013-12-17 19:54 一天不进步,就是退步 阅读(828) 评论(0) 推荐(0)
摘要: 现在,使用打印的sql在oracle数据库客户端能查询出结果,但执行ibatis查询语句不行,ibatis插入可以。解决问题的历程:1. 去掉sql中的where语句,仍然查找不到,确定不是sql错误。2.检查oracle中该表的权限是否允许访问。都排除了。最后无意中发现sql map文件中的返回值为map类型,程序中的返回值为list类型。 阅读全文
posted @ 2013-12-16 18:10 一天不进步,就是退步 阅读(2349) 评论(0) 推荐(0)
摘要: http://www.ibm.com/developerworks/cn/java/j-lo-proxy1/#icommentshttp://www.ibm.com/developerworks/cn/java/j-lo-proxy2/引言Java 动态代理机制的出现,使得 Java 开发人员不用手工编写代理类,只要简单地指定一组接口及委托类对象,便能动态地获得代理类。代理类会负责将所有的方法调用分派到委托对象上反射执行,在分派执行的过程中,开发人员还可以按需调整委托类对象及其功能,这是一套非常灵活有弹性的代理框架。通过阅读本文,读者将会对 Java 动态代理机制有更加深入的理解。本文首先从 阅读全文
posted @ 2013-12-14 23:44 一天不进步,就是退步 阅读(474) 评论(0) 推荐(0)
摘要: 插入排序算法public class InsertSortTest { /** * @param args */ public static void main(String[] args) { int[] a={3,5,9,16,29,47,78,89,94}; int key=47; int[] b=insertSort(a,key); for(int i=0;iunsorted[len-1]){ sorted[sorted.length-1]=key; ... 阅读全文
posted @ 2013-12-14 21:53 一天不进步,就是退步 阅读(874) 评论(0) 推荐(0)
摘要: 1.unix体系结构其中,system calls是kernel和外部交互的接口。shell 用来跑一些应用程序的接口。library基于system calls的最顶层。applications 应用层。2.登录登录口令存放在/etc/passwd文件中,冒号分割成7部分,规格如下:the login name, encrypted password, numeric user ID(205), numeric group ID (105),a comment field, home directory (/home/sar), and shell program (/bin/ksh).我的 阅读全文
posted @ 2013-12-14 10:04 一天不进步,就是退步 阅读(303) 评论(0) 推荐(0)
摘要: hbase文档地址:http://hbase.apache.org/book/book.htmlopenstack资料http://www.openstack.org/ 阅读全文
posted @ 2013-12-10 09:25 一天不进步,就是退步 阅读(395) 评论(0) 推荐(0)
摘要: http://www.cubrid.org/blog/dev-platform/understanding-jvm-internals/ http://architects.dzone.com/articles/understanding-jvm-internals https://blog.jam 阅读全文
posted @ 2013-12-09 09:57 一天不进步,就是退步 阅读(1266) 评论(0) 推荐(0)
上一页 1 ··· 211 212 213 214 215 216 217 218 219 ··· 234 下一页