//#define LEAK_TEST #include "roseTable.h" #include "stasis/page/compression/compression.h" int main(int argc, char **argv) { typedef int32_t typ0; typedef int32_t typ1; typedef int32_t typ2; typedef int64_t typ3; typedef int32_t typ4; typedef int32_t typ5; typedef int32_t typ6; typedef int32_t typ7; typedef int32_t typ8; typedef int32_t typ9; #define COLS 10 typedef rose::StaticTuple tup; using rose::For; using rose::Rle; using rose::Nop; int ret; // multicolumn is deprecated; want static dispatch! rose::plugin_id_t * plugins = (rose::plugin_id_t*)malloc(10 * sizeof(rose::plugin_id_t)); plugins[0] = rose::plugin_id, Rle, typ0>(); plugins[1] = rose::plugin_id, Nop, typ1>(); // rle plugins[2] = rose::plugin_id, For, typ2>(); plugins[3] = rose::plugin_id, Rle, typ3>(); plugins[4] = rose::plugin_id, Nop, typ4>(); // rle plugins[5] = rose::plugin_id, Rle, typ5>(); plugins[6] = rose::plugin_id, For, typ6>(); plugins[7] = rose::plugin_id, Nop, typ7>(); // for plugins[8] = rose::plugin_id, For, typ8>(); plugins[9] = rose::plugin_id, Rle, typ9>(); rose::DynamicMultiColumnTypePageLayout >::initPageLayout(plugins); ret = rose::main > >(argc,argv); /* return rose::main ,Rle, Rle,Rle, Rle,Rle, Rle,Rle, Rle,For > > > (argc,argv); */ /* rose::StaticMultiColumnTypePageLayout ,Rle, For,Rle, Rle,Rle, For,For, For,Rle > >::initPageLayout(); ret = rose::main ,Rle, For,Rle, Rle,Rle, For,For, For,Rle > > > (argc,argv); */ return ret; }