This file is indexed.

/usr/include/JAGS/model/NodeArraySubset.h is in jags 4.1.0-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
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
#ifndef NODE_ARRAY_SUBSET_H_
#define NODE_ARRAY_SUBSET_H_

#include <sarray/Range.h>

#include <vector>

namespace jags {

    class Node;
    class NodeArray;
    class Range;
    
    /**
     * @short Subset of a NodeArray
     * 
     */
    class NodeArraySubset {
	std::vector<unsigned int> _dim;
	unsigned int _nchain;
	std::vector<Node *> _node_pointers;
	std::vector<unsigned int> _offsets;
      public:
	/**
	 * Constructor. Creates a NodeArraySubset from a NodeArray
	 * and a given range
	 */
	NodeArraySubset(NodeArray const *array, Range const &range);
	/**
	 * Returns the values of the nodes in the range covered by the
	 * NodeArraySubset in column major order.
	 *
	 * @param chain Index number of chain to read.
	 */
	std::vector<double> value(unsigned int chain) const;
	/**
	 * Returns the dimension of the subset
	 */
	std::vector<unsigned int> const &dim() const;
	/**
	 * Returns a vector containing the nodes that contribute
	 * values to the NodeArraySubset. Repeated values are removed.
	 */
	std::vector<Node const *> nodes() const;
	/**
	 * Returns the number of chains
	 */
	unsigned int nchain() const;
	/**
	 * Returns the number of values in the subset
	 */
	unsigned int length() const;
    };
    
} /* namespace jags */

#endif /* NODE_ARRAY_SUBSET_H */