码迷,mamicode.com
首页 >  
搜索关键字:constant pool    ( 4909个结果
Constant issues in Java inheritance
This is the super class Human:class Human { String name = "Human"; String sex = "Humanity"; public String getHuman(){ return this.name...
分类:编程语言   时间:2015-08-17 23:36:18    阅读次数:179
[LeetCode] Sort List
Sort List Sort a linked list in O(n log n) time using constant space complexity. 解题思路: 题意为以常量存储空间和O(nlogn)时间复杂度来排序链表。 可以用合并排序法,并用双指针法来找到中间节点。 产生一个头结点方便编码。 /** * Definition for singly-link...
分类:其他好文   时间:2015-08-17 17:30:45    阅读次数:161
oracle v$sqlarea 分析SQL语句使用资源情况 确认是否绑定变量
-如何确定系统中是否存在绑定变量的情况:首先创建一个表,用于存放整理过得数据:create table t1 as select sql_text from v$sqlarea;----V$SQLAREA本视图持续跟踪所有shared pool中的共享cursor,--在shared pool中的每...
分类:数据库   时间:2015-08-16 15:07:49    阅读次数:139
Expression 表达式树学习整理
整理了一下表达式树的一些东西,入门足够了先从ConstantExpression开始一步一步的来吧 它表示具有常量值的表达式我们选建一个控制台应用程序ConstantExpression _constExp = Expression.Constant("aaa",typeof(string));//...
分类:其他好文   时间:2015-08-16 00:22:23    阅读次数:206
3、redis之使用commons-pool使用spring
添加spring的依赖 4.0.0 com.yzl redis.first 0.0.1-SNAPSHOT jar UTF-8 junit junit ...
分类:编程语言   时间:2015-08-14 15:38:27    阅读次数:276
由书写strlen函数碰到的问题。
今天在自己实现strlen函数的时候碰到碰到了一个很有意思的warning:warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 1 #include 2 3 int strlen(cha.....
分类:其他好文   时间:2015-08-14 00:53:52    阅读次数:237
程序入口-UIApplicationMain
Xcode4.2之前的main函数如下: int?main(int?argc,?char?*argv[]) { ? ??NSAutoreleasePool?*pool = [[NSAutoreleasePool?alloc]?init]; ? ??int?retVal =?UIApplicationMain(argc, argv,?nil,?...
分类:移动开发   时间:2015-08-13 18:19:35    阅读次数:282
Mesos + Docker Tutorial: How to Build Your Own Fra
Introduction to Mesos + Docker Apache Mesos is a cluster manager that simplifies the complexity of running tasks on a shared pool of servers. Docker is a lightweight container for deploying package...
分类:其他好文   时间:2015-08-13 18:18:59    阅读次数:634
LeetCode-Min Stack
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get...
分类:其他好文   时间:2015-08-13 15:48:22    阅读次数:97
日志文件批量重命名
#!/bin/bash#2015-08-12ip_pool=(`echo 10.20.34.{11..14}` `echo 10.142.194.{25..32}`)for ip in ${ip_pool[@]};do node=`ls /disk3/YH_DATA/DATA/mobile2....
分类:其他好文   时间:2015-08-12 19:05:09    阅读次数:154
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!