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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>LCOV - lcov.info - ept/popcon/maint/popconindexer.cc</title>
<link rel="stylesheet" type="text/css" href="../../../gcov.css">
</head>
<body>
<table width="100%" border=0 cellspacing=0 cellpadding=0>
<tr><td class="title">LTP GCOV extension - code coverage report</td></tr>
<tr><td class="ruler"><img src="../../../glass.png" width=3 height=3 alt=""></td></tr>
<tr>
<td width="100%">
<table cellpadding=1 border=0 width="100%">
<tr>
<td class="headerItem" width="20%">Current view:</td>
<td class="headerValue" width="80%" colspan=4><a href="../../../index.html">directory</a> - <a href="index.html">ept/popcon/maint</a> - popconindexer.cc</td>
</tr>
<tr>
<td class="headerItem" width="20%">Test:</td>
<td class="headerValue" width="80%" colspan=4>lcov.info</td>
</tr>
<tr>
<td class="headerItem" width="20%">Date:</td>
<td class="headerValue" width="20%">2008-08-14</td>
<td width="20%"></td>
<td class="headerItem" width="20%">Instrumented lines:</td>
<td class="headerValue" width="20%">116</td>
</tr>
<tr>
<td class="headerItem" width="20%">Code covered:</td>
<td class="headerValue" width="20%">79.3 %</td>
<td width="20%"></td>
<td class="headerItem" width="20%">Executed lines:</td>
<td class="headerValue" width="20%">92</td>
</tr>
</table>
</td>
</tr>
<tr><td class="ruler"><img src="../../../glass.png" width=3 height=3 alt=""></td></tr>
</table>
<table cellpadding=0 cellspacing=0 border=0>
<tr>
<td><br></td>
</tr>
<tr>
<td><pre class="source">
<span class="lineNum"> 1 </span> : #include <ept/popcon/popcon.h>
<span class="lineNum"> 2 </span> : #include <ept/popcon/maint/popconindexer.h>
<span class="lineNum"> 3 </span> : #include <ept/popcon/maint/path.h>
<span class="lineNum"> 4 </span> :
<span class="lineNum"> 5 </span> : #include <wibble/exception.h>
<span class="lineNum"> 6 </span> : #include <wibble/sys/fs.h>
<span class="lineNum"> 7 </span> :
<span class="lineNum"> 8 </span> : #include <tagcoll/diskindex/mmap.h>
<span class="lineNum"> 9 </span> :
<span class="lineNum"> 10 </span> : #include <set>
<span class="lineNum"> 11 </span> : #include <string>
<span class="lineNum"> 12 </span> : #include <cstdio>
<span class="lineNum"> 13 </span> : #include <cstring>
<span class="lineNum"> 14 </span> :
<span class="lineNum"> 15 </span> : using namespace std;
<span class="lineNum"> 16 </span> :
<span class="lineNum"> 17 </span> : namespace ept {
<span class="lineNum"> 18 </span> : namespace popcon {
<span class="lineNum"> 19 </span> :
<span class="lineNum"> 20 </span> : template<typename STRUCT>
<span class="lineNum"> 21 </span> : struct StructIndexer : public tagcoll::diskindex::MMapIndexer
<span class="lineNum"> 22 </span><span class="lineCov"> 1 : {</span>
<span class="lineNum"> 23 </span> : const STRUCT& data;
<span class="lineNum"> 24 </span><span class="lineCov"> 1 : StructIndexer(const STRUCT& data) : data(data) {}</span>
<span class="lineNum"> 25 </span> :
<span class="lineNum"> 26 </span><span class="lineCov"> 1 : int encodedSize() const { return sizeof(STRUCT); }</span>
<span class="lineNum"> 27 </span><span class="lineCov"> 1 : void encode(char* buf) const { *(STRUCT*)buf = data; }</span>
<span class="lineNum"> 28 </span> : };
<span class="lineNum"> 29 </span> :
<span class="lineNum"> 30 </span> : /// MMapIndexer that indexes the package names
<span class="lineNum"> 31 </span> : struct PopconGenerator : public tagcoll::diskindex::MMapIndexer
<span class="lineNum"> 32 </span><span class="lineCov"> 4 : {</span>
<span class="lineNum"> 33 </span> : // Sorted set of all available package names and data
<span class="lineNum"> 34 </span> : std::map<std::string, Score> data;
<span class="lineNum"> 35 </span> :
<span class="lineNum"> 36 </span><span class="lineCov"> 1 : int encodedSize() const</span>
<span class="lineNum"> 37 </span> : {
<span class="lineNum"> 38 </span><span class="lineCov"> 1 : int size = data.size() * sizeof(Score);</span>
<span class="lineNum"> 39 </span><span class="lineCov"> 69911 : for (std::map<std::string, Score>::const_iterator i = data.begin();</span>
<span class="lineNum"> 40 </span> : i != data.end(); ++i)
<span class="lineNum"> 41 </span><span class="lineCov"> 69910 : size += i->first.size() + 1;</span>
<span class="lineNum"> 42 </span><span class="lineCov"> 1 : return tagcoll::diskindex::MMap::align(size);</span>
<span class="lineNum"> 43 </span> : }
<span class="lineNum"> 44 </span> :
<span class="lineNum"> 45 </span><span class="lineCov"> 1 : void encode(char* buf) const</span>
<span class="lineNum"> 46 </span> : {
<span class="lineNum"> 47 </span><span class="lineCov"> 1 : int pos = data.size() * sizeof(Score);</span>
<span class="lineNum"> 48 </span><span class="lineCov"> 1 : int idx = 0;</span>
<span class="lineNum"> 49 </span><span class="lineCov"> 69911 : for (std::map<std::string, Score>::const_iterator i = data.begin();</span>
<span class="lineNum"> 50 </span> : i != data.end(); ++i)
<span class="lineNum"> 51 </span> : {
<span class="lineNum"> 52 </span><span class="lineCov"> 69910 : ((Score*)buf)[idx] = i->second;</span>
<span class="lineNum"> 53 </span><span class="lineCov"> 69910 : ((Score*)buf)[idx].offset = pos;</span>
<span class="lineNum"> 54 </span><span class="lineCov"> 69910 : memcpy(buf + pos, i->first.c_str(), i->first.size() + 1);</span>
<span class="lineNum"> 55 </span><span class="lineCov"> 69910 : pos += i->first.size() + 1;</span>
<span class="lineNum"> 56 </span><span class="lineCov"> 69910 : ++idx;</span>
<span class="lineNum"> 57 </span> : }
<span class="lineNum"> 58 </span><span class="lineCov"> 1 : }</span>
<span class="lineNum"> 59 </span> : };
<span class="lineNum"> 60 </span> :
<span class="lineNum"> 61 </span> :
<span class="lineNum"> 62 </span><span class="lineCov"> 7 : PopconIndexer::PopconIndexer()</span>
<span class="lineNum"> 63 </span> : : mainSource(Path::popconSourceDir()),
<span class="lineNum"> 64 </span><span class="lineCov"> 7 : userSource(Path::popconUserSourceDir())</span>
<span class="lineNum"> 65 </span> : {
<span class="lineNum"> 66 </span><span class="lineCov"> 7 : rescan();</span>
<span class="lineNum"> 67 </span><span class="lineCov"> 7 : }</span>
<span class="lineNum"> 68 </span> :
<span class="lineNum"> 69 </span><span class="lineCov"> 7 : void PopconIndexer::rescan()</span>
<span class="lineNum"> 70 </span> : {
<span class="lineNum"> 71 </span><span class="lineCov"> 7 : ts_main_src = mainSource.timestamp();</span>
<span class="lineNum"> 72 </span><span class="lineCov"> 7 : ts_user_src = userSource.timestamp();</span>
<span class="lineNum"> 73 </span><span class="lineCov"> 7 : ts_main_sco = Path::timestamp(Path::scores());</span>
<span class="lineNum"> 74 </span><span class="lineCov"> 14 : ts_user_sco = Path::timestamp(Path::userScores());</span>
<span class="lineNum"> 75 </span><span class="lineCov"> 14 : ts_main_idx = Path::timestamp(Path::scoresIndex());</span>
<span class="lineNum"> 76 </span><span class="lineCov"> 14 : ts_user_idx = Path::timestamp(Path::userScoresIndex());</span>
<span class="lineNum"> 77 </span><span class="lineCov"> 7 : }</span>
<span class="lineNum"> 78 </span> :
<span class="lineNum"> 79 </span><span class="lineCov"> 7 : bool PopconIndexer::needsRebuild() const</span>
<span class="lineNum"> 80 </span> : {
<span class="lineNum"> 81 </span> : // If there are no indexes of any kind, then we need rebuilding
<span class="lineNum"> 82 </span><span class="lineCov"> 7 : if (ts_user_sco == 0 || ts_main_sco == 0 || ts_user_idx == 0 && ts_main_idx == 0)</span>
<span class="lineNum"> 83 </span><span class="lineCov"> 2 : return true;</span>
<span class="lineNum"> 84 </span> :
<span class="lineNum"> 85 </span> : // If the user index is ok, then we are fine
<span class="lineNum"> 86 </span><span class="lineCov"> 5 : if (ts_user_sco >= sourceTimestamp() && ts_user_idx >= sourceTimestamp())</span>
<span class="lineNum"> 87 </span><span class="lineCov"> 5 : return false;</span>
<span class="lineNum"> 88 </span> :
<span class="lineNum"> 89 </span> : // If there are user sources, then we cannot use the system index
<span class="lineNum"> 90 </span><span class="lineNoCov"> 0 : if (ts_user_src > 0)</span>
<span class="lineNum"> 91 </span><span class="lineNoCov"> 0 : return true;</span>
<span class="lineNum"> 92 </span> :
<span class="lineNum"> 93 </span> : // If there are no user sources, then we can fallback on the system
<span class="lineNum"> 94 </span> : // indexes in case the user indexes are not up to date
<span class="lineNum"> 95 </span><span class="lineNoCov"> 0 : if (ts_main_sco >= sourceTimestamp() && ts_main_idx >= sourceTimestamp())</span>
<span class="lineNum"> 96 </span><span class="lineNoCov"> 0 : return false;</span>
<span class="lineNum"> 97 </span> :
<span class="lineNum"> 98 </span><span class="lineNoCov"> 0 : return true;</span>
<span class="lineNum"> 99 </span> : }
<span class="lineNum"> 100 </span> :
<span class="lineNum"> 101 </span><span class="lineCov"> 7 : bool PopconIndexer::userIndexIsRedundant() const</span>
<span class="lineNum"> 102 </span> : {
<span class="lineNum"> 103 </span> : // If there is no user index, then it is not redundant
<span class="lineNum"> 104 </span><span class="lineCov"> 7 : if (ts_user_idx == 0)</span>
<span class="lineNum"> 105 </span><span class="lineCov"> 1 : return false;</span>
<span class="lineNum"> 106 </span> :
<span class="lineNum"> 107 </span> : // If the system index is not up to date, then the user index is not
<span class="lineNum"> 108 </span> : // redundant
<span class="lineNum"> 109 </span><span class="lineCov"> 6 : if (ts_main_idx < sourceTimestamp())</span>
<span class="lineNum"> 110 </span><span class="lineNoCov"> 0 : return false;</span>
<span class="lineNum"> 111 </span> :
<span class="lineNum"> 112 </span><span class="lineCov"> 6 : return true;</span>
<span class="lineNum"> 113 </span> : }
<span class="lineNum"> 114 </span> :
<span class="lineNum"> 115 </span><span class="lineCov"> 2 : bool PopconIndexer::rebuild(const std::string& scofname, const std::string& idxfname)</span>
<span class="lineNum"> 116 </span> : {
<span class="lineNum"> 117 </span><span class="lineCov"> 2 : PopconGenerator gen;</span>
<span class="lineNum"> 118 </span> : InfoStruct is;
<span class="lineNum"> 119 </span><span class="lineCov"> 2 : is.submissions = 0;</span>
<span class="lineNum"> 120 </span><span class="lineCov"> 2 : if (!mainSource.readScores(gen.data, is.submissions))</span>
<span class="lineNum"> 121 </span><span class="lineCov"> 1 : userSource.readScores(gen.data, is.submissions);</span>
<span class="lineNum"> 122 </span><span class="lineCov"> 2 : if (gen.data.empty())</span>
<span class="lineNum"> 123 </span><span class="lineCov"> 1 : return false;</span>
<span class="lineNum"> 124 </span> :
<span class="lineNum"> 125 </span><span class="lineCov"> 1 : StructIndexer<InfoStruct> infoStruct(is);</span>
<span class="lineNum"> 126 </span> :
<span class="lineNum"> 127 </span> : // Create the index
<span class="lineNum"> 128 </span><span class="lineCov"> 1 : tagcoll::diskindex::MasterMMapIndexer master(idxfname);</span>
<span class="lineNum"> 129 </span><span class="lineCov"> 1 : master.append(gen);</span>
<span class="lineNum"> 130 </span><span class="lineCov"> 1 : master.append(infoStruct);</span>
<span class="lineNum"> 131 </span><span class="lineCov"> 1 : master.commit();</span>
<span class="lineNum"> 132 </span> :
<span class="lineNum"> 133 </span> : // for (map<string, Score>::const_iterator i = gen.data.begin(); i != gen.data.end(); ++i)
<span class="lineNum"> 134 </span> : // {
<span class="lineNum"> 135 </span> : // fprintf(stderr, "%s %d %f\n", i->first.c_str(), i->second.offset, i->second.score);
<span class="lineNum"> 136 </span> : // }
<span class="lineNum"> 137 </span> :
<span class="lineNum"> 138 </span> : // Create the score file
<span class="lineNum"> 139 </span><span class="lineCov"> 1 : FILE* out = fopen(scofname.c_str(), "wt");</span>
<span class="lineNum"> 140 </span><span class="lineCov"> 1 : if (out == NULL)</span>
<span class="lineNum"> 141 </span><span class="lineNoCov"> 0 : throw wibble::exception::File(scofname, "opening and truncating file for writing");</span>
<span class="lineNum"> 142 </span><span class="lineCov"> 69911 : for (map<string, Score>::const_iterator i = gen.data.begin();</span>
<span class="lineNum"> 143 </span> : i != gen.data.end(); ++i)
<span class="lineNum"> 144 </span> : {
<span class="lineNum"> 145 </span><span class="lineCov"> 69910 : fprintf(out, "%s %f\n", i->first.c_str(), i->second.score);</span>
<span class="lineNum"> 146 </span> : }
<span class="lineNum"> 147 </span><span class="lineCov"> 1 : fclose(out);</span>
<span class="lineNum"> 148 </span><span class="lineCov"> 1 : return true;</span>
<span class="lineNum"> 149 </span> : }
<span class="lineNum"> 150 </span> :
<span class="lineNum"> 151 </span><span class="lineCov"> 7 : bool PopconIndexer::rebuildIfNeeded()</span>
<span class="lineNum"> 152 </span> : {
<span class="lineNum"> 153 </span><span class="lineCov"> 7 : if (needsRebuild())</span>
<span class="lineNum"> 154 </span> : {
<span class="lineNum"> 155 </span> : // Decide if we rebuild the user index or the system index
<span class="lineNum"> 156 </span><span class="lineCov"> 2 : if (Path::access(Path::popconIndexDir(), W_OK) == 0)</span>
<span class="lineNum"> 157 </span> : {
<span class="lineNum"> 158 </span> : // Since we can write on the system index directory, we rebuild
<span class="lineNum"> 159 </span> : // the system index
<span class="lineNum"> 160 </span><span class="lineCov"> 2 : if (!rebuild(Path::scores(), Path::scoresIndex()))</span>
<span class="lineNum"> 161 </span><span class="lineCov"> 1 : return false;</span>
<span class="lineNum"> 162 </span><span class="lineCov"> 1 : ts_main_sco = Path::timestamp(Path::scores());</span>
<span class="lineNum"> 163 </span><span class="lineCov"> 2 : ts_main_idx = Path::timestamp(Path::scoresIndex());</span>
<span class="lineNum"> 164 </span><span class="lineCov"> 2 : if (Path::scores() == Path::userScores())</span>
<span class="lineNum"> 165 </span><span class="lineCov"> 1 : ts_user_sco = ts_main_sco;</span>
<span class="lineNum"> 166 </span><span class="lineCov"> 1 : if (Path::scoresIndex() == Path::userScoresIndex())</span>
<span class="lineNum"> 167 </span><span class="lineCov"> 1 : ts_user_idx = ts_main_idx;</span>
<span class="lineNum"> 168 </span> : } else {
<span class="lineNum"> 169 </span><span class="lineNoCov"> 0 : wibble::sys::fs::mkFilePath(Path::userScores());</span>
<span class="lineNum"> 170 </span><span class="lineNoCov"> 0 : wibble::sys::fs::mkFilePath(Path::userScoresIndex());</span>
<span class="lineNum"> 171 </span><span class="lineNoCov"> 0 : if (!rebuild(Path::userScores(), Path::userScoresIndex()))</span>
<span class="lineNum"> 172 </span><span class="lineNoCov"> 0 : return false;</span>
<span class="lineNum"> 173 </span><span class="lineNoCov"> 0 : ts_user_sco = Path::timestamp(Path::userScores());</span>
<span class="lineNum"> 174 </span><span class="lineNoCov"> 0 : ts_user_idx = Path::timestamp(Path::userScoresIndex());</span>
<span class="lineNum"> 175 </span> : }
<span class="lineNum"> 176 </span><span class="lineCov"> 1 : return true;</span>
<span class="lineNum"> 177 </span> : }
<span class="lineNum"> 178 </span><span class="lineCov"> 5 : return false;</span>
<span class="lineNum"> 179 </span> : }
<span class="lineNum"> 180 </span> :
<span class="lineNum"> 181 </span><span class="lineCov"> 7 : bool PopconIndexer::deleteRedundantUserIndex()</span>
<span class="lineNum"> 182 </span> : {
<span class="lineNum"> 183 </span><span class="lineCov"> 7 : if (userIndexIsRedundant())</span>
<span class="lineNum"> 184 </span> : {
<span class="lineNum"> 185 </span> : // Delete the user indexes if they exist
<span class="lineNum"> 186 </span><span class="lineCov"> 6 : if (Path::scores() != Path::userScores())</span>
<span class="lineNum"> 187 </span> : {
<span class="lineNum"> 188 </span><span class="lineNoCov"> 0 : unlink(Path::userScores().c_str());</span>
<span class="lineNum"> 189 </span><span class="lineNoCov"> 0 : ts_user_sco = 0;</span>
<span class="lineNum"> 190 </span> : }
<span class="lineNum"> 191 </span><span class="lineCov"> 6 : if (Path::scoresIndex() != Path::userScoresIndex())</span>
<span class="lineNum"> 192 </span> : {
<span class="lineNum"> 193 </span><span class="lineNoCov"> 0 : unlink(Path::userScoresIndex().c_str());</span>
<span class="lineNum"> 194 </span><span class="lineNoCov"> 0 : ts_user_idx = 0;</span>
<span class="lineNum"> 195 </span> : }
<span class="lineNum"> 196 </span><span class="lineCov"> 6 : return true;</span>
<span class="lineNum"> 197 </span> : }
<span class="lineNum"> 198 </span><span class="lineCov"> 1 : return false;</span>
<span class="lineNum"> 199 </span> : }
<span class="lineNum"> 200 </span> :
<span class="lineNum"> 201 </span><span class="lineCov"> 7 : bool PopconIndexer::getUpToDatePopcon(std::string& scofname, std::string& idxfname)</span>
<span class="lineNum"> 202 </span> : {
<span class="lineNum"> 203 </span> : // If there are no indexes of any kind, then we have nothing to return
<span class="lineNum"> 204 </span><span class="lineCov"> 7 : if (ts_user_sco == 0 && ts_main_sco == 0 && ts_user_idx == 0 && ts_main_idx == 0)</span>
<span class="lineNum"> 205 </span><span class="lineCov"> 1 : return false;</span>
<span class="lineNum"> 206 </span> :
<span class="lineNum"> 207 </span> : // If the user index is up to date, use it
<span class="lineNum"> 208 </span><span class="lineCov"> 6 : if (ts_user_sco >= sourceTimestamp() &&</span>
<span class="lineNum"> 209 </span> : ts_user_idx >= sourceTimestamp())
<span class="lineNum"> 210 </span> : {
<span class="lineNum"> 211 </span><span class="lineCov"> 6 : scofname = Path::userScores();</span>
<span class="lineNum"> 212 </span><span class="lineCov"> 12 : idxfname = Path::userScoresIndex();</span>
<span class="lineNum"> 213 </span><span class="lineCov"> 6 : return true;</span>
<span class="lineNum"> 214 </span> : }
<span class="lineNum"> 215 </span> :
<span class="lineNum"> 216 </span> : // If the user index is not up to date and we have user sources, we cannot
<span class="lineNum"> 217 </span> : // fall back to the system index
<span class="lineNum"> 218 </span><span class="lineNoCov"> 0 : if (ts_user_src != 0)</span>
<span class="lineNum"> 219 </span><span class="lineNoCov"> 0 : return false;</span>
<span class="lineNum"> 220 </span> :
<span class="lineNum"> 221 </span> : // Fallback to the system index
<span class="lineNum"> 222 </span><span class="lineNoCov"> 0 : if (ts_main_sco >= sourceTimestamp() &&</span>
<span class="lineNum"> 223 </span> : ts_main_idx >= sourceTimestamp())
<span class="lineNum"> 224 </span> : {
<span class="lineNum"> 225 </span><span class="lineNoCov"> 0 : scofname = Path::scores();</span>
<span class="lineNum"> 226 </span><span class="lineNoCov"> 0 : idxfname = Path::scoresIndex();</span>
<span class="lineNum"> 227 </span><span class="lineNoCov"> 0 : return true;</span>
<span class="lineNum"> 228 </span> : }
<span class="lineNum"> 229 </span> :
<span class="lineNum"> 230 </span><span class="lineNoCov"> 0 : return false;</span>
<span class="lineNum"> 231 </span> : }
<span class="lineNum"> 232 </span> :
<span class="lineNum"> 233 </span> :
<span class="lineNum"> 234 </span><span class="lineCov"> 7 : bool PopconIndexer::obtainWorkingPopcon(std::string& scofname, std::string& idxfname)</span>
<span class="lineNum"> 235 </span> : {
<span class="lineNum"> 236 </span><span class="lineCov"> 7 : PopconIndexer indexer;</span>
<span class="lineNum"> 237 </span> :
<span class="lineNum"> 238 </span><span class="lineCov"> 7 : indexer.rebuildIfNeeded();</span>
<span class="lineNum"> 239 </span><span class="lineCov"> 7 : indexer.deleteRedundantUserIndex();</span>
<span class="lineNum"> 240 </span><span class="lineCov"> 7 : return indexer.getUpToDatePopcon(scofname, idxfname);</span>
<span class="lineNum"> 241 </span> : }
<span class="lineNum"> 242 </span> :
<span class="lineNum"> 243 </span> :
<span class="lineNum"> 244 </span> : }
<span class="lineNum"> 245 </span><span class="lineCov"> 6 : }</span>
<span class="lineNum"> 246 </span> :
<span class="lineNum"> 247 </span> : // vim:set ts=4 sw=4:
</pre>
</td>
</tr>
</table>
<br>
<table width="100%" border=0 cellspacing=0 cellpadding=0>
<tr><td class="ruler"><img src="../../../glass.png" width=3 height=3 alt=""></td></tr>
<tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LTP GCOV extension version 1.6</a></td></tr>
</table>
<br>
</body>
</html>
|