常量值被定义后,在脚本的其他任何地方都不能被改变。常量是一个简单值得标识符。该值在脚本中不能改变。一个常量由英文字母、下划线和数字组成,但是数字不能作为首字母出现。常量名不需要加$修饰符。设置常量,使用define()函数。define(string constant_name, mixed val...
分类:
Web程序 时间:
2015-12-09 17:04:12
阅读次数:
118
在项目中遇到这样的Exceptionpublic class StandingCityActivity extends Activity implements View.OnClickListener{} @Override public void onClick(View v) { ...
分类:
移动开发 时间:
2015-12-08 18:29:48
阅读次数:
152
--共享池中保留区的信息查询select*fromv$shared_pool_reserved--查询hardparse比率selecta.valueasTotal,b.valueas"HardPase",round(b.value/a.value,2)asRatiofromv$sysstata,v$sysstatbwherea.name=‘parsecount(total)‘andb.name=‘parsecount(hard)‘;--查询哪些SQL语句没有..
分类:
数据库 时间:
2015-12-06 17:51:11
阅读次数:
263
reverse 方法很好用时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a constant K and a singly linked list L, you are supposed to reverse the ...
分类:
其他好文 时间:
2015-12-06 13:02:39
阅读次数:
218
Strings are constant; their values cannot be changed after they are created. String buffers support mutable strings. Because String objects are immuta...
分类:
其他好文 时间:
2015-12-05 15:57:29
阅读次数:
360
Sort a linked list in O(n log n) time using constant space complexity. 1、使用快排:交换的次数太多,超过时间限制 选择第一个值为基准值,然后比较 #include // Definition for singly-linked ...
分类:
其他好文 时间:
2015-12-04 20:47:53
阅读次数:
177
SGA(System Global Area)系统全局区。这是一个非常庞大的内存区间,也是为什么开启oracle之后占用了很大内存的原因。 SGA分为不同的池,我们可以通过视图v$sgastat查看,如下所示。SQL> select pool ,sum(bytes) bytes from v$sg....
分类:
数据库 时间:
2015-12-03 14:09:18
阅读次数:
283
必备宏使用前提://define this constant if you want to use Masonry without the 'mas_' prefix#define MAS_SHORTHAND //define this constant if you want to enable ...
分类:
其他好文 时间:
2015-12-03 09:43:26
阅读次数:
130
/********************************************************************//**Allocates memory from a pool. NOTE: This low-level function should only beuse...
分类:
其他好文 时间:
2015-12-02 22:28:30
阅读次数:
187