码迷,mamicode.com
首页 >  
搜索关键字:defined    ( 2488个结果
Classes and functions
As another example of a user-defined type, we’ll define a class called Time that records the time of day. The class definition looks like this: ...
分类:其他好文   时间:2014-10-01 19:47:11    阅读次数:245
打开固定文件的pr_debug
驱动中pr_debug定义在kernel/include/linux/printk.h   /* If you are writing a driver, please usedev_dbg instead */ #if defined(CONFIG_DYNAMIC_DEBUG) /* dynamic_pr_debug() uses pr_fmt()internally so we don...
分类:其他好文   时间:2014-09-30 18:23:44    阅读次数:338
预定义编译器宏
Pre-defined C/C++ Compiler Macros详见:http://sourceforge.net/p/predef/wiki/Home/
分类:其他好文   时间:2014-09-30 13:55:49    阅读次数:161
【javascript】Javascript闭包
在描述闭包的实现与用途前,需要了解以下一些知识点。 执行上下文(执行上下文环境) 1 console.log(a); //Uncaught ReferenceError: a is not defined 2 3 console.log(b); //undefined4 var ...
分类:编程语言   时间:2014-09-30 13:35:59    阅读次数:220
POJ - 3415 Common Substrings(后缀数组求长度不小于 k 的公共子串的个数+单调栈优化)
Description A substring of a string T is defined as: T( i, k)= TiTi+1... Ti+k-1, 1≤ i≤ i+k-1≤| T|. Given two strings A, B and one integer K, we define S, a set of triples (i, j, k): S = ...
分类:其他好文   时间:2014-09-29 14:38:51    阅读次数:277
POJ - 3693 Maximum repetition substring(后缀数组求重复次数最多的连续重复子串)
Description The repetition number of a string is defined as the maximum number R such that the string can be partitioned into R same consecutive substrings. For example, the repetition number of ...
分类:其他好文   时间:2014-09-28 19:34:34    阅读次数:417
PMC 携手C3 沙龙探究存储技术
发源于北京的C3沙龙以聚集各路技术高手著称,围绕云计算、云存储、互联网技术等议题定期举办交流会。本月15日PMC携手C3在上海举办存储技术交流会,现场吸引45名技术铁粉们参与,并进行互动讨论。...
分类:其他好文   时间:2014-09-26 13:25:08    阅读次数:242
leetcode Balanced Binary Tree
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:其他好文   时间:2014-09-26 12:57:38    阅读次数:204
Lowest Common Ancestor (LCA)
题目链接In a rooted tree, thelowest common ancestor(or LCA for short) of two verticesuandvis defined as the lowest vertex that is ancestor of both that tw...
分类:其他好文   时间:2014-09-24 22:50:17    阅读次数:296
struts2使用了radio时出现异常No result defined for action com.elephant.action.UserInfoAction and result input
这两天遇到一个很奇葩的问题,在使用struts2作跳转时,出现有的页面可以跳转,有的不可以跳转 问题:action跳转时出现无法跳转情况 原因:在跳转的页面使用了单选框 radio标签,并且radio未加value属性 解决办法:给radio加上value值就ok了...
分类:其他好文   时间:2014-09-24 14:27:26    阅读次数:233
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!