上一页 1 ··· 208 209 210 211 212 213 214 215 216 ··· 229 下一页
摘要: http://book.51cto.com/art/200908/146363.htm5.1.2 指向函数的指针C语言通过&和*操作符来操作数据的地址,但它并没有提供一个用一般的方式来操作代码的地址。然而,C语言并没有完全切断程序员操作代码地址的可能,它提供了一些"受限制的"方式来操作代码的地址。之所以说这些方式是"受限制的",那是因为这些方式并不像操作数据地址那样自由和灵活。在C语言中,指针变量也可以指向一个函数。我们已经知道代码也是有地址的,一个函数在编译时会被分配给一个入口地址,这个入口地址就是该函数中第一条指令的地址,这就是该函数的指针。 阅读全文
posted @ 2013-12-04 09:41 一天不进步,就是退步 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 1.指针与地址一元运算符&可用于取一个对象的地址。例如:int i=1;&i就是计算机地址。一元运算符*是间接寻址或者间接引用运算符。例如:int x=1,y;int ip*;ip=&xy=*ip;2.指针与函数参数 c语言是以传值的方式将参数值传递给被调用函数,因此被调用函数不能直接修改主调函数中变量的值。例如:void swap(int x,int y){ int temp; temp=x; x=y; y=temp}swap不能交换两个变量x,y的值。可以使主调程序将指向所要交换的变量的指针传递给被调用函数,即swap(&a,&b);void swa 阅读全文
posted @ 2013-12-04 09:24 一天不进步,就是退步 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 1.系统日志通过分析weblogic的系统日志及应用程序出错的地方,可能找到异常的原因。2. 数据库连接 如果用户访问系统过慢,且连接池已经占满而weblogic的线程数量很少,就要查看应用是否没有释放数据库连接。3. 查看线程的锁情况 可以通过命令kill -3 来dump线程的日志。4. 通过weblogic控制台查看线程的情况,如果过大,可以考虑具体原因了。5. 通过weblogic控制台查看内存的变化情况,查看是否有内存溢出的可能。 阅读全文
posted @ 2013-12-03 16:25 一天不进步,就是退步 阅读(845) 评论(0) 推荐(0) 编辑
摘要: http://www.oschina.net/code/snippet_4873_2503[1].[代码] CException.h 跳至 [1] [2] [3]/************************************************************************//* make0000@msn.com *//************************************************************************//*******************************... 阅读全文
posted @ 2013-12-02 23:16 一天不进步,就是退步 阅读(1300) 评论(0) 推荐(0) 编辑
摘要: http://pauladamsmith.com/articles/redis-under-the-hood.html#redis-under-the-hoodHow does theRedisserver work?I was curious to learn more about Redis’s internals, so I’ve been familiarizing myself with the source, largely by reading and jumping around in Emacs. After I had peeled back enough of the o 阅读全文
posted @ 2013-12-01 22:36 一天不进步,就是退步 阅读(618) 评论(0) 推荐(0) 编辑
摘要: http://www.cprogramming.com/gdb.htmlA GDB Tutorial with ExamplesBy Manasij MukherjeeA good debugger is one of the most important tools in a programmer's toolkit. On a UNIX or Linux system, GDB (the GNU debugger) is a powerful and popular debugging tool; it lets you do whatever you like with your 阅读全文
posted @ 2013-11-30 00:29 一天不进步,就是退步 阅读(954) 评论(0) 推荐(0) 编辑
摘要: http://www.nczonline.net/blog/2013/10/15/the-best-career-advice-ive-received/The best career advice I’ve receivedPosted at October 15, 2013 07:00 am by Nicholas C. ZakasTags:Advice,Career,MentoringI recently had an interesting discussion with a colleague. We were recounting our job histories and how 阅读全文
posted @ 2013-11-29 18:30 一天不进步,就是退步 阅读(699) 评论(0) 推荐(0) 编辑
摘要: http://redis.io/topics/mass-inserthttp://blog.nosqlfan.com/html/3537.html 阅读全文
posted @ 2013-11-29 18:06 一天不进步,就是退步 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 注意,本文档为最新(11月21日),旧版本的可以参考:http://redis.io/topics/sentinel-old不鼓励使用旧版本的文档。Redis Sentinel是一个用来管理Redis服务器的系统,它主要工作有三种:1. 监控。Sentinel一直检测主从redis服务器是否正常工作。2. 通知。当一个被监控的redis服务器出错时,Sentinel可以通过api来通知系统管理员或者别的系统。3. 自动灾备。当主redis实例不能正常工作时,Sentinel会启动一个灾备进程,从而使一个从redis实例设置为主redis服务器,别的从Redis服务器设置为新的主redis的从服 阅读全文
posted @ 2013-11-29 17:27 一天不进步,就是退步 阅读(966) 评论(0) 推荐(0) 编辑
摘要: Redis debugging guideRedis is developed with a great stress on stability: we do our best with every release to make sure you'll experience a very stable product and no crashes. However even with our best efforts it is impossible to avoid all the critical bugs with 100% of success.When Redis cras 阅读全文
posted @ 2013-11-29 09:10 一天不进步,就是退步 阅读(831) 评论(0) 推荐(0) 编辑
上一页 1 ··· 208 209 210 211 212 213 214 215 216 ··· 229 下一页