码迷,mamicode.com
首页 >  
搜索关键字:constant pool    ( 4909个结果
mysql now() sysdate() 区别
在mysql中,now()和sysdate()两个函数都可以返回当前时间,但是两者是有区别的。下面我们先来看一下mysql的官方解释: NOW()?returns a constant time that indicates the time at which the statement began to...
分类:数据库   时间:2015-09-24 11:11:02    阅读次数:235
启动mysqld报 mysql the server quit without updating pid file
查看mysql服务器的错误日志有一句:InnoDB: mmap(137363456 bytes) failed; errno 12原来是内存不够用(需要131MB)呀,把my.cnf中的innodb_buffer_pool_size值修改成8M解决问题这个弄好好,发现服务器上的wordpress任然...
分类:数据库   时间:2015-09-23 19:23:26    阅读次数:148
几个主流的Java连接池整理
池(Pool)技术在一定程度上可以明显优化服务器应用程序的性能,提高程序执行效率和降低系统资源开销。这里所说的池是一种广义上的池,比如数据库连接池、线程池、内存池、对象池等。其中,对象池可以看成保存对象的容器,在进程初始化时创建一定数量的对象。需要时直接从池中取出一个空闲对象,用完后并不直接释放掉对...
分类:编程语言   时间:2015-09-23 06:42:17    阅读次数:200
执行start-dfs.sh后,datenode没有启动
查看日志如下: 2014-06-18 20:34:59,622 FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Initialization failed for block pool Block pool (Datanode Uui.....
分类:其他好文   时间:2015-09-22 21:41:12    阅读次数:176
ype difference of character literals in C and C++
http://www.geeksforgeeks.org/g-fact-54/Every literal (constant) in C/C++ will have a type information associated with it.In both C and C++, numeric li...
分类:编程语言   时间:2015-09-22 18:10:16    阅读次数:134
初步boost之pool图书馆学习笔记
pool内存池概述通常我们习惯直接使用new、malloc等API申请分配内存,这样做的缺点在于:因为所申请内存块的大小不定。当频繁使用时会造成大量的内存碎片并进而减少性能。内存池则是在真正使用内存之前,先申请分配一定数量的、大小相等(普通情况下)的内存块留作备用。当有新的内存需求时。就从内存池中分...
分类:其他好文   时间:2015-09-20 20:28:34    阅读次数:247
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...
分类:其他好文   时间:2015-09-20 10:32:44    阅读次数:120
How determine the RC time constant in PWM DAC low-pass filter?
how determine the RC time constant in PWM digital to analog low-pass filter?I 'm looking for the best RC time constant and its reason in a PWM to conv...
分类:其他好文   时间:2015-09-19 17:58:31    阅读次数:262
理解Autorelease pool
如果你能够真正的理解autorelease,那么你才是理解了Objective c的内存管理。Autorelease实际上只是把对release的调用延迟了,对于每一个Autorelease,系统只是把该Object放入了当前的Autorelease pool中,当该pool被释放时,该pool中的...
分类:其他好文   时间:2015-09-19 16:40:05    阅读次数:128
(转徐明吉)C#生成随机数
1 private static char[] constant = 2 { 3 '0','1','2','3','4','5','6','7','8','9', 4 'a','b','c','d','e','f','g','h','i'...
分类:Windows程序   时间:2015-09-19 11:01:32    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!