repo
stringlengths
1
152
file
stringlengths
14
221
code
stringlengths
501
25k
file_length
int64
501
25k
avg_line_length
float64
20
99.5
max_line_length
int64
21
134
extension_type
stringclasses
2 values
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/repairGonzalo.srcs/bal/basics.h
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,303
27.977778
75
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/repairGonzalo.srcs/bal/repair.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
10,239
27.365651
79
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/repairGonzalo.srcs/bal/basics.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,610
23.784615
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/repairGonzalo.srcs/bal/despair.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
3,971
25.304636
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/repairGonzalo.srcs/bal/array.h
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,607
28.236364
81
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/repairGonzalo.srcs/bal/toint.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,148
29.236842
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/repairGonzalo.srcs/bal/records.h
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
2,326
28.0875
75
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/repairGonzalo.srcs/bal/array.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
2,999
23.590164
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/repairGonzalo.srcs/bal/hash.h
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,754
29.258621
75
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/repairGonzalo.srcs/bal/records.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
3,306
26.789916
78
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/src/HashTablePos.h
#ifndef HASHTABLEPOS_H #define HASHTABLEPOS_H #include "basic.h" #define maxAlpha 0.6 #define VERBOSE class HashTablePos { public: HashTablePos(uint * data, uint dataLen, int * buff, uint buffLen); ~HashTablePos(); bool increment(uint pos); uint get(uint pos); bool insert(uint pos, uint value); uint h(...
720
22.258065
97
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/src/bitrankw32int.h
/* bitarray.h Copyright (C) 2005, Rodrigo Gonzalez, all rights reserved. New RANK, SELECT, SELECT-NEXT and SPARSE RANK implementations. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foun...
2,028
29.283582
88
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/src/bitmapw32int.h
/* bitarray.h Copyright (C) 2005, Rodrigo Gonzalez, all rights reserved. New RANK, SELECT, SELECT-NEXT and SPARSE RANK implementations. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foun...
1,274
26.12766
77
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/src/RepairPost.h
#ifndef REPAIRDECOMPRESSOR #define REPAIRDECOMPRESSOR #include <iostream> #include <cassert> #include "bitrankw32int.h" #include "bitmapw32int.h" #include "basic.h" #include "sort_alg_Rep.h" #define GAP 1 //#include "RePair.h" //** del build_index.cpp #define CEILLOG_2(x,v) \ { ...
4,079
26.755102
101
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/src/ilistimp.h
/* only for getTime() */ #include <sys/types.h> #include <unistd.h> #include <sys/time.h> #include <sys/resource.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include "RepairPost.h" //#include "utils/sort_alg.h" #include "ilists/ildefconfig.h" #include "ilists/ildatatypes.h" //depends on "RepairPos...
4,800
34.828358
85
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/src/interface.h
/********************************************************************************** * General interface for using compressed representations of posting lists * * Any alternative representation must implement all these functions * *****************************************************************...
4,023
31.451613
84
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/src/ilists/ilerrors.c
/*//////////////// //Error handling// ////////////////*/ /* char *error_il(int e){ switch(e) { case 0: return "No error"; break; case 1: return "Out of memory"; break; case 30: return "Error reading source posting lists";break; case 31: return "Empty Source list or incomplete !!";break; case 40: retu...
2,558
38.369231
83
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/2.integradoBB.ClaudeSolucion2013.shortfiles.normal/srcREPAIR/src/ilists/ildatatypes.h
#ifndef DATA_TYPES_IL_INCLUDED #define DATA_TYPES_IL_INCLUDED typedef struct{ int (*defaultFsearch) ( uint id, uint value); //int (*defaultIntersect2) ( uint id1, uint id2, uint *noccs, uint **occs ); //int (*defaultIntersectN) ( uint *ids, uint nids, uint *noccs, uint **occs ); int (RepairPost::*default...
1,047
29.823529
100
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/linker/interface.h
/********************************************************************************** * General interface for using compressed representations of posting lists * * Any alternative representation must implement all these functions * *****************************************************************...
4,017
31.666667
84
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/linker/build_il.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "interface.h" /* only for getTime() */ #include <sys/time.h> #include <sys/resource.h> /* macro to detect and notify errors */ #define IFERRORIL(error) {{if (error) { fprintf(stderr, "%s\n", error_il(error)); exit(1); }}} int read_file(char *f...
3,517
24.492754
109
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/src/interface.h
/**********************************************************************************/ /* General interface for using compressed representations of posting lists * /* Any alternative representation must implement all these functions * /****************************************************************...
4,023
31.715447
84
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/src/ilspire07.h
/* only for getTime() */ #include <sys/time.h> #include <sys/resource.h> #include "utils/basics.h" #include "utils/sort_alg.h" //#include "utils/fileInfo.h" #include "ilists/ildefconfig.h" #include "ilists/bc.h" #include "ilists/ildatatypes.h" #include "ilists/ilerrors.c" #define DOCid_ADD 1 /* *******************...
6,121
36.329268
88
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/heap.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
10,170
28.481159
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/idespair.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
3,897
26.069444
85
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/heap.h
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
2,738
31.223529
76
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/hash.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
3,707
27.305344
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/basics.h
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,303
27.977778
75
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/repair.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
10,239
27.365651
79
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/basics.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,610
23.784615
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/despair.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
3,971
25.304636
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/array.h
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,520
27.698113
75
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/toint.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,148
29.236842
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/records.h
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
2,326
28.0875
75
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/array.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
2,109
24.421687
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/hash.h
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,754
29.258621
75
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/records.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
3,327
26.733333
78
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/heap.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
10,282
28.464183
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/irepair.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
11,289
28.097938
114
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/idespair.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
3,897
26.069444
85
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/heap.h
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
2,738
31.223529
76
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/hash.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
3,707
27.305344
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/basics.h
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,303
27.977778
75
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/repair.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
10,239
27.365651
79
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/basics.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,610
23.784615
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/despair.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
3,971
25.304636
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/array.h
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,607
28.236364
81
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/toint.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,148
29.236842
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/records.h
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
2,326
28.0875
75
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/array.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
2,999
23.590164
75
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/hash.h
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
1,754
29.258621
75
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/repairGonzalo.srcs/bal/records.c
/* Repair -- an implementation of Larsson and Moffat's compression and decompression algorithms. Copyright (C) 2010-current_year Gonzalo Navarro This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
3,306
26.789916
78
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/src/HashTablePos.h
#ifndef HASHTABLEPOS_H #define HASHTABLEPOS_H #include "basic.h" #define maxAlpha 0.6 #define VERBOSE class HashTablePos { public: HashTablePos(uint * data, uint dataLen, int * buff, uint buffLen); ~HashTablePos(); bool increment(uint pos); uint get(uint pos); bool insert(uint pos, uint value); uint h(...
720
22.258065
97
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/src/bitrankw32int.h
/* bitarray.h Copyright (C) 2005, Rodrigo Gonzalez, all rights reserved. New RANK, SELECT, SELECT-NEXT and SPARSE RANK implementations. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foun...
2,028
29.283582
88
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/src/bitmapw32int.h
/* bitarray.h Copyright (C) 2005, Rodrigo Gonzalez, all rights reserved. New RANK, SELECT, SELECT-NEXT and SPARSE RANK implementations. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foun...
1,274
26.12766
77
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/src/RepairPost.h
#ifndef REPAIRDECOMPRESSOR #define REPAIRDECOMPRESSOR #include <iostream> #include <cassert> #include "bitrankw32int.h" #include "bitmapw32int.h" #include "basic.h" #include "sort_alg_Rep.h" #define GAP 1 typedef struct { uint id; uint gap; } tsearchbitmap; //#include "RePair.h" //** del build_index.cpp #def...
5,848
28.540404
101
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/src/ilistimp.h
/* only for getTime() */ #include <sys/types.h> #include <unistd.h> #include <sys/time.h> #include <sys/resource.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include "RepairPost.h" //#include "utils/sort_alg.h" #include "ilists/ildefconfig.h" #include "ilists/ildatatypes.h" //depends on "RepairPos...
4,800
34.828358
85
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/src/interface.h
/********************************************************************************** * General interface for using compressed representations of posting lists * * Any alternative representation must implement all these functions * *****************************************************************...
4,023
31.451613
84
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/src/ilists/ilerrors.c
/*//////////////// //Error handling// ////////////////*/ /* char *error_il(int e){ switch(e) { case 0: return "No error"; break; case 1: return "Out of memory"; break; case 30: return "Error reading source posting lists";break; case 31: return "Empty Source list or incomplete !!";break; case 40: retu...
2,558
38.369231
83
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/4.repair/4.integradoSkippingBB.Moffat.2015[ver.leeme_listo]/srcREPAIR/src/ilists/ildatatypes.h
#ifndef DATA_TYPES_IL_INCLUDED #define DATA_TYPES_IL_INCLUDED typedef struct{ int (*defaultFsearch) ( uint id, uint value); //int (*defaultIntersect2) ( uint id1, uint id2, uint *noccs, uint **occs ); //int (*defaultIntersectN) ( uint *ids, uint nids, uint *noccs, uint **occs ); int (RepairPost::*default...
1,047
29.823529
100
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/linker/interface.h
/**********************************************************************************/ /* General interface for using compressed representations of posting lists */ /* Any alternative representation must implement all these functions */ /**************************************************************...
3,885
31.383333
84
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/linker/build_il.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "interface.h" /* only for getTime() */ #include <sys/time.h> #include <sys/resource.h> /* macro to detect and notify errors */ #define IFERRORIL(error) {{if (error) { fprintf(stderr, "%s\n", error_il(error)); exit(1); }}} int read_file(char *...
3,509
23.71831
98
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/src/interface.h
/**********************************************************************************/ /* General interface for using compressed representations of posting lists */ /* Any alternative representation must implement all these functions */ /**************************************************************...
3,885
31.383333
84
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/src/ilsandersbc.h
/* only for getTime() */ #include <sys/time.h> #include <sys/resource.h> #include "utils/basics.h" #include "utils/sort_alg.h" //#include "utils/fileInfo.h" #include "ilists/ildefconfig.h" #include "ilists/bc.h" #include "ilists/ildatatypes.h" #include "ilists/ilerrors.c" #define MAXUINT ((uint)1024*1024*2047) /...
7,973
33.076923
89
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/src/linker/interface.h
/**********************************************************************************/ /* General interface for using compressed representations of posting lists */ /* Any alternative representation must implement all these functions */ /**************************************************************...
3,885
31.383333
84
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/src/linker/build_il.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "interface.h" /* only for getTime() */ #include <sys/time.h> #include <sys/resource.h> /* macro to detect and notify errors */ #define IFERRORIL(error) {{if (error) { fprintf(stderr, "%s\n", error_il(error)); exit(1); }}} int read_file(char *f...
3,508
23.886525
98
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/src/utils/basics.h
// Basics #ifndef BASICSINCLUDED #define BASICSINCLUDED // Includes #include <sys/types.h> #include <stdio.h> #include <fcntl.h> #include <stdlib.h> #include <sys/stat.h> #include <sys/times.h> #include <unistd.h> #include <errno.h> #include <string.h> // Memory management #define malloc(n) Malloc(n) #defi...
2,571
21.964286
61
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/src/utils/sort_alg.c
#include "sort_alg.h" /** sorting a uint-vector ascending, (O(n^2)) but valid as n<< **/ int simplesortAsc(tsort *V, uint n) { register int i,j; register uint min,tmp; for (i=0; i< n-1;i++) { min =i; for (j=i+1;j<n;j++) { if ( V[min].key > V[j].key ) min = j; } tmp =V[i].key; V[i].key=V[min].key; V...
1,847
22.692308
69
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/src/ilists/ilerrors.c
/*//////////////// //Error handling// ////////////////*/ /* char *error_il(int e){ switch(e) { case 0: return "No error"; break; case 1: return "Out of memory"; break; case 30: return "Error reading source posting lists";break; case 31: return "Empty Source list or incomplete !!";break; case 40: retu...
2,558
38.369231
83
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/src/ilists/bc.h
#ifndef BC_INCLUDED #define BC_INCLUDED #define CEILLOG_2(x,v) \ { \ register ulong _B_x = (x) ; _B_x--; \ (v) = 0; \ for (; _B_x ; _B_x>>=1, (v)++); \ } #define DEC_TO_BC(bc, pos, ...
5,371
25.463054
106
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/src/ilists/ildatatypes.h
#ifndef DATA_TYPES_IL_INCLUDED #define DATA_TYPES_IL_INCLUDED typedef struct{ int (*defaultFsearch) (void *ail, uint id, uint value); int (*defaultIntersect2) (void *ail, uint id1, uint id2, uint *noccs, uint **occs ); int (*defaultIntersectN) (void *ail, uint *ids, uint nids, uint *noccs, uint **occs ); ...
1,734
34.408163
101
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/src/ilists/notused/ii.h
/** **********************************************************************/ /** Saving/Loading the index to/from disk **/ /** **********************************************************************/ // // * loads the compressed text (ETDC) into memory // int loadTextInMem (byte **text, u...
2,971
40.859155
98
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/3SandersBitmapSpire[GONZALO_previo_ULONGS]/linker/interface.h
/**********************************************************************************/ /* General interface for using compressed representations of posting lists */ /* Any alternative representation must implement all these functions */ /**************************************************************...
3,885
31.383333
84
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/3SandersBitmapSpire[GONZALO_previo_ULONGS]/linker/build_il.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "interface.h" /* only for getTime() */ #include <sys/time.h> #include <sys/resource.h> /* macro to detect and notify errors */ #define IFERRORIL(error) {{if (error) { fprintf(stderr, "%s\n", error_il(error)); exit(1); }}} int read_file(char *...
3,509
23.71831
98
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/3SandersBitmapSpire[GONZALO_previo_ULONGS]/src/interface.h
/**********************************************************************************/ /* General interface for using compressed representations of posting lists */ /* Any alternative representation must implement all these functions */ /**************************************************************...
3,885
31.383333
84
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/3SandersBitmapSpire[GONZALO_previo_ULONGS]/src/ilsandersbc.h
/* only for getTime() */ #include <sys/time.h> #include <sys/resource.h> #include "utils/basics.h" #include "utils/sort_alg.h" //#include "utils/fileInfo.h" #include "ilists/ildefconfig.h" #include "ilists/bc.h" #include "ilists/ildatatypes.h" #include "ilists/ilerrors.c" #define MAXUINT 0x7FFFFFFF //modifies: a...
7,597
34.339535
89
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/3SandersBitmapSpire[GONZALO_previo_ULONGS]/src/linker/interface.h
/**********************************************************************************/ /* General interface for using compressed representations of posting lists */ /* Any alternative representation must implement all these functions */ /**************************************************************...
3,885
31.383333
84
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/3SandersBitmapSpire[GONZALO_previo_ULONGS]/src/linker/build_il.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "interface.h" /* only for getTime() */ #include <sys/time.h> #include <sys/resource.h> /* macro to detect and notify errors */ #define IFERRORIL(error) {{if (error) { fprintf(stderr, "%s\n", error_il(error)); exit(1); }}} int read_file(char *f...
3,508
23.886525
98
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/3SandersBitmapSpire[GONZALO_previo_ULONGS]/src/utils/basics.h
// Basics #ifndef BASICSINCLUDED #define BASICSINCLUDED // Includes #include <sys/types.h> #include <stdio.h> #include <fcntl.h> #include <stdlib.h> #include <sys/stat.h> #include <sys/times.h> #include <unistd.h> #include <errno.h> #include <string.h> // Memory management #define malloc(n) Malloc(n) #defi...
2,571
21.964286
61
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/3SandersBitmapSpire[GONZALO_previo_ULONGS]/src/utils/sort_alg.c
#include "sort_alg.h" /** sorting a uint-vector ascending, (O(n^2)) but valid as n<< **/ int simplesortAsc(tsort *V, uint n) { register int i,j; register uint min,tmp; for (i=0; i< n-1;i++) { min =i; for (j=i+1;j<n;j++) { if ( V[min].key > V[j].key ) min = j; } tmp =V[i].key; V[i].key=V[min].key; V...
1,847
22.692308
69
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/3SandersBitmapSpire[GONZALO_previo_ULONGS]/src/ilists/ilerrors.c
/*//////////////// //Error handling// ////////////////*/ /* char *error_il(int e){ switch(e) { case 0: return "No error"; break; case 1: return "Out of memory"; break; case 30: return "Error reading source posting lists";break; case 31: return "Empty Source list or incomplete !!";break; case 40: retu...
2,558
38.369231
83
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/3SandersBitmapSpire[GONZALO_previo_ULONGS]/src/ilists/bc.h
#ifndef BC_INCLUDED #define BC_INCLUDED #define CEILLOG_2(x,v) \ { \ register unsigned _B_x = (x) - 1; \ (v) = 0; \ for (; _B_x ; _B_x>>=1, (v)++); \ } #define DEC_TO_BC(bc, pos, n...
5,370
25.458128
106
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/3SandersBitmapSpire[GONZALO_previo_ULONGS]/src/ilists/ildatatypes.h
#ifndef DATA_TYPES_IL_INCLUDED #define DATA_TYPES_IL_INCLUDED typedef struct{ int (*defaultFsearch) (void *ail, uint id, uint value); int (*defaultIntersect2) (void *ail, uint id1, uint id2, uint *noccs, uint **occs ); int (*defaultIntersectN) (void *ail, uint *ids, uint nids, uint *noccs, uint **occs ); ...
1,734
34.408163
101
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/3SandersBitmapSpire/3SandersBitmapSpire[GONZALO_previo_ULONGS]/src/ilists/notused/ii.h
/** **********************************************************************/ /** Saving/Loading the index to/from disk **/ /** **********************************************************************/ // // * loads the compressed text (ETDC) into memory // int loadTextInMem (byte **text, u...
2,971
40.859155
98
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/linker/interface.h
/**********************************************************************************/ /* General interface for using compressed representations of posting lists */ /* Any alternative representation must implement all these functions */ /**************************************************************...
4,020
31.691057
84
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/linker/build_il.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "interface.h" /* only for getTime() */ #include <sys/time.h> #include <sys/resource.h> /* macro to detect and notify errors */ #define IFERRORIL(error) {{if (error) { fprintf(stderr, "%s\n", error_il(error)); exit(1); }}} int read_file(char *f...
3,517
24.492754
109
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/src/interface.h
/**********************************************************************************/ /* General interface for using compressed representations of posting lists * /* Any alternative representation must implement all these functions * /****************************************************************...
4,023
31.715447
84
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/src/ilspire07.h
/* only for getTime() */ #include <sys/time.h> #include <sys/resource.h> #include "utils/basics.h" #include "utils/sort_alg.h" //#include "utils/fileInfo.h" #include "ilists/ildefconfig.h" #include "ilists/bc.h" #include "ilists/pfd_coding.h" #include "ilists/ildatatypes.h" #include "ilists/ilerrors.c" #define DOCid...
5,692
37.208054
87
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/src/utils/bitrankw32int.h
/* bitarray.h Copyright (C) 2005, Rodrigo Gonzalez, all rights reserved. New RANK, SELECT, SELECT-NEXT and SPARSE RANK implementations. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foun...
2,030
28.867647
88
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/src/utils/basics.h
// Basics #ifndef BASICSINCLUDED #define BASICSINCLUDED // Includes #include <sys/types.h> #include <stdio.h> #include <fcntl.h> #include <stdlib.h> #include <sys/stat.h> #include <sys/times.h> #include <unistd.h> #include <errno.h> #include <string.h> // Memory management #define malloc(n) Malloc(n) #defi...
2,571
21.964286
61
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/src/utils/sort_alg.c
#include "sort_alg.h" /** sorting a uint-vector ascending, (O(n^2)) but valid as n<< **/ int simplesortAsc(tsort *V, uint n) { register uint i,j; register uint min,tmp; for (i=0; i< n-1;i++) { min =i; for (j=i+1;j<n;j++) { if ( V[min].key > V[j].key ) min = j; } tmp =V[i].key; V[i].key=V[min].key; ...
1,777
21.506329
69
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/src/ilists/opt_p4.h
//Some edits were done in uiHRDC code //// // Copyright (c) 2008, WEST, Polytechnic Institute of NYU // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above cop...
4,417
36.760684
120
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/src/ilists/s16head.h
//Some edits were done in uiHRDC code //// // Copyright (c) 2008, WEST, Polytechnic Institute of NYU // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above cop...
10,817
34.123377
119
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/src/ilists/ilerrors.c
/*//////////////// //Error handling// ////////////////*/ /* char *error_il(int e){ switch(e) { case 0: return "No error"; break; case 1: return "Out of memory"; break; case 30: return "Error reading source posting lists";break; case 31: return "Empty Source list or incomplete !!";break; case 40: retu...
2,558
38.369231
83
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/src/ilists/bc.h
#define OFFSET_LOWEST_VALUE (0) //#define OFFSET_LOWEST_VALUE (1) //AS "ZERO" IS NEVER ENCODED... value OFFSET_LOWEST_VALUE will //will be encoded as "0"... OFFSET_LOWEST_VALUE +1 as "1", etc. //const unsigned long TABLABASE[5] = {0,128,16512,2113664,270549120}; ////decoding for ETDC //uint decode ...
3,054
31.849462
106
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/src/ilists/unpack.h
//Some edits were done in uiHRDC code //// // Copyright (c) 2008, WEST, Polytechnic Institute of NYU // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above cop...
23,048
26.570574
120
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/src/ilists/pfd_coding.c
//PforDelta. //Interface by Antonio Fariña (University of A Coruña) in May 2011. //Cannot compress gaps >= 2^28! (due to S16-limitations). #include "pfd_coding.h" #include "opt_p4.h" /* compresses size integers from $input$. * stores the compressed data in $output$ and returns its size (as numb of uints) * NOTE: F...
1,295
31.4
81
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/src/ilists/ildatatypes.h
#ifndef DATA_TYPES_IL_INCLUDED #define DATA_TYPES_IL_INCLUDED typedef struct{ //int (*defaultFsearch) (void *ail, uint id, uint value); int (*defaultIntersect2) (void *ail, uint id1, uint id2, uint *noccs, uint **occs ); int (*defaultIntersectN) (void *ail, uint *ids, uint nids, uint *noccs, uint **occs )...
1,877
34.433962
103
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/8.pfordelta/src/ilists/pfd_coding.h
//PforDelta. //Interface by Antonio Fariña (University of A Coruña) in May 2011. //Cannot compress gaps >= 2^28! (due to S16-limitations). #ifndef PFD_CODING_H_ #define PFD_CODING_H_ #define PFD_BS 128 //see unpack.h #define PFD_BS2 (128 * 2) //public: /** compresses the "size" uints in "input". * the encode...
1,141
38.37931
104
h
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/1.4Golomb_bitmap_NoSampling/linker/search_il - copia.c
/* * Run Queries */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include "interface.h" /* only for getTime() */ #include <sys/time.h> #include <sys/resource.h> #define EXTRACT ('E') #define EXTRACTNOMALLOC ('e') #define INTERSECT2 ('I') #define INTERSECTN ('N') #define VERBOS...
17,072
25.306626
118
c
uiHRDC
uiHRDC-master/uiHRDC/indexes/POS/II_docs/ilists.gap.imp/1.4Golomb_bitmap_NoSampling/linker/interface.h
/**********************************************************************************/ /* General interface for using compressed representations of posting lists * /* Any alternative representation must implement all these functions * /****************************************************************...
4,018
31.674797
84
h