码迷,mamicode.com
首页 >  
搜索关键字:源代码分析    ( 607个结果
ListView源代码分析
继承关系 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内存管理介绍 redis是一个基于内存的key-value的数据库,其内存管理是很重要的,为了屏蔽不同平台之间的差异,以及统计内存占用量等,redis对内存分配函数进行了一层封装,程序中统一使用zmalloc,zfree一系列函数,其相应的源代码在src/zmalloc.h和src/z...
分类:其他好文   时间:2015-02-05 18:03:16    阅读次数:251
Spark SQL 源代码分析之 In-Memory Columnar Storage 之 in-memory query
/**Spark SQL源代码分析系列文章*/ 前面讲到了Spark SQL In-Memory Columnar Storage的存储结构是基于列存储的。 那么基于以上存储结构,我们查询cache在jvm内的数据又是怎样查询的,本文将揭示查询In-Memory Data的方式。一、引子本例使用.....
分类:数据库   时间:2015-02-01 21:39:05    阅读次数:201
CONFIG_DEBUG_INFO 能显著增加ko文件的大小
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
linux下如何看我的显卡驱动是否装好了
看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套件,wait-for-root代码分析
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
initrd.img中的init脚本分析,load_modules()分析
定义在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
HashMap和HashSet的源代码分析
static final int DEFAULT_INITIAL_CAPACITY = 1 [] EMPTY_TABLE = {}; //就比较用的 transient Entry[] table = (Entry[]) EMPTY_TABLE;//Entry数组,存放数据的地方 int...
分类:其他好文   时间:2015-01-27 23:11:25    阅读次数:247
nginx源代码分析--ngx_http_optimize_servers()函数
这个函数做了连部分工作: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
gcc源代码分析,grokparms ()函数分析
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
607条   上一页 1 ... 45 46 47 48 49 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!