This file is indexed.

/usr/share/octave/packages/benchmark-1.1.1/doc-cache is in octave-benchmark 1.1.1-4.

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
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
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
# Created by Octave 3.6.1, Thu May 03 17:03:53 2012 UTC <root@roseapple>
# name: cache
# type: cell
# rows: 3
# columns: 11
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 14
benchmark_dtmm


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 679
 function benchmark_dtmm (m, n, nvec)
 description:
 Dense transposed matrix-matrix and matrix-vector multiplication benchmark.
 This is to test the "compound operators" feature introduced in Octave.

 arguments:
 m = row dimension of matrices
 n = col dimension of matrices
 nvec = number of vector op repeats

 results:
 time_tmm = Time for A'*B (A,B m-by-n matrices)
 time_smm = Time for A'*A
 time_mtm = Time for A*B' (A,B n-by-m matrices)
 time_msm = Time for A*A'
 time_tmv = Time for A'*v nvec-times (A m-by-n matrix)
 ratio_tmv = Ratio to precomputed transpose time
 time_mtv = Time for v*A' nvec-times (A m-by-n matrix)
 ratio_mtv = Ratio to precomputed transpose time




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
 function benchmark_dtmm (m, n, nvec)
 description:
 Dense transposed matrix-mat



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 15
benchmark_index


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 608
 function benchmark_index (n, rep)
 description:
 Test speed of array indexing.

 arguments:
 n = array size
 rep = number of repeats

 results:
 time_slice1 = time for a(i:j)
 time_slice1s = time for a(i:k:j)
 time_slice1v = time for a(idx)
 time_slice2c = time for a(:,i:j)
 time_slice2r = time for a(i:j,:)
 time_slice2cv = time for a(:,idx)
 time_slice2rv = time for a(idx,:)
 time_slicenc = time for a(:,:,i:j,k)
 time_slicend = time for a(:,:,k,i:j)
 time_slicens = time for a(i,j,k,:)
 time_spreadr = time for a(ones(1, k), :), a row vector
 time_spreadc = time for a(:, ones(1, k)), a column vector




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 79
 function benchmark_index (n, rep)
 description:
 Test speed of array indexing.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 17
benchmark_intmath


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1763
 function benchmark_intmath (n, ratio)
 description:
 Test speed of integer math & conversions.

 arguments:
 n = array size
 ratio = ratio of intmath for generating integers

 results:
 time_uint8_conv = time to convert real vector to uint8
 time_uint8_add = time to add two uint8 vectors
 time_uint8_sub = time to subtract two uint8 vectors
 time_uint8_mul = time to multiply two uint8 vectors
 time_uint8_div = time to divide two uint8 vectors
 time_int8_conv = time to convert real vector to int8
 time_int8_add = time to add two int8 vectors
 time_int8_sub = time to subtract two int8 vectors
 time_int8_mul = time to multiply two int8 vectors
 time_int8_div = time to divide two int8 vectors
 time_uint16_conv = time to convert real vector to uint16
 time_uint16_add = time to add two uint16 vectors
 time_uint16_sub = time to subtract two uint16 vectors
 time_uint16_mul = time to multiply two uint16 vectors
 time_uint16_div = time to divide two uint16 vectors
 time_int16_conv = time to convert real vector to int16
 time_int16_add = time to add two int16 vectors
 time_int16_sub = time to subtract two int16 vectors
 time_int16_mul = time to multiply two int16 vectors
 time_int16_div = time to divide two int16 vectors
 time_uint32_conv = time to convert real vector to uint32
 time_uint32_add = time to add two uint32 vectors
 time_uint32_sub = time to subtract two uint32 vectors
 time_uint32_mul = time to multiply two uint32 vectors
 time_uint32_div = time to divide two uint32 vectors
 time_int32_conv = time to convert real vector to int32
 time_int32_add = time to add two int32 vectors
 time_int32_sub = time to subtract two int32 vectors
 time_int32_mul = time to multiply two int32 vectors
 time_int32_div = time to divide two int32 vectors




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
 function benchmark_intmath (n, ratio)
 description:
 Test speed of integer math



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 17
benchmark_permute


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 340
 function benchmark_permute (n)
 description:
 Test speed of array permuting.

 arguments:
 n = dimension size (n^5 is number of elements)

 results:

 time_21345 = time for [2,1,3,4,5] permutation
 time_13425 = time for [1,3,4,2,5] permutation
 time_34125 = time for [3,4,1,2,5] permutation
 time_45123 = time for [4,5,1,2,3] permutation




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 77
 function benchmark_permute (n)
 description:
 Test speed of array permuting.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 14
benchmark_stmm


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 460
 function benchmark_stmm (n, nvec)
 description:
 Sparse transposed matrix-vector multiplication benchmark.
 This is to test the "compound operators" feature introduced in Octave.

 arguments:
 n = dimension of matrix
 nvec = number of vector op repeats

 results:
 time_tmm = Time for A'*B (B n^2-by-nvec matrix)
 time_tmv = Time for A'*v nvec-times (v vector)
 time_mtm = Time for B*A' (B nvec-by-n^2 matrix)
 time_mtv = Time for v*A' nvec-times (v vector)




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
 function benchmark_stmm (n, nvec)
 description:
 Sparse transposed matrix-vecto



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 17
benchutil_average


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 136
 function results = benchutil_average (benchmark, nruns, arg1, arg2, ...)
 Average the benchmark results over a certain number of runs.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 70
 function results = benchutil_average (benchmark, nruns, arg1, arg2, .



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 21
benchutil_default_arg


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 181
 benchmark_default_arg (name, value)
 set argument to a default value. This function is provided for 
 compatibility with Matlab, which misses Octave's default arguments
 feature.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 70
 benchmark_default_arg (name, value)
 set argument to a default value.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 20
benchutil_initialize


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 126
 function benchutil_initialize (mfname)
 initializes a benchmark. The argument passed must be the filename of the
 function.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 65
 function benchutil_initialize (mfname)
 initializes a benchmark.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 19
benchutil_is_octave


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 105
 function benchutil_is_octave ()
 returns true if this is Octave. If not, we're probably run on Matlab.




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 65
 function benchutil_is_octave ()
 returns true if this is Octave.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 20
benchutil_parse_desc


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 133
 function [bench_desc, arg_desc, result_desc] = benchutil_parse_desc (mpath)
 parse the inline comment description from a benchmark




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
 function [bench_desc, arg_desc, result_desc] = benchutil_parse_desc (mpath)
 pa



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 17
benchutil_verbose


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 97
 function OLD_FLAG = benchutil_verbose (NEW_FLAG)
 sets or queries the benchmark verbosity flag




# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
 function OLD_FLAG = benchutil_verbose (NEW_FLAG)
 sets or queries the benchmark