box.mal

来自「一个内存数据库的源代码这是服务器端还有客户端」· MAL 代码 · 共 40 行

MAL
40
字号
#line 30 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/mal/box.mx"module box;pattern open(nme:str):any_1address BOXopencomment "Locate the box and open it.";pattern close(bname:str):void	address BOXclosecomment "Close the box.";pattern destroy(bname:str):void	address BOXdestroycomment "Destroy the box.";pattern take(bnme:str, vnme:str):any_1address BOXtakecomment "Locates the typed value in the box.";pattern deposit(bname:str,name:str,v:any_1):void 			address BOXdepositcomment "Enter a new value into the box.";pattern releaseAll(bname:str) :void 			address BOXreleaseAllcomment "Release all objects for this client.";pattern release(bname:str,nme:str,val:any_1):void 			address BOXreleasecomment "Release the BAT from the client pool.";pattern toString(bname:str,name:str) :str 			address BOXtoStringcomment "Get the string representation of 	the i-th element in the box.";pattern discard(bname:str,name:str) :void 			address BOXdiscardcomment "Release the BAT from the client pool.";pattern iterator(nme:str):lng address BOXiteratorcomment "Locates the next element in the box.";command getBoxNames():bat[:int,:str]address BOXgetBoxNamescomment "Retrieve the names of all boxes.";

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?