Capturing 'self' strongly in this block is likely to lead to a retain cycle__block ViewController *controller = self;[_tableView setPullToRefreshHandl...
分类:
移动开发 时间:
2015-09-16 12:10:15
阅读次数:
183
线上前端是nginx反向到后边的两个tomcat的架构,在搭建tomcat的时候,由于自定义了tomcat的默认web数据存储路径,导致后来更新代码的时候出现了问题。今天上线之后,由于程序有点儿问题,更改了一下,还没等重启tomcat服务,尼玛网站就打不开了,网站首页显示一个502的页面,手..
分类:
Web程序 时间:
2015-09-15 20:21:04
阅读次数:
355
一、likely()与unlikely()函数的意义 http://blog.chinaunix.net/uid-27665626-id-3506567.html
分类:
系统相关 时间:
2015-09-03 11:32:38
阅读次数:
149
tomcat启动报错 ? 错误信息:SEVERE: The web application [/escm] appears to have started a thread named [FileWatchdog] but has failed to stop it. This is very likely to create a memory leak. 1、修改...
分类:
其他好文 时间:
2015-08-27 15:35:18
阅读次数:
196
3.3 Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when ...
分类:
其他好文 时间:
2015-07-26 08:35:16
阅读次数:
122
针对linux内核likely()及unlikely()做了详细的讲述,大致了解一点gcc优化方面的知识
分类:
系统相关 时间:
2015-07-15 20:50:57
阅读次数:
184
在 2.6 内核中,随处可以见到 likely() 和 unlikely() 的身影,那么为什么要用它们?它们之间有什么区别? 首先要明确: if(likely(value)) 等价于 if(value) if(unlikely(value)) 也等价于 if(value)
也就是说 likely() 和 unlikely() 从阅读和理解代码的角度来看,是一样的!!!#define...
分类:
系统相关 时间:
2015-07-14 22:42:27
阅读次数:
169
hadoop的 namenode重新格式化以后,重启hbase,发现它的hmaster进程启动后马上消失,查看一大堆日志,最后在zookeeper的日志里发现如下问题
Unable to read additional data from client sessionid 0x14e86607c850007, likely client has closed socket
解决 方法:删除掉h...
分类:
系统相关 时间:
2015-07-13 18:43:12
阅读次数:
156
1.引言在很多源码如Linux内核、Glib等,我们都能看到likely()和unlikely()这两个宏,通常这两个宏定义是下面这样的形式。#define likely(x) __builtin_expect(!!(x), 1)#define unlikely(x) __built...
分类:
其他好文 时间:
2015-07-07 16:31:50
阅读次数:
236
Firstly, open the file using Excel and then simply re-save it. Does thisclear up the problem? If so then yes, it is likely that the file does notconfo...
分类:
Windows程序 时间:
2015-06-25 19:03:35
阅读次数:
1746