This file is indexed.

/usr/lib/R/site-library/dplyr/include/dplyr/VectorVisitor.h is in r-cran-dplyr 0.7.4-3.

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
#ifndef dplyr_VectorVisitor_H
#define dplyr_VectorVisitor_H

namespace dplyr {

/**
 * Vector visitor base class, defines the interface
 */
class VectorVisitor {
public:
  virtual ~VectorVisitor() {}

  /** hash the element of the visited vector at index i */
  virtual size_t hash(int i) const = 0;

  /** are the elements at indices i and j equal */
  virtual bool equal(int i, int j) const = 0;

  /** are the elements at indices i and j equal or both NA */
  virtual bool equal_or_both_na(int i, int j) const = 0;

  /** is the i element less than the j element */
  virtual bool less(int i, int j) const = 0;

  /** is the i element less than the j element */
  virtual bool greater(int i, int j) const = 0;

  virtual int size() const = 0;

  virtual std::string get_r_type() const = 0;

  virtual bool is_na(int i) const = 0;
};

} // namespace dplyr


#endif