📄 tst232.stable.out
字号:
stdout of test 'tst232` in directory 'src/mal` itself:# 08:01:03 > # 08:01:03 > Mtimeout -timeout 60 Mserver "--config=/ufs/mk/monet5/Linux/etc/MonetDB5.conf" --debug=10 --set "monet_mod_path=/ufs/mk/monet5/Linux/lib/MonetDB5:/ufs/mk/opensource/MonetDB/Linux/lib/MonetDB" --set "gdk_dbfarm=/ufs/mk/monet5/Linux/var/MonetDB5/dbfarm" --set "sql_logdir=/ufs/mk/monet5/Linux/var/MonetDB5/log" --set mapi_port=42158 --set sql_port=55708 --set monet_prompt= --trace "--config=/ufs/mk/monet5/src/mal/Tests/All.conf" --dbname=mTests_src_mal tst232.mal </dev/null# 08:01:03 > # Monet Database Server V4.99.19# Copyright (c) 1993-2004, CWI. All rights reserved.# Compiled for i686-redhat-linux-gnu/32bit; dynamically linked.# config:/ufs/mk/monet5/Linux/etc/MonetDB5.conf# dbfarm:/ufs/mk/monet5/Linux/var/MonetDB5/dbfarm# dbname:mTests_src_mal# Visit http://monetdb.cwi.nl/ for further information.## a test checking BAT reference counting under various situations# bbp.open();# b:= new(:int,:str);# i:= getRefCount(b);# printf("refcount =%d\n",i);# j:= getLRefCount(b);# printf("lrefcount =%d\n",j);## insert(b,1,"bat B");# print(b);# i:= getRefCount(b);# printf("refcount =%d\n",i);# j:= getLRefCount(b);# printf("lrefcount =%d\n",j);## bbp.destroy(b);# i:= getRefCount(b);#catch MALException;# print("bat was destroyed");#exit MALException;#function user.main():void; # 0 (main:void)# a test checking BAT reference counting under various situations # 1 (_1:str) bbp.open(); # 2 CMDbbpopen (_2:void) b := bat.new(:int,:str); # 3 CMDBATnew (b:bat[:int,:str])<-(_4:int)(_5:str) i := bbp.getRefCount(b); # 4 CMDgetBATrefcnt (i:int)<-(b:bat[:int,:str]) io.printf("refcount =%d\n",i); # 5 IOprint_formatted_int (_7:void)<-(_8:str)(i:int) j := bbp.getLRefCount(b); # 6 CMDgetBATlrefcnt (j:int)<-(b:bat[:int,:str]) io.printf("lrefcount =%d\n",j); # 7 IOprint_formatted_int (_10:void)<-(_11:str)(j:int) bat.insert(b,1,"bat B"); # 8 BKCinsert_bun (_12:void)<-(b:bat[:int,:str])(_13:int)(_14:str) io.print(b); # 9 IOprint_val (_15:void)<-(b:bat[:int,:str]) i := bbp.getRefCount(b); # 10 CMDgetBATrefcnt (i:int)<-(b:bat[:int,:str]) io.printf("refcount =%d\n",i); # 11 IOprint_formatted_int (_16:void)<-(_8:str)(i:int) j := bbp.getLRefCount(b); # 12 CMDgetBATlrefcnt (j:int)<-(b:bat[:int,:str]) io.printf("lrefcount =%d\n",j); # 13 IOprint_formatted_int (_17:void)<-(_11:str)(j:int) bbp.destroy(b); # 14 CMDbbpdestroyBAT1 (_18:void)<-(b:bat[:int,:str]) i := bbp.getRefCount(b); # 15 CMDgetBATrefcnt (i:int)<-(b:bat[:int,:str])catch MALException:str ; # 16 (MALException:str) jump 18 io.print("bat was destroyed"); # 17 IOprint_val (_20:void)<-(_21:str)exit MALException:str ; # 18 (MALException:str)end main; # 19 refcount =1lrefcount =1#-------------------------## h tmp_4 # name# int str # type#-------------------------#[ 1, "bat B" ]refcount =1lrefcount =1[ "bat was destroyed" ]# 08:01:03 > # 08:01:03 > Done.# 08:01:03 >
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -