码迷,mamicode.com
首页 >  
搜索关键字:constant pool    ( 4909个结果
三大框架:使用数据源dbcp注意
使用spring整合hibernate时,需要用到数据源,数据源使用apache的dbcp,使用dbcp时需要依赖pool的jar包,选择dbcp和pool时需要注意。 DBCP 2 compiles and runs under Java 7 only (JDBC 4.1)DBCP 1.4 compiles and runs under Java 6 only (JDBC 4)DBCP...
分类:数据库   时间:2014-06-20 13:19:33    阅读次数:219
C编译错误解决方法
1.expected identifier before numeric constant 一般情况下是枚举类型中的某个变量已经被#define定义过一次了,在项目空间中搜索你枚举类型中的所有变量类型,看看是否被#define过,如果被#define过,就把#define的删除或换个名字。
分类:其他好文   时间:2014-06-13 14:15:10    阅读次数:201
apache commons pool
apache commons下的pool其中的borrowObject函数源代码显示其产生可用对象的过程: 如果stack中有空闲的对象,则pop对象,激活对象(activate函数),验证对象(validate函数)。最终将合格的对象返回给client。 若对象在这个流程中出错,则在从stack中...
分类:其他好文   时间:2014-06-11 22:44:15    阅读次数:352
LeetCode: Populating Next Right Pointers in Each Node II [117]
【题目】 Follow up for problem "Populating Next Right Pointers in Each Node". What if the given tree could be any binary tree? Would your previous solution still work? Note: You may only use constant extra space. For example, Given the following binary tre...
分类:其他好文   时间:2014-06-08 15:46:22    阅读次数:303
MySQL 5.6初始配置调优
原文链接: What to tune in MySQL 5.6 after installation原文日期: 2013年09月17日翻译日期: 2014年06月01日翻译人员: 铁锚随着 大量默认选项的改进, MySQL 5.6比以前版本需要调优的选项大为减少. 在本文中我将讲述需要优化的配置项.InnoDB设置innodb_buffer_pool_size  —— 默认值为 128M. 这是最...
分类:数据库   时间:2014-06-08 03:57:40    阅读次数:365
【MySQL】mysql buffer pool结构分析
转自:http://blog.csdn.net/wyzxg/article/details/7700394其他参考:《高性能MySQL》 - 8.4.5 InnoDB缓冲池《MySQL技术内幕InnoDB存储引擎》(第二版内容有所更新) - 2.3 InnoDB体系结构###############...
分类:数据库   时间:2014-06-06 21:02:59    阅读次数:549
Sort List
Sort a linked list inO(nlogn) time using constant space complexity./** * Definition for singly-linked list. * struct ListNode { * int val; * L...
分类:其他好文   时间:2014-06-06 20:01:30    阅读次数:333
const,readonly,static
1.const 表示的是常量(constant),始终不会发生改变,在编译时就确定了。所以类中定义一个常量可以被类访问也可以被类的实例访问。定义时就不能和static一起用。如果用了也是没有作用的,所以语法就规定其是无效的。在声明时同时初期化。 private const string Name=....
分类:其他好文   时间:2014-06-02 19:45:46    阅读次数:201
LeetCode: Recover Binary Search Tree [099]
【题目】 Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note: A solution using O(n) space is pretty straight forward. Could you devise a constant space solution? confused what "{1,#,2,3}" ...
分类:其他好文   时间:2014-06-02 10:38:17    阅读次数:246
window Oracle 10g RMAN异机异目录恢复
1.实验环境简介 1.1SOA原数据库 数据库名COMSOA 实例名COMSOA DBID4133565260 数据库版本 Windows64bit10.2.0 数据文件目录 H:\ORACLE\ORADATA\COMSOAPfile comsoa.__db_cache_size=1291845632 comsoa.__java_pool_size=16777216 comsoa.__large_pool_size=16777216 comsoa..
分类:数据库   时间:2014-06-02 03:25:29    阅读次数:347
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!