码迷,mamicode.com
首页 >  
搜索关键字:constant pool    ( 4909个结果
ranch分析学习(一)
Ranch 是一个tcp处理的程序框架。官方的解释 Ranch is a socket acceptor pool for TCP protocols. 主要目的是提供一个方便,易用,高效,稳定的tcp处理基础程序。前面我也用它作为基础写了个简易的聊天的程序。cowboy底层通信处理也是ranc.....
分类:其他好文   时间:2014-07-16 23:04:19    阅读次数:194
体系结构中共享池研究
1.keep 让SQL跑得更快。有时候一些基础表需要非常的频繁访问,尤其是在一些循环中,对该表中的访问速度将变的非常重要。为了提高系统的处理性能,可以考虑将一些表及索引读取并保存到内存中。二、关于keep内存的几个参数 下面了解一下具体和CACHE有关的几个概念,即DB_CACHE中的几个pool:...
分类:其他好文   时间:2014-07-13 23:25:22    阅读次数:342
Swift学习笔记
常量 :let product_constant = "iphone6"变量 :var product_var = "ipad" //不需要声明变量类型,会根据右侧的值推导左侧变量的类型可以多个变量定义在一起:var x1 = 30, x2 = "abc"可以精确指定变量的类型: var x1:In...
分类:其他好文   时间:2014-07-13 23:01:49    阅读次数:351
Just like normal variables,
Just like normal variables, pointers can be declared constant. There are two different ways that pointers and const can be intermixed, and they are very easy to mix up. To declare a const pointer, ...
分类:其他好文   时间:2014-07-12 21:20:23    阅读次数:165
Leetcode:Swap Nodes in Pairs 单链表相邻两节点逆置
Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space. Y...
分类:其他好文   时间:2014-07-12 20:39:17    阅读次数:225
[原]__ASSEMBLY__的用途
在Linux Kernel中有些constant需要被C code 跟 assembler共同使用在用constant的時候,不能單方面給0x1000UL因為assembler無法看這東西。但是C compiler卻可以。所以使用這個gcc feature.讓C compiler看到的constan...
分类:其他好文   时间:2014-07-12 14:07:30    阅读次数:166
int * const 和 const int *
It's not the same. The const modifier can be applied to the value, or the pointer to the value.int * constA constant pointer (not modifiable) to an in...
分类:其他好文   时间:2014-07-12 09:04:56    阅读次数:175
20140709 datanode bug
hadoop2分布式安装后总是报这个bug2014-07-06 08:22:40,506 FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Initialization failed for block pool Block pool (....
分类:其他好文   时间:2014-07-11 19:02:38    阅读次数:364
[Oracle] - 性能优化工具(5) - AWRSQL
在AWR中定位到问题SQL语句后想要了解该SQL statement的详细运行计划,于是就用AWR报告中得到的SQL ID去V$SQL等几个动态性能视图中查询,但发现V$SQL或V$SQL_PLAN视图都已经找不到相应SQL ID的记录,一般来说这些语句已经从shared pool共享池中被替换出去...
分类:数据库   时间:2014-07-11 11:58:50    阅读次数:307
jedis异常:NoSuchElementException: Timeout waiting for idle object
项目线上环境发现:java.util.NoSuchElementException: Timeout waiting for idle object 问题原因:不应该在try中释放资源,而应该在finally中处理。虽然是非常基础的语法,但还是很有可能会写错了,引以为戒。 pool池中的jedis对象资源没有被释放,导致新请求无法获取空闲对象,出现服务端500错误。若代码加入循环获...
分类:其他好文   时间:2014-07-11 08:32:05    阅读次数:168
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!