⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 no.107.mils

📁 一个内存数据库的源代码这是服务器端还有客户端
💻 MILS
字号:
setoid(oid(20000000));# [t_i, n_i]w.histogram().print();#split w in twee tabellenvar docid := new( void, oid );var tid := new( void, str );docid.insert( w.mark(nil).reverse() );docid.print();tid.insert( w.reverse().mark(nil).reverse() );tid.print();docid.seqbase( 1000@0 );docid.print();tid.seqbase( 1000@0 );tid.print();tid.reverse().print();var tidx:=tid.copy();tidx.print();var tidy:=([oid](tid)).copy();tidy.print();print( docid, tid );module( "xtables" );CTgroup( docid, tid ).print();# t_i, tf_ijjoin( tidx.reverse(), CTgroup( docid, tid ).histogram()).print();join( tidy.reverse(), CTgroup( docid, tid ).histogram()).print();join( tid.reverse(), CTgroup( docid, tid ).histogram()).print();# d_j, max tf_jvar djtfij := new( oid, int );djtfij.insert( join( docid.reverse(), CTgroup( docid, tid ).histogram() ) );{max}(djtfij).print();# This way it works. However, if I do not do an explicit new and insert,# then the server crashes as follows:var djtfijx :=join( docid.reverse(), CTgroup( docid, tid ).histogram() );{max}(djtfijx).print();quit();

⌨️ 快捷键说明

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