摘要:        
sloccount=Count Source Lines Of Code官网:http://www.dwheeler.com/sloccount/Ubuntu安装sudo apt-get install sloccount使用sloccount [--version] [--cached] [--append] [ --datadir directory ] [--follow] [--duplicates] [--crossdups] [--autogen] [--multiproject] [--filecount] [--wide] [--det...    阅读全文
        
            posted @ 2012-06-01 05:56
visayafan
阅读(6617)
评论(1)
推荐(0)
        
        
            
        
        
摘要:        
restrict是C99引入的关键字,该关键字适用于指针的声明,并表明指针是访问一个数据对象的唯一且初始的方式,由此编译器可以进行一些优化。例1搞自:http://www.blogjava.net/killme2008/archive/2007/08/04/134399.htmlint ar[10];int * restrict restar=(int *)malloc(10*sizeof(int));int *par=ar;这里说明restar是访问由malloc()分配的内存的唯一且初始的方式。par就不是了。那么:for(n=0;n<10;n++){ par[n]+=5; res.    阅读全文
        
            posted @ 2012-06-01 04:52
visayafan
阅读(587)
评论(0)
推荐(0)
        
        
 
                    
                

 
 浙公网安备 33010602011771号
浙公网安备 33010602011771号