http://www.richweb.com/cpu_infoA hyperthreaded processor has the same number of function units as an older, non-hyperthreaded processor. It just has t...
分类:
系统相关 时间:
2014-07-27 22:56:19
阅读次数:
518
Restoring IPv6DescriptionAn IPv6-address is a 128-bit number. For convenience, this number is recorded in blocks of 16 bits in hexadecimal record, the...
分类:
其他好文 时间:
2014-07-27 22:53:39
阅读次数:
301
DescriptionYou've decided to carry out a survey in the theory of prime numbers. Let us remind you that a prime number is a positive integer that has e...
分类:
其他好文 时间:
2014-07-27 22:51:29
阅读次数:
288
DescriptionYou've decided to carry out a survey in the theory of prime numbers. Let us remind you that a prime number is a positive integer that has e...
分类:
其他好文 时间:
2014-07-27 22:31:39
阅读次数:
809
//============================================================================// Name : B.cpp// Author : L_Ecry// Version :// Copyrigh...
分类:
其他好文 时间:
2014-07-27 22:20:39
阅读次数:
167
求一个正数N的开方, 并且可以指定精度, 要求不能用库函数sqrt方法一:如下所示,先求sqrt(N)的整数部分,再求小数点后1位,2位 ... ...方法二:牛顿迭代法,根据公式 Ai+1 = (Ai+number/Ai)/2 ,其中Ai 的初始值,即A1任取,如1,2,3 ...// 求一个正数...
分类:
其他好文 时间:
2014-07-27 22:00:29
阅读次数:
251
函数函数是具有特定功能的代码块,函数使得程序更加模块化,这样便于人们阅读,修改,完善程序1.函数的定义:返回值类型函数名(形式参数){声明语句}无参函数举例voidhello()//无参数无返回值{printf(“HelloWorld");}intpeopleCount()//无参数有返回值{return33;}有参函数举例intmax..
分类:
其他好文 时间:
2014-07-27 14:19:58
阅读次数:
342
电脑开机流程:按下电源键后,固化在BIOS中的程序首先对系统硬件进行自检,自检通过后,就读取CMOS中的系统启动序列参数,根据序列找到存储介质(硬盘、光盘、U盘等)上的MBR,并将控制权交给MBR中的引导程序,由MBR主引导记录加载系统内核,之后内核获得控制权装载操作系统。M..
分类:
其他好文 时间:
2014-07-27 12:08:13
阅读次数:
229
现在很多公司都都过Jenkins来管理apk,代码提交后在jenkins上生成build
我们可以这样来取到jenkins的提交版本号
Jenkins在编译job的时候,有个内置的变量BUILD_NUMBER
groovy有一个非常有用的函数:
/**
* Returns an unmodifiable map of all available environment v...
分类:
其他好文 时间:
2014-07-27 11:52:03
阅读次数:
173
Javascript是一个弱类型的语言,也体现在了对表达式的逻辑计算上。对于Java等强类型的语言,进行逻辑判断时,如 if(condition) 中condition所表示的表达式,其结果必须是返回的为true或false的表达式,而javascript 则不然,它可以允许condition是 Number,String,或者Object对象,也可以是undefined 或null的变量,在这方面体现了很大的灵活性。JavaScript引擎会对if(condition) 中condition 的值先进行T...
分类:
编程语言 时间:
2014-07-27 11:34:22
阅读次数:
272