This file is indexed.

/usr/include/freehdl/kernel-util.hh is in libfreehdl0-dev 0.0.7-1.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
#ifndef KERNEL_UTIL_H
#define KERNEL_UTIL_H

/******************************************************
 * Some definitions which are used by the kernel only 
 ******************************************************/
#ifdef KERNEL

#include <sstream>
#include <string>

#if !defined __GNUC__ || __GNUC__ != 2
#include <ext/hash_map>
#else
#include <hash_map>
#endif

using namespace std;

#if !defined __GNUC__ || __GNUC__ != 2
using namespace __gnu_cxx;
#endif

// A hash function template used tp generate a hash number from
// pointer values.
template<class T>
class pointer_hash : public hash<unsigned long> {
public:
  size_t operator()(const T& x) const {
    return (*(hash<unsigned long> *)this)(((unsigned long)x)>>2);
  }
};


/* Convert an integer value into a string */
template <class T>
inline string
to_string(T i)
{
  stringstream lstr;
  lstr << i;
  return lstr.str();
}

/******************************************************
 * End of internal kernel definitions    
 ******************************************************/
#endif



#endif