This file is indexed.

/usr/include/osl/misc/milliSeconds.h is in libosl-dev 0.8.0-1.4.

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

#include <chrono>
#include <stdexcept>

namespace osl
{
  namespace misc
  {
    struct NoMoreTime : std::runtime_error
    {
      NoMoreTime() : std::runtime_error("time limit over")
	{
	}
    };
    typedef std::chrono::high_resolution_clock clock;
    typedef std::chrono::time_point<clock> time_point;
    typedef std::chrono::milliseconds milliseconds;
    using std::chrono::duration_cast;
    template <class Duration>
    inline double toSeconds(Duration duration) {
      return duration_cast<std::chrono::duration<double>>(duration).count();
    }
    template <class Duration>
    inline long long msec(Duration duration) {
      return duration_cast<milliseconds>(duration).count();
    }
    inline double elapsedSeconds(time_point start) {
      return toSeconds(clock::now()-start);
    }
  } // namespace misc
  using misc::clock;
  using misc::time_point;
  using misc::milliseconds;
  using misc::elapsedSeconds;
  using misc::toSeconds;
  using misc::duration_cast;
  using misc::msec;
} // namespace osl


#endif // OSL_MILLISECONDS_H
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End: