1题目Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word ...
分类:
其他好文 时间:
2015-03-02 22:08:09
阅读次数:
115
http://blog.163.com/bingcaihuang@126/blog/static/198942122010999371893/ http://stackoverflow.com/questions/13832505/world-space-to-camera-space arnold 有现成的可以调用 AiWorldToCameraMatrix 得到的是...
分类:
其他好文 时间:
2015-03-02 19:26:38
阅读次数:
129
html 如下:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaacss 代码如下:.box{ width:50px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}网上有人说兼容IE7 需要加上 这句话,经...
分类:
Web程序 时间:
2015-03-02 14:33:14
阅读次数:
176
Tomcat内存溢出的原因 在生产环境中tomcat内存设置不好很容易出现内存溢出。造成内存溢出是不一样的,当然处理方式也不一样。 这里根据平时遇到的情况和相关资料进行一个总结。常见的一般会有下面三种情况: 1.OutOfMemoryError: Java heap space 2.OutO...
分类:
其他好文 时间:
2015-03-02 12:39:28
阅读次数:
182
题目Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements from B. T...
分类:
其他好文 时间:
2015-03-02 11:19:23
阅读次数:
148
首先介绍几个重要的数据结构。 1、pagetypedef struct page {
struct list_head list;
struct address_space *mapping;
unsigned long index;
struct page *next_hash;
atomic_t count;
unsigned long flags; /* atomic fl...
分类:
系统相关 时间:
2015-03-02 11:16:22
阅读次数:
249
蒋波涛 http://blog.3snews.net/space.php?uid=16796&do=blog&id=228701984年图灵奖获得者,Pascal语言的发明人Niklaus Wirth教授曾经给程序下过一个经典定义“程序=算法+数据结构”,一针见血。在我看来,算法和数据结构就好象哲学...
分类:
编程语言 时间:
2015-03-02 09:24:00
阅读次数:
186
linux下应用无故反应异常,登陆服务器查看发现:-bash-4.1$jps
JavaHotSpot(TM)64-BitServerVMwarning:Insufficientspaceforsharedmemoryfile:
/tmp/hsperfdata_kf01/4830
Tryusingthe-Djava.io.tmpdir=optiontoselectanalternatetemplocation.
4830Jps-bash-4.1$df-h
文件系统..
分类:
其他好文 时间:
2015-03-01 22:30:02
阅读次数:
211
引用文章A:http://blog.csdn.net/whuslei/article/details/6442755引用介绍:介绍了排序的复杂度(time and space) 以及稳定性。算法会在2015/3/1更新至GITHUB。Addr:https://github.com/zheng3956...
分类:
编程语言 时间:
2015-03-01 20:58:36
阅读次数:
149
Given an input string, reverse the string word by word. A word is defined as a sequence of non-space characters.The input string does not contain lead...
分类:
其他好文 时间:
2015-03-01 08:54:48
阅读次数:
160