码迷,mamicode.com
首页 >  
搜索关键字:the observer is null    ( 35011个结果
Oracle外键不加索引引起死锁
--创建一个表,此表作为子表 create table fk_t as select *from user_objects; delete from  fk_t where object_id is null; commit; --创建一个表,此表作为父表 create table pk_t as select *from user_objects; delete from  p...
分类:数据库   时间:2014-05-15 11:17:07    阅读次数:248
Leetcode 线性表 Linked List Cycle
题意:判断一个链表中是否有环 思路:快慢指针,如果有环,最终快慢指针会在非NULL相遇 注:用到fast->next前先要确保fast非NULL,要用fast->next->next前先要确保fast,fast->next非NULL 复杂度:时间O(n), 空间O(1) 相关题目:Linked List CycleII...
分类:其他好文   时间:2014-05-15 07:01:57    阅读次数:219
cocos2dx 编译错误 BUILD FAILEDG:\android\SDK\android-sdk-windows\tools\ant\build.xml:645: The following
BUILD FAILEDG:\android\SDK\android-sdk-windows\tools\ant\build.xml:645: The following erroroccurred while executing this line:G:\android\SDK\android-sdk-windows\tools\ant\build.xml:683: null returned:...
分类:移动开发   时间:2014-05-15 04:48:27    阅读次数:647
常见android中的style
自定义对话框设置style @null true true false @null true @null @null true false true @null ...
分类:移动开发   时间:2014-05-15 04:27:51    阅读次数:352
ZBarSDK支持armv7s
(null): File is universal (3 slices) but does not contain a(n) armv7s slice: /Users/robin/Documents/Project/ZBarApp/ZBarApp/ZBarSDK/libzbar.a file '/Users/robin/Documents/Project/ZBarApp/ZBarApp/ZBarS...
分类:其他好文   时间:2014-05-15 03:13:59    阅读次数:397
学习C/C++语言:文件的操作
#include #include void main(int argc,char *argv[]) { FILE *in,*out; if(argc!=3) { printf("you forgot to enter a file name\n"); exit(0); } if((in=fopen(argv[1],"r"))==NULL) { printf("cannot...
分类:编程语言   时间:2014-05-14 21:37:56    阅读次数:321
对interface文件操作
old:autoloifaceloinetloopbackautoeth1ifaceeth1inetstaticaddress10.0.13.13netmask255.255.255.0autobr0ifacebr0inetstaticaddress1.1.1.1netmask255.255.255.0gateway1.1.1.1bridge_portseth0bridge_stpoffbridge_fd0bridge_maxwait0dns-nameservers202.106.0.20202.106.1..
分类:其他好文   时间:2014-05-14 17:54:12    阅读次数:216
分析osip的解析报文
staticint_osip_message_parse(osip_message_t*sip,constchar*buf,size_tlength,intsipfrag){inti;constchar*next_header_index;char*tmp;char*beg;tmp=osip_malloc(length+2);if(tmp==NULL){OSIP_TRACE(osip_trace(__FILE__,__LINE__,OSIP_ERROR,NULL,"Couldnotallocatememory..
分类:其他好文   时间:2014-05-14 16:06:25    阅读次数:296
红黑树
红黑树是一个二叉搜索树,具有如下规则: 每个节点不是红色就是黑色。根节点必须为黑色。如果节点为红,其子节点必须为黑,父子节点不得同时为红。任一节点至NULL(NULL为黑色)的任何路径,所含黑节点数必须相同。 根据规则4,新增节点必须为红。 根据规则3,新增节点的父节点必须为黑。 因为新增节点必须是红,那么只有在父节点不为黑的时候才需要调整,父节点为黑则无需调整。 着...
分类:其他好文   时间:2014-05-14 15:29:28    阅读次数:287
android点滴之ViewTreeObserver
一类的基本概念 这是一个注册监听视图树的观察者(observer),在视图树种全局事件改变时得到通知。这个全局事件不仅还包括整个树的布局,从绘画过程开始,触摸模式的改变等。 二类的主要接口:监听器 interface  ViewTreeObserver.OnGlobalFocusChangeListener          当在一个视图树中的焦点状态发生改变时,所要调用的回调函数...
分类:移动开发   时间:2014-05-14 14:35:07    阅读次数:296
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!