继承关系
1、
图中单独画出Scrollview是为了说明该ViewGroup并没有自带回收机制,如果要是Scrollview显示大量view,需要手动做处理。
2、继承体系的分工
(1) AdapterView
An AdapterView is a view whose children aredetermined by an {@link...
分类:
其他好文 时间:
2015-02-08 18:12:59
阅读次数:
163
一,redis内存管理介绍 redis是一个基于内存的key-value的数据库,其内存管理是很重要的,为了屏蔽不同平台之间的差异,以及统计内存占用量等,redis对内存分配函数进行了一层封装,程序中统一使用zmalloc,zfree一系列函数,其相应的源代码在src/zmalloc.h和src/z...
分类:
其他好文 时间:
2015-02-05 18:03:16
阅读次数:
251
/**Spark SQL源代码分析系列文章*/ 前面讲到了Spark SQL In-Memory Columnar Storage的存储结构是基于列存储的。 那么基于以上存储结构,我们查询cache在jvm内的数据又是怎样查询的,本文将揭示查询In-Memory Data的方式。一、引子本例使用.....
分类:
数据库 时间:
2015-02-01 21:39:05
阅读次数:
201
CONFIG_DEBUG_INFO以调试方式编译内核(gcc -g).仅供内核开发者使用Debug VM
my-video.ko: 文件格式 elf32-i386
节:
Idx Name Size VMA LMA File off Algn
0 .note.gnu.build-id 00000024 0000000...
分类:
其他好文 时间:
2015-01-31 23:19:21
阅读次数:
405
看configurure字段有木有driver字样,若有内容,则显卡驱动装好了。
sudo lshw -c video
WARNING: you should run this program as super-user.
^CI (sysfs)
chenghao@chenghao-Lenovo-Product:~$ sudo lshw -c video
[sudo] passwor...
分类:
系统相关 时间:
2015-01-30 17:45:23
阅读次数:
247
initramfs-tools_0.103
下载
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
static int device_queued (struct udev *ude...
分类:
其他好文 时间:
2015-01-30 00:10:45
阅读次数:
231
定义在scripts/functions中。
# Don't do log messages here to avoid confusing graphical boots
run_scripts /scripts/init-top
在init脚本中被调用:
maybe_break modules
[ "$quiet" != "y" ] && log_begin_msg "Loadi...
分类:
其他好文 时间:
2015-01-28 21:28:59
阅读次数:
302
static final int DEFAULT_INITIAL_CAPACITY = 1 [] EMPTY_TABLE = {}; //就比较用的 transient Entry[] table = (Entry[]) EMPTY_TABLE;//Entry数组,存放数据的地方 int...
分类:
其他好文 时间:
2015-01-27 23:11:25
阅读次数:
247
这个函数做了连部分工作:1)以port为入口点 将实用的信息存放到hash表内 2)调用ngx_http_init_listening()函数 对port进行监听1、 在ngx_http_core_main_conf_t结构体中有一个字段为ports,是一个数组,数组内存放的全是ngx_http_c...
分类:
Web程序 时间:
2015-01-25 20:50:07
阅读次数:
210
arg_types = grokparms (TREE_OPERAND (declarator, 1),
funcdef_flag
/* Say it's a definition
only for the CALL_EXPR
closest ...
分类:
其他好文 时间:
2015-01-17 16:36:26
阅读次数:
189