码迷,mamicode.com
首页 >  
搜索关键字:zero clipboard    ( 2343个结果
Regular Expression Matching
Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding element....
分类:其他好文   时间:2014-07-12 13:17:10    阅读次数:248
linux用dd测试磁盘速度
[root@localhost ~]# time dd if=/dev/zero bs=1024 count=1000000 of=/1Gb.file记录了1000000+0 的读入记录了1000000+0 的写出1024000000字节(1.0 GB)已复制,11.6493 秒,87.9 MB/秒...
分类:系统相关   时间:2014-07-10 12:48:45    阅读次数:325
matlab取整 四舍五入
Matlab取整函数有: fix, floor, ceil, round.取整函数在编程时有很大用处。一、取整函数1.向零取整(截尾取整)fix-向零取整(Round towards zero);>> fix(3.6) ans = 32.向负无穷取整(不超过x 的最大整数-高斯取整)floor-向负...
分类:其他好文   时间:2014-07-07 21:11:49    阅读次数:198
vi tips -- how to copy to / paste from system clipboard
refer linkThe"*and"+registers are for the system's clipboard (:help registers). Depending on your system, they may do different things. For instance, ...
分类:其他好文   时间:2014-07-03 12:10:56    阅读次数:195
SWIFT学习笔记03
1、断言 let age = -3 assert(age >= 0, "A person's age cannot be less than zero") // 因为 age 2、Swift赋值符(=)不返回值,以防止把想要判断相等运算符(==)的地方写成赋值符导致的错误。数值运算符(+,-,*,/,%等)会检测并不允许值溢出。 3、在对负数b求余时,b的符号会被忽略。这意味着 a %...
分类:其他好文   时间:2014-07-02 11:46:51    阅读次数:286
将内容重定向到剪切板(clip.exe)
Add-Type -Assembly PresentationCore[Windows.Clipboard]::SetText("abc中文def")先用 $output | Out-String 整成一个多行字符串$output = "String 整成一个多行字符串"$OutputEncodin...
分类:其他好文   时间:2014-07-01 16:42:41    阅读次数:203
浮动数与0比较
无限大小 C语言如何表示无限大小,NAN?redis里面这么搞的:staticdoubleR_Zero,R_PosInf,R_NegInf,R_Nan;/*Doubleconstantsinitialization*/R_Zero=0.0;R_PosInf=1.0/R_Zero;R_NegInf=....
分类:其他好文   时间:2014-06-30 15:34:22    阅读次数:169
hdu-4035-Maze-树上的概率dp
对于叶子节点和非叶子节点非别列公式。 然后化简公式。 和非树上的差不多。。 #include #include #include #include #include #include #include using namespace std; #define eps 1e-9 #define zero(x) ((fabs(x)<eps?0:x)) #define maxn 11000 #de...
分类:其他好文   时间:2014-06-28 07:15:49    阅读次数:263
DHI MIKE Zero 2012 SP3 Win32_64 2DVD(水利模型系统)
1、DHI MIKE Zero 2012 SP3 Win32_64 2DVD(水利模型系统)DHI MIKE Zero 2012 SP3 Win32_64 2DVD DHI.MIKE.ZERO.v2007-ISO 1DVD(水利模型系统) 包括以下模型系统: MIKE 11 - 1D河流和渠道模拟系...
分类:Windows程序   时间:2014-06-27 20:26:47    阅读次数:609
如何扩容swap分区
如何扩容swap分区现在swap分区有9G想要扩容为11G,磁盘空间从/home目录下提取操作步骤如下:注解:1.在空闲的分区下生成一个空文件,大小为下面命令参数中的bs*count。dd if=/dev/zero of=/opt/swapfiles bs=1024k count=20482.格式化...
分类:其他好文   时间:2014-06-25 18:37:38    阅读次数:209
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!