码迷,mamicode.com
首页 >  
搜索关键字:enq tx - row lock co    ( 21443个结果
中间件的一些方法定义
function TServerMethods1.ExecuteSql(const sql: String): Boolean;var d: TfrmDB;begin d := DBPool.Lock; if Assigned(d) then begin try try ...
分类:其他好文   时间:2014-10-25 18:46:34    阅读次数:160
使用Xpath对XML进行模糊查询
如果要对XML文件进行模糊查找的话是一个比较麻烦的事情,Xpath表达式中没有像文件系统中的“*”或"?" 或者有像SQL表达式中的"%",这样的模糊查找的通配符。但是还好,在Xpath的函数中提供了像contains和match这样的函数。contains是一个字符串查找函数 语法是:fn:co....
分类:其他好文   时间:2014-10-25 15:44:13    阅读次数:150
pthread_cond_signal 和 pthread_mutex_unlock顺序问题
pthread_cond_signal()的具体位置?"pthread_cond_signal()必须要放在pthread_mutex_lock() 和pthread_mutex_unlock() 之间, "我认为这个做法有个问题,举个例子简单假设线程1、2,curnum 值为 1, 语句执行顺序....
分类:其他好文   时间:2014-10-25 14:21:10    阅读次数:394
<BEA-141281> <unable to get file lock, will retry ...>
分类:其他好文   时间:2014-10-25 14:19:55    阅读次数:223
将类数组对象(array-like object)转化为数组对象(Array object)
用法:Array.prototype.slice.call(array-like object)// 创建一个类数组对象var alo = {0:"a", 1:"b",2:"c", length:3};// 转化var arr = Array.prototype.slice.call(alo);co...
分类:编程语言   时间:2014-10-25 11:47:31    阅读次数:179
C# XMLDocument
今天开发一个WPF模块需要本地化保存一些用户设置,鉴于数据量不大,用XML。 (要是再小的话可以用Resources 和 Settings)。清晰简短教程移步:http://bdk82924.iteye.com/blog/564353代码如下:using System;using System.Co...
分类:Windows程序   时间:2014-10-24 22:10:32    阅读次数:410
dev终极破解
从上图及前面几图推导,lock代码并不影响(原因在dxlicenseprovider中自行分析)。于是破解代码如下。其实上面我们已经看到还有一种方式, string environmentVariable = Environment.GetEnvironmentVariable("TeamFound...
分类:其他好文   时间:2014-10-24 20:23:29    阅读次数:171
[SPOJ VLATTICE]Visible Lattice Points 数论 莫比乌斯反演
7001. Visible Lattice Points Problem code: VLATTICE Consider a N*N*N lattice. One corner is at (0,0,0) and the opposite one is at (N,N,N). How many lattice points are visible from co...
分类:其他好文   时间:2014-10-24 11:05:49    阅读次数:294
c++ ifstream
1.判断文件是否打开if(a.fail())if(!a.good())if(!a)上面3个等价但上面的无法检测到 : 以不合适的文件模式打开文件失败a.is_open()可以检测到这个错误所以推荐使用 if(!a.is_open())2. if( !fin ) { co...
分类:编程语言   时间:2014-10-24 10:45:06    阅读次数:180
制作一个主页背景图不动,但网页可以向下滚动浏览内容
background-attachment-- 定义背景图片随滚动轴的移动方式取值: scroll | fixed | inheritscroll: 随着页面的滚动轴背景图片将移动fixed: 随着页面的滚动轴背景图片不会移动inherit: 继承引用网址:http://www.dreamdu.co...
分类:Web程序   时间:2014-10-24 10:29:51    阅读次数:192
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!