http://www.cnblogs.com/devinzhang/archive/2012/01/25/2329463.htmlJava中内存分析: 栈(Stack) :存放基本类型的变量数据和对象的引用,但对象本身不存放在栈中,而是存放在堆(new 出来的对象)或者常量池中(字符串常量对象存放....
分类:
编程语言 时间:
2014-07-19 20:34:14
阅读次数:
181
在布局添加控件手动添加还是拖的添加,添加edittext后布局就不好用,其他控件好用,然后就说下面这段话Exception raised during rendering: java.lang.System.arraycopy([CI[CII)VException details are logge...
分类:
移动开发 时间:
2014-07-19 19:20:21
阅读次数:
272
集合lei
Collection
├List
│├LinkedList
│├ArrayList
│└Vector
│ └Stack
└Set
Map
├Hashtable
├HashMap
└WeakHashMap...
分类:
编程语言 时间:
2014-07-18 22:30:35
阅读次数:
266
JDK源码学习系列07----Stack
1.Stack源码非常简单
package java.util;
public
class Stack extends Vector {
// 版本ID。这个用于版本升级控制,这里不须理会!
private static final long serialVersionUID = 1224463164541339165L;...
分类:
其他好文 时间:
2014-07-18 22:24:14
阅读次数:
176
不是所有的OutofMemory exception都是内存问题。。。小心系统资源陷阱...
分类:
Web程序 时间:
2014-07-18 22:17:03
阅读次数:
451
>>Kill the app by swiping out the screen
The RC process is killed and activity stack is cleared. And thesystem will relaunch the rc process automatically. When user launch theapp, it will show the l...
分类:
移动开发 时间:
2014-07-18 21:30:13
阅读次数:
354
假设您喜欢这些文章,欢迎点击此处订阅本Blog集合类说明及差别Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└SetMap├Hashtable├HashMap└WeakHashMapCollection接口 Collection是最主要....
分类:
编程语言 时间:
2014-07-16 18:27:44
阅读次数:
194
C++11添加了一项名为lambda表达式的新功能.通过这项功能能编写内嵌的匿名函数,而不必编写独立函数或函数对象,使得代码更加理解.
lambda表达式包含以下部分.
[capture_block](parameters) mutable exception_specification->return_type {body}
现在分析各个部分的内容:
(capture_block)捕捉块...
分类:
编程语言 时间:
2014-07-16 11:30:48
阅读次数:
210
依据《C++ More Exception》所述的规则:
Rule #1: Never write using-directives in header files.
Rule #2: Never write namespace using-declarations in header files.
Rule #3: In implementation files, never ...
分类:
其他好文 时间:
2014-07-16 11:00:58
阅读次数:
141
疯狂的暑假学习之 汇编入门学习笔记 (九)—— call和ret
参考: 《汇编语言》 王爽 第10章
call和ret都是转移指令。
1. ret和retf
ret指令:用栈中的数据,修改IP内容,从而实现近转移
相当于:
pop ip
retf指令:用栈中的数据,修改CS和IP,从而实现远转移
相当于:
pop ip
pop cs
例子:ret
assume cs:code,ss:stack
stack segment
db 16 dup(1)
stack ends
code seg...
分类:
其他好文 时间:
2014-07-16 10:32:37
阅读次数:
267