This file is indexed.

/usr/share/octave/site/m/vlfeat/toolbox/demo/vl_demo_kdtree_plot.m is in octave-vlfeat 0.9.17+dfsg0-6+b1.

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
function h = vl_demo_kdtree_plot(kdtree, nodeIndex, xlim, ylim)
% VL_DEMO_KDTREE_PLOT

% Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson.
% All rights reserved.
%
% This file is part of the VLFeat library and is made available under
% the terms of the BSD license (see the COPYING file).

dim        = kdtree.nodes.splitDimension(nodeIndex) ;
thresh     = kdtree.nodes.splitThreshold(nodeIndex) ;
lowerChild  = kdtree.nodes.lowerChild(nodeIndex) ;
upperChild = kdtree.nodes.upperChild(nodeIndex) ;

if dim == 1
  xs = [thresh, thresh] ;
  ys = ylim ;
  ylimLower = ylim ;
  ylimUpper = ylim ;
  xlimLower = [xlim(1) thresh] ;
  xlimUpper = [thresh xlim(2)] ;
else
  xs = xlim ;
  ys = [thresh, thresh] ;
  xlimLower = xlim ;
  xlimUpper = xlim ;
  ylimLower = [ylim(1) thresh] ;
  ylimUpper = [thresh ylim(2)] ;
end
h = line(xs,ys) ;

if lowerChild > 1
  h = [h vl_demo_kdtree_plot(kdtree, lowerChild, xlimLower, ylimLower)] ;
end

if upperChild > 1
  h = [h vl_demo_kdtree_plot(kdtree, upperChild, xlimUpper, ylimUpper)] ;
end