This file is indexed.

/usr/lib/R/site-library/dplyr/include/dplyr/visitor_set/VisitorSetHash.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
#ifndef dplyr_VisitorSetHash_H
#define dplyr_VisitorSetHash_H

#include <tools/hash.h>

namespace dplyr {

template <typename Class>
class VisitorSetHash {
public:
  size_t hash(int j) const {
    const Class& obj = static_cast<const Class&>(*this);
    int n = obj.size();
    if (n == 0) {
      stop("Need at least one column for `hash()`");
    }
    size_t seed = obj.get(0)->hash(j);
    for (int k = 1; k < n; k++) {
      boost::hash_combine(seed, obj.get(k)->hash(j));
    }
    return seed;
  }
};

}

#endif