/usr/lib/ruby/vendor_ruby/treetop/runtime/interval_skip_list/head_node.rb is in ruby-treetop 1.6.8-1.
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 | class IntervalSkipList
class HeadNode
attr_reader :height, :forward, :forward_markers
def initialize(height)
@height = height
@forward = Array.new(height, nil)
@forward_markers = Array.new(height) {|i| []}
end
def top_level
height - 1
end
end
end
|