http://chembo.iteye.com/blog/1503770 http://www.2cto.com/os/201007/54067.html http://blog.csdn.net/dacong/article/details/50485585 主动关闭一方会进入一个TIME_WAI ...
分类:
Web程序 时间:
2016-11-25 20:41:46
阅读次数:
214
An instance of JSContext represents a JavaScript execution environment. All JavaScript execution takes place within a context. JSContext is also used ...
分类:
Web程序 时间:
2016-11-24 06:54:57
阅读次数:
177
自定义 View .h #import <UIKit/UIKit.h> @interface PooCodeView : UIView @property (nonatomic, retain) NSArray *changeArray; @property (nonatomic, retain) ...
分类:
其他好文 时间:
2016-11-23 14:37:31
阅读次数:
311
解决Eclipse中Java工程间循环引用而报错的问题 如果我们的项目包含多个工程,而它们之间又是循环引用的关系,那么Eclipse在编译时会抛出如下一个错误信息: “A cycle was detected in the build path of project: XXX” 解决方法非常简单: ...
分类:
其他好文 时间:
2016-11-23 12:46:17
阅读次数:
135
项目介绍: StickyHeaders使用RecyclerView实现的分组列表 ...
分类:
其他好文 时间:
2016-11-17 20:38:07
阅读次数:
179
【题目链接】 http://acm.hdu.edu.cn/showproblem.php?pid=5782 【题目大意】 给出两个字符串,判断他们每一个前缀是否循环同构,循环同构的意思就是,字符串首位相接拼成一个环,两个环通过旋转可以相等。 【题解】 这道题用到了一个神奇的结论,如果S字符串和T字符 ...
分类:
其他好文 时间:
2016-11-16 14:33:03
阅读次数:
196
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Note: Do not modify the linked list. Follow up:Can you ...
分类:
编程语言 时间:
2016-11-15 19:29:31
阅读次数:
148
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Note: Do not modify the linked list. Follow up:Can you ...
分类:
其他好文 时间:
2016-11-13 14:19:03
阅读次数:
143
UIButton *btn = // create the button objc_setAssociatedObject(btn, "firstObject", someObject, OBJC_ASSOCIATION_RETAIN_NONATOMIC); //实际上就是KVC objc_setA ...
分类:
移动开发 时间:
2016-11-12 13:59:22
阅读次数:
272