This file is indexed.

/usr/include/spooles/I2Ohash/I2Ohash.h is in libspooles-dev 2.2-10build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
/*  I2Ohash.h  */

#include "../Utilities.h"

/*--------------------------------------------------------------------*/
typedef struct _I2Ohash   I2Ohash ;
struct _I2Ohash {
   int    nlist     ;
   int    grow      ;
   int    nitem     ;
   I2OP   *baseI2OP ;
   I2OP   *freeI2OP ;
   I2OP   **heads   ;
} ;
/*--------------------------------------------------------------------*/
/*
------------------------------------------------------------------------
----- methods found in basics.c  ---------------------------------------
------------------------------------------------------------------------
*/
/*
   -----------------------------------------------------
   create and return a new instance of the I2Ohash object
 
   created -- 98jan29, cca
   -----------------------------------------------------
*/
I2Ohash *
I2Ohash_new (
   void
) ;
/*
   -------------------------------------------
   set the default fields for an I2Ohash object
 
   created -- 98jan29, cca
   -------------------------------------------
*/
void
I2Ohash_setDefaultFields (
   I2Ohash   *hashtbl
) ;
/*
   -----------------------
   clear the data fields
 
   created -- 98jan29, cca
   -----------------------
*/
void
I2Ohash_clearData (
   I2Ohash   *hashtbl
) ;
/*
   -----------------------
   free the I2Ohash object
 
   created -- 98jan29, cca
   -----------------------
*/
void
I2Ohash_free (
   I2Ohash   *hashtbl
) ;
/*--------------------------------------------------------------------*/
/*
------------------------------------------------------------------------
----- methods found in init.c  -----------------------------------------
------------------------------------------------------------------------
*/
/*
   ------------------------------------------
   initializer, 
   (1) set the number of lists to nlist
       and allocate the heads[] vector
   (2) initialize nobj I2OP objects
   (2) set hashtbl item growth factor to grow
 
   created -- 98jan29, cca
   ------------------------------------------
*/
void
I2Ohash_init ( 
   I2Ohash   *hashtbl,
   int      nlist,
   int      nobj,
   int      grow 
) ;
/*--------------------------------------------------------------------*/
/*
------------------------------------------------------------------------
----- methods found in util.c  -----------------------------------------
------------------------------------------------------------------------
*/
/*
   ---------------------------------------------------------
   insert the (key1, key2, value) triple into the hash table
 
   created -- 98jan29, cca
   ---------------------------------------------------------
*/
void
I2Ohash_insert (
   I2Ohash   *hashtbl,
   int       key1,
   int       key2,
   void      *value
) ;
/*
   ------------------------------------------------
   locate the first (key1,key2,*) in the hash table
 
   return value --
      0 -- no (key1,key2,*) value triple
      1 -- (key1,key2,value) value triple found,
           value put into *pvalue
 
   created -- 98jan29, cca
   ------------------------------------------------
*/
int
I2Ohash_locate (
   I2Ohash   *hashtbl,
   int       key1,
   int       key2,
   void      **pvalue
) ;
/*
   --------------------------------------------------
   remove the first (key1,key2,*) from the hash table
 
   return value --
      0 -- no (key1,key2,*) value triple
      1 -- (key1,key2,value) value triple found,
           value put into *pvalue
 
   created -- 98jan29, cca
   --------------------------------------------------
*/
int
I2Ohash_remove (
   I2Ohash   *hashtbl,
   int       key1,
   int       key2,
   void      **pvalue
) ;
/*
   ---------------------------------------------------------------
   return a measure of the nonuniform distribution of the entries.
   a value of 1.0 is best.
 
   created -- 98jan29, cca
   ---------------------------------------------------------------
*/
double
I2Ohash_measure (
   I2Ohash   *hashtbl
) ;
/*--------------------------------------------------------------------*/
/*
------------------------------------------------------------------------
----- methods found in IO.c  -------------------------------------------
------------------------------------------------------------------------
*/
/*
   -----------------------------------------------
   purpose -- to write the I2Ohash object to a file
 
   created -- 98jan29, cca
   -----------------------------------------------
*/
void
I2Ohash_writeForHumanEye ( 
   I2Ohash   *hashtbl,
   FILE     *fp 
) ;
/*--------------------------------------------------------------------*/