码迷,mamicode.com
首页 >  
搜索关键字:run-time check    ( 9793个结果
java:异常处理
异常:编译正常,但运行出错,会中断正常指令流RuntimeException:运行时异常分为:uncheck exception、和check exception(除了RuntimeException以及子类以外的)uncheck exceptionclass Test{ public sta...
分类:编程语言   时间:2014-05-26 23:44:34    阅读次数:323
linux内存操作----kernel 3.5.X copy_from_user()和copy_to_user()
前面的一篇文章中简单的描述了一下内存映射的内容,http://blog.csdn.net/codectq/article/details/25658813,这篇文章作为用户把内存规划好之后,在用户空间使用IOCTL对设备进行控制时的常用函数的代码摘录。后续我会把这部分完善起来。 #ifdefCONFIG_MMU externunsigned long __must_check __copy_f...
分类:系统相关   时间:2014-05-23 07:32:35    阅读次数:424
实现控件的透明背景
很多情况下,我们需要控件的背景是透明的,就是要求直接看到控件父窗口的背景颜色、背景位图,比如标签控件、单选Radio控件、复选Check控件,通常都要求在父窗口的背景上进行绘制。然而要求控件的画布透明,这个技术在GDI的文档中没有看到Microsoft作任何说明,当然还是有别的办法。其一:如果程序支...
分类:其他好文   时间:2014-05-23 02:55:14    阅读次数:326
[LeetCode] [Palindrome Number 2012-01-04]
Determine whether an integer is a palindrome. Do this without extra space.if use recursive, like check the first dig and last dig, then remove them, c...
分类:其他好文   时间:2014-05-23 02:45:15    阅读次数:230
ssh 建立github验证
建立ssh无验证连接 Check for SSH keys、 cd ~/.ssh ls Check the directory listing to see if you have a file named either id_rsa.pub or id_dsa.pub 检查有无产生过的key,一台机器只能创建一个。如果重新创建则前一个会被覆盖。 Generate a new SSH ...
分类:其他好文   时间:2014-05-22 18:33:48    阅读次数:261
Same Tree
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an...
分类:其他好文   时间:2014-05-22 16:46:03    阅读次数:173
zTree实现多选树
zTree实现多选树 1、实现源码 多选树 <!-- var setting = { check: { enable: true, chkStyle: "checkbox", chkboxType: { "Y": "s", "N": "ps" } }, data: { simpleData:...
分类:其他好文   时间:2014-05-22 12:05:34    阅读次数:245
debian6 更新python版本到python3.3
1、下载python3.3安装包#wget wget --no-cookie --no-check-certificate --header "Cookie:gpw_e24=http%3A%2F%2Fwww.oracle.com%2F" http://www.python.org/ftp/pytho...
分类:编程语言   时间:2014-05-21 17:23:59    阅读次数:391
LeetCode: First Missing Positive [040]
【题目】 Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in O(n) time and uses constant space. 【题意】 给定一个数组,找出第一个缺失的正数。时间复杂度O(n) ...
分类:其他好文   时间:2014-05-21 17:13:07    阅读次数:219
JS常用表单验证总结
表单验证 function check_1(param){//不为空     if(param==""||param==null){return false;}else{return true;}     } function check_2(param){//长度限制,字母是10个,汉字也是10个     if(param.length>10){return false;}else...
分类:Web程序   时间:2014-05-20 17:15:45    阅读次数:414
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!