内存对齐,memory
alignment.为了提高程序的性能,数据结构(尤其是栈)应该尽可能地在自然边界上对齐。原因在于,为了访问未对齐的内存,处理器需要作两次内存访问;然而,对齐的内存访问仅需要一次访问。内存对齐一般讲就是cpu
access memory的效率(提高运行速度)和准确性(在一些条...
分类:
其他好文 时间:
2014-06-12 19:25:28
阅读次数:
305
解决方案:将c3p0.jar包换成c3p0-0.9.0.2.jar,c3p0这个包应该有bug引用如下:com.mchange.v2.log.MLogDetermines
which library c3p0 will output log messages to. By default, if l...
分类:
其他好文 时间:
2014-06-12 19:17:23
阅读次数:
419
一、摘要 An Adapter object acts as a bridge between
anAdapterViewand the underlying data for that view. The Adapter provides access
to the data items. Th....
分类:
移动开发 时间:
2014-06-12 18:27:55
阅读次数:
503
问题:在逻辑中使用了,
QAbstractItemView::setRootIndex(const QModelIndex & index),第一次设置生效, view
进入了model 中指定的item, view 内只显示该item内部的children items. 这个效果是我要的.bug:...
分类:
其他好文 时间:
2014-06-12 16:42:56
阅读次数:
266
Dalvik opcodesAuthor:Gabor PallerVx values in
the table denote a Dalvik register. Depending on the instruction, 16, 256 or 64k
registers can be access...
分类:
其他好文 时间:
2014-06-12 16:41:36
阅读次数:
307