码迷,mamicode.com
首页 >  
搜索关键字:low format    ( 15807个结果
dos常用命令使用说明
cd 改变当前目录 sys 制作DOS系统盘 copy 拷贝文件 del 删除文件 deltree 删除目录树 dir 列文件名 diskcopy 制磁盘 edit 文本编辑 format 格...
分类:其他好文   时间:2014-05-12 10:33:10    阅读次数:306
php在数字前面补0得到固定长度数字的两种方法
比较基础,其实两个内置函数都能实现。 1  sprintf 语法: string sprintf(string format, mixed [args]...); 返回值: 字符串 函数种类: 资料处理 本函数用来将字符串格式化。参数 format 是转换的格式,以百分比符号 % 开始到转换字符为止。而在转换的格式间依序包括了 填空字符。0 的话表示空格填 0;空格是默...
分类:Web程序   时间:2014-05-09 22:48:25    阅读次数:519
Asp.net直接保存文件到客户端
Asp.net直接保存文件到客户端 在我们的系统的编写过程中,应该有很多的时候需要客户下载文件.我第一次的做法(应该也是大部分人的做法吧?)是: 1 HttpResponse response = HttpContext.Current.Response; 2 string js = "window.open('{0}');"; 3 js = string.Format(js, url...
分类:Web程序   时间:2014-05-09 22:47:52    阅读次数:311
BC1.2的一些心得
什么叫DCD DataContact Detect(DCD)     1.首先是DCD 2.然后是Primary detection 3.然后是Secondary detection     检测充电的条件是VBUS>VOTG_SESS_VLD 检测流程 1.DCD 阶段 打开IDP_SRC与RDM_DWN,检测D+上的电压和VLGC_LOW比较.如果VDP小于VLG...
分类:其他好文   时间:2014-05-09 21:02:41    阅读次数:377
otg thinking
1.为了节电,某些设备在suspend的时候把vbus关掉   2.SRP作用是Bdevice可以请求A-device打开VBUS.     3.一般来说在enable PHY之后都需要打开ID的上拉电阻   即使PHY处于low power mode 也应该能检测到: a.remote wakeup信号。 b.ID变化的信号 (在Intel FFRD上...
分类:其他好文   时间:2014-05-09 20:45:37    阅读次数:281
How to Implement Bluetooth Low Energy (BLE) in Ice Cream Sandwich
ShareThis - By Vikas VermaBluetooth low energy (BLE) is a feature of Bluetooth 4.0 wireless radio technology, aimed at new, principally low-power and ...
分类:其他好文   时间:2014-05-09 10:07:10    阅读次数:448
python学习笔记-输入输出
格式化输出print(format(value,format_spec)),其中3为打印位数,2f为精度print(format(12.2356,‘3.2f‘)) print(format(0.23456,‘.1%‘)) D:\Python27\python.exeF:/Self-Study/python-study/input_output.py 12.24 23.5%
分类:编程语言   时间:2014-05-09 07:14:02    阅读次数:268
嵌入式linux 内核关机函数实现
arch/arm/kernel/process.c实现pm_power_off=关机函数参考board-omap3touchbook.c文件中pm_power_off=omap3_touchbook_poweroff;staticvoidomap3_touchbook_poweroff(void) { intpwr_off=TB_KILL_POWER_GPIO; if(gpio_request_one(pwr_off,GPIOF_OUT_INIT_LOW,"DVIreset")<0..
分类:系统相关   时间:2014-05-09 07:03:00    阅读次数:470
emacs format
格式化源码是很常见的需求,emacs有个indent-region函数用于格式化选定的代码,前提是你处在某个非text mode下,如c-mode或者java-mode之类。如果要格式化整个文件,你需要先选定整个文件(C-x-h),然后调用indent- region(或者 C-M-\ )。两个命....
分类:其他好文   时间:2014-05-08 23:11:40    阅读次数:395
ACM 手机短号问题
手机短号Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescription大家都知道,手机号是一个11位长的数字串,同时,作为学生,还可以申请加入校园网,如果加入成功,你将另外拥有一个短号。假设所有的短号都是是 ...
分类:移动开发   时间:2014-05-08 22:55:19    阅读次数:513
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!