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/NOPOS/II_docs/ilists.imp/3SandersBitmapSpire.limpiado/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,741 | 21.921053 | 69 | c |
uiHRDC | uiHRDC-master/uiHRDC/indexes/NOPOS/II_docs/ilists.imp/3SandersBitmapSpire.limpiado/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/NOPOS/II_docs/ilists.imp/3SandersBitmapSpire.limpiado/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/NOPOS/II_docs/ilists.imp/3SandersBitmapSpire.limpiado/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/srcREPAIR/repairGonzalo.srcs/bal/irepair_bal.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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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,426 | 27.934641 | 101 | h |
uiHRDC | uiHRDC-master/uiHRDC/indexes/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/3.integradoSkippingBB.ClaudeSolucion2013_v2(nowarn)/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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) \
{ ... | 5,684 | 29.239362 | 101 | h |
uiHRDC | uiHRDC-master/uiHRDC/indexes/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/4.integradoSkippingBB.Moffat.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/5.integradoSkippingBB.Sanders.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/5.integradoSkippingBB.Sanders.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/5.integradoSkippingBB.Sanders.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/5.integradoSkippingBB.Sanders.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/5.integradoSkippingBB.Sanders.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/5.integradoSkippingBB.Sanders.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/5.integradoSkippingBB.Sanders.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/5.integradoSkippingBB.Sanders.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/5.integradoSkippingBB.Sanders.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/5.integradoSkippingBB.Sanders.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/5.integradoSkippingBB.Sanders.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/5.integradoSkippingBB.Sanders.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/5.integradoSkippingBB.Sanders.2015[ver.leeme]/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/NOPOS/II_docs/ilists.imp/4.Repair/5.integradoSkippingBB.Sanders.2015[ver.leeme]/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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.