This file is indexed.

/usr/share/doc/ruby-gsl/examples/sort/heapsort_vector_complex.rb is in ruby-gsl 2.1.0.3+dfsg1-1build1.

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
#!/usr/bin/env ruby
require("gsl")

v = GSL::Vector::Complex.alloc(5)
v[0] = [1, 2]
v[1] = [3, 4]
v[2] = [0, 1]
v[3] = [15, 3]
v[4] = [5, 7]

p v.heapsort { |a, b|
  a.abs <=> b.abs
}

p v.heapsort { |a, b|
  b.abs <=> a.abs
}

p GSL.heapsort(v) { |a, b|
  b.abs <=> a.abs
}