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

📄 mkey.mal

📁 一个内存数据库的源代码这是服务器端还有客户端
💻 MAL
字号:
#line 24 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/mkey.mx"module mkey;command rotate(v:int, nbits:int) :int address MKEYrotatecomment "left-rotate an int by nbits";pattern hash(v:any):int address MKEYhash comment "compute a hash int number from any value";command hash(v:chr):int address MKEYhash_chr; command hash(v:sht):int address MKEYhash_sht; command hash(v:int):int address MKEYhash_int; command hash(v:flt):int address MKEYhash_flt; command hash(v:dbl):int address MKEYhash_dbl; command hash(v:lng):int address MKEYhash_lng; command hash(v:str):int address MKEYhash_str; pattern bulk_rotate_xor_hash(h:int, nbits:int, v:any) :int address MKEYrotate_xor_hashcomment "post: [:xor=]([:rotate=](h, nbits), [hash](b))";command bulk_rotate_xor_hash(h:bat[:oid,:int], nbits:int,b:bat[:oid,:any_1])	:bat[:oid,:int] address MKEYbulk_rotate_xor_hashcomment "pre:  h and b should be synced on head         post: [:xor=]([:rotate=](h, nbits), [hash](b))";

⌨️ 快捷键说明

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