码迷,mamicode.com
首页 >  
搜索关键字:one    ( 27922个结果
vim的强大,vim设置和插件的使用,脱离windows才是王道
map :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . let Tlist_Show_One_File=1 let Tlist_Exit_OnlyWindow=1 let Tlist_Auto_Open=1 set nocom...
分类:Windows程序   时间:2014-10-12 01:55:37    阅读次数:442
HDU Computer Transformation1041 题解
Problem Description A sequence consisting of one digit, the number 1 is initially written into a computer. At each successive time step, the computer simultaneously tranforms each digit 0 into the...
分类:其他好文   时间:2014-10-11 20:04:56    阅读次数:221
linux v4l2 api
抽空做了个集成v4l2api, 实力有限, 有粗糙的地方还望不吝赐教 ^_^       v4l2_lib.h /* This driver provid v4l2 API * * (You can use this driver as abouve steps) * * * * STEP ONE: define value * * * step 1.1: defin...
分类:Windows程序   时间:2014-10-11 19:29:56    阅读次数:304
struct alignment
Example:#pragma pack(2)struct One{ char c; short b; char a;};print: 6#pragma pack(2) struct One { char a; char c; short b; };print: 4#pragma p...
分类:其他好文   时间:2014-10-11 18:56:45    阅读次数:240
invlpg 指令简介
invlpg 指令简介                   void tlb_invalidate(pde_t *pgdir, void *va) { // Flush the entry only if we're modifying the current address space. // For now, there is only one address space, so...
分类:其他好文   时间:2014-10-11 18:13:55    阅读次数:214
linux的ntp安装心得
1.ntp4.2.4之前的版本都存在一个很严重的BUG,当ntp的启动参数里有同时有-g -x,并且在ntp.config中的server的校时服务器地址不可达时,会出现无论是start,stop,restart服务都会报错。报错内容:Starting ntpd: ERROR:only one pa...
分类:系统相关   时间:2014-10-11 16:56:25    阅读次数:310
for(String s:v)
s是遍历后赋值的变量,v是要遍历的list。可以通过以下语句进行测试: List v=new ArrayList(); v.add("one"); v.add("two"); for(String s:v){ System.out.println(s); }注意s要跟前面的类型匹配。来自...
分类:其他好文   时间:2014-10-11 16:48:25    阅读次数:169
Printing a Binary Tree in Level Orders
BFS:Is it possible that a solution exists using only one single queue? Yes, you bet. The single queue solution requires two extra counting variables w...
分类:其他好文   时间:2014-10-11 03:37:04    阅读次数:190
leetcode第五题--Longest Palindromic Substring
Problem:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique lo...
分类:其他好文   时间:2014-10-11 02:20:24    阅读次数:227
ACM学习历程——UVA 127 "Accordian" Patience(栈;模拟)
Description``Accordian'' PatienceYou are to simulate the playing of games of ``Accordian'' patience, the rules for which are as follows:Deal cards one...
分类:其他好文   时间:2014-10-10 23:21:24    阅读次数:423
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!