码迷,mamicode.com
首页 >  
搜索关键字:reference count    ( 23530个结果
2014.7.9工作日记
条件编译#if (PHONE_TYPE == T46_TYPE)#define LINEKEY_PERPAGE_COUNT 9#elif (PHONE_TYPE == T48_TYPE)#define LINEKEY_PERPAGE_COUNT 9#elif (PHONE_TYPE == T42_T...
分类:其他好文   时间:2014-07-11 23:31:57    阅读次数:175
erlang自定义数据类型
Erlang系统自带的基础数据类型有:atom、tuple、list、binary、pid、float、number、port、reference、record。用户可以通过通过命令type来自定义数据类型,实现方法:-type device() :: atom() | pid().-type pr...
分类:其他好文   时间:2014-07-11 23:26:47    阅读次数:507
无聊js画了个菱形
function repeat(str, count) { return count '; }; document.write(s);}diamond('A', 5);
分类:Web程序   时间:2014-07-11 23:17:14    阅读次数:213
WebSessionStore: Could not obtain reference to HttpContext
IBatis.net在多线程中报错“WebSessionStore: Could not obtain reference to HttpContext”分析:因为ibatis的ISqlMapSession是存储在Http.Request.Items上的,在你新开的线程里是不能操作IIS的上的线程的...
分类:Web程序   时间:2014-07-11 22:52:37    阅读次数:331
generate ascii table
$ cat ascii.sh dec_count=0while [ $dec_count -lt 256 ]do echo -e "\x$(echo "ibase=10;obase=16;$dec_count" | bc)\c" dec_count=$((dec_coun...
分类:其他好文   时间:2014-07-11 22:42:50    阅读次数:496
java统计字符串中字符及子字符串个数
import java.util.Scanner;public class Counter { static Scanner scanner = new Scanner(System.in); public static void count(String s) { int...
分类:编程语言   时间:2014-07-11 18:52:15    阅读次数:208
数据库优化,性能分析
查询占用cpu最高的20条sql语句,sql2008SELECT TOP 10 a.creation_time,total_worker_time/execution_count AS avg_cpu_cost, plan_handle,execution_count,(SELECT SUBSTRI...
分类:数据库   时间:2014-07-11 18:32:51    阅读次数:271
俺每十分钟查询数据
selectsubstr(to_char(t.callintime,'yyyy-mm-ddhh24:mi:ss'),0,15),count(1)fromt_ivr_call_logtwheret.callintime>trunc(sysdate-8)andt.callintime<trunc(s.....
分类:其他好文   时间:2014-07-11 11:36:50    阅读次数:205
sql3
select count(1) from (select distinct a.ID from chatonline a, chatonlinelog b where a.ID = b.chatonlineID) t
分类:数据库   时间:2014-07-11 11:25:46    阅读次数:232
python 删除list中重复元素
list = [1,1,3,4,6,3,7] 1.for s in list: if list.count(s) >1: list.remove(s) 2.list2=[]for s in list: if s not in list2: list2.ap...
分类:编程语言   时间:2014-07-11 11:04:45    阅读次数:203
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!