在阅读Linux内核源码或对代码做性能优化时,经常会有在C语言中嵌入一段汇编代码的需求,这种嵌入汇编在CS术语上叫做inline 
assembly。本文的笔记试图说明Inline Assembly的基本语法规则和用法(建议英文阅读能力较强的同学直接阅读本文参考资料中推荐的技术文章 
^_^)。注意:由...
                            
                            
                                分类:
系统相关   时间:
2014-04-28 09:10:46   
                                阅读次数:
1246
                             
                         
                    
                        
                            
                            
                                1.创建数据库:create database database_name;2.选择数据库:use 
database_name;3.创建表:create table tablename(column1 data_type1, column2 
data_type2,...,columnn dataty...
                            
                            
                                分类:
数据库   时间:
2014-04-28 02:34:53   
                                阅读次数:
560
                             
                         
                    
                        
                            
                            
                                http://acm.hdu.edu.cn/showproblem.php?pid=1596 
1 #include 2 #include 3 #include 4 #define maxn 1001 5 using namespace std; 6 7 
double g[maxn][maxn...
                            
                            
                                分类:
其他好文   时间:
2014-04-28 01:18:06   
                                阅读次数:
597
                             
                         
                    
                        
                            
                            
                                1 。 介绍1.1 要求1.2 网应用情节1.3 SQL 射入技术1.4 特点1.5 
下载和更新sqlmap1.6 执照2 。 用法2.1 帮助2.2 目标URL2.3 目标URL 和verbosity2.4 URL 参量2.5 Google 
dork2.6 HTTP 方法: 得到或张贴2.7 张贴...
                            
                            
                                分类:
数据库   时间:
2014-04-27 21:29:29   
                                阅读次数:
928
                             
                         
                    
                        
                            
                            
                                1、一般gpio_request 
封装了mem_request(),起保护作用,最后要调用mem_free之类的,主要是告诉内核这个地址被占用了。当其他地方调用同一地址gpio_request就会报告错误,改地址已被申请。在/proc/mem 
可以看到有地址占用表描述。 这种用法的保护前提是大家都....
                            
                            
                                分类:
其他好文   时间:
2014-04-27 21:17:53   
                                阅读次数:
834
                             
                         
                    
                        
                            
                            
                                Given an arraySofnintegers, are there 
elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in 
the array which gives the sum of ...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 20:55:03   
                                阅读次数:
567
                             
                         
                    
                        
                            
                            
                                今天群里一哥们需要自定义Volley的Request的例子,于是产生了这篇博客。关于Volley的介绍就不多说了,网上例子特别多。
Volley的所有的请求的超类型是Resuest,类结构如下图,所有我们常用的请求都是这个类的子类,那么我们自定义View肯定也是基于这个类的。
一些简单的用法实例:
	RequestQueue newRequestQueue = Volley.ne...
                            
                            
                                分类:
移动开发   时间:
2014-04-27 19:46:24   
                                阅读次数:
849
                             
                         
                    
                        
                            
                            
                                时间限制:10000ms
单点时限:1000ms
内存限制:256MB
Description
Find a pair in an integer array that swapping them would maximally decrease the inversion count of the array. If such a pair exists, retur...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 17:48:35   
                                阅读次数:
508
                             
                         
                    
                        
                            
                            
                                1、什么是ArrayListArrayList就是传说中的动态数组,是Array的复杂版本,它提供了如下一些好处:动态的增加和减少元素实现了ICollection和IList接口灵活的设置数组的大小2、如何使用ArrayList最简单的例子:ArrayList 
List = new ArrayLis...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 17:37:45   
                                阅读次数:
689