Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".click to show clarification.Cl...
分类:
其他好文 时间:
2014-10-12 02:03:07
阅读次数:
213
原文链接:http://blog.csdn.net/hahahacff/article/details/8228034在主线程中直接捕获子线程的异常是捕获不到的(如果不做特殊处理),这样可能会导致程序还是会异常退出,而且异常的时候无法回收一些系统资源,或者没有关闭当前的连接等等。 public cl...
分类:
其他好文 时间:
2014-10-11 17:37:06
阅读次数:
156
安装rac10g,出现如下错误:
[root@rac2 oracle]# /u01/product/crs/root.sh
WARNING: directory '/u01/product' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does no...
分类:
其他好文 时间:
2014-10-11 17:29:05
阅读次数:
241
异常现象:
今天在处理用户头像的过程中,由于头像的处理比较复杂,因为,没有使用afinal自带的自动加载,而是自己根据头像的下载路径,手动进行下载和使用。但是在手动回收bitmap对象的过程中,会出现Cannot generate texture from bitmap异常的情况,同时,ImageView显示是黑色的,图像不能正常显示。
解决方案:
在查阅了一些其他人...
分类:
其他好文 时间:
2014-10-11 17:06:05
阅读次数:
846
很多文章说这个管用:1) Project->Info->Deployment Target->iOS Deployment Target更改为Summary->iOS Application Target->Deployment Target更改 Build Settings ---> Build ...
分类:
其他好文 时间:
2014-10-11 14:36:05
阅读次数:
174
Cannot terminate an externally created thread ?The VCL has a new TExternalThread class which derives from TThreadand can be attached to an existing Wi...
分类:
Windows程序 时间:
2014-10-11 11:46:25
阅读次数:
1614
如果你在linux下用过ls,细心的你会发现目录竟然有可执行权限!如:
drwxrwxr-x 11 cl cl 4096 9月 25 14:22 ./
drwxr-xr-x 49 cl cl 4096 10月 10 16:00 ../
drwxrwxr-x 5 cl cl 4096 9月 23 10:58 algorithm/
drwxrwxr-x 2 cl cl 4096 9月...
分类:
系统相关 时间:
2014-10-10 22:09:24
阅读次数:
210
在安装oracle10g的时候出现如下错误:
[oracle10@rac1 clusterware]$ ./runInstaller
********************************************************************************
Please run the script rootpre.sh as root on al...
分类:
数据库 时间:
2014-10-10 20:15:24
阅读次数:
541
StreamWriter log = new StreamWriter("D:\\" + "ceshi.txt", true);// 如果没有自动创建,并且以追加模式打开 ?? ?log.WriteLine("time:" + System.DateTime.Now.ToLongTimeString()); ??? log.Cl...
分类:
其他好文 时间:
2014-10-10 15:55:24
阅读次数:
158
遇到这个问题是在测试项目的性能时发现的,每个对象分配一页大小的空间然后mprotect() 保护起来,当系统分配3W多个页的时候会出现这个问题。
google到在一份邮件列表中也曾提到该问题.https://sourceware.org/ml/libc-help/2010-04/msg00026.html
摘抄部分如下:
-----------------------...
分类:
其他好文 时间:
2014-10-10 15:17:44
阅读次数:
298