This file is indexed.

/usr/include/osl/container/moveLogProbVector.h is in libosl-dev 0.4.2-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
58
#ifndef OSL_MOVE_LOG_PROB_VECTOR_H
#define OSL_MOVE_LOG_PROB_VECTOR_H
#include "osl/moveLogProb.h"

#include "osl/misc/fixedCapacityVector.h"
#include <iosfwd>

namespace osl
{
  namespace container
  {
  typedef FixedCapacityVector<MoveLogProb,Move::MaxUniqMoves> MoveLogProbVectorBase;

  class MoveLogProbVector : public MoveLogProbVectorBase
  {
    typedef MoveLogProbVectorBase base_t;
  public:
    MoveLogProbVector() {}
    explicit MoveLogProbVector(size_t size) : MoveLogProbVectorBase(size)
    {
    }
    MoveLogProbVector(const MoveLogProbVector& src) : MoveLogProbVectorBase(src)
    {
    }
    template <class RangeIterator>
    MoveLogProbVector(const RangeIterator& first, const RangeIterator& last)
      : MoveLogProbVectorBase(first, last)
    {
    }
    void push_back(Move move,int prob) {
      base_t::push_back(MoveLogProb(move,prob));
    }
    void push_back(const MoveLogProb& move) {
      base_t::push_back(move);
    }
    template <class RangeIterator>
    void push_back(const RangeIterator& first, const RangeIterator& last)
    {
      MoveLogProbVectorBase::push_back(first, last);
    }
    /** 確率が高い順にsort */
    void sortByProbability();
    /** 確率が低い順にsort */
    void sortByProbabilityReverse();
    const MoveLogProb* find(Move) const;
  };
  std::ostream& operator<<(std::ostream& os,MoveLogProbVector const& mv);
  bool operator==(const MoveLogProbVector& l, const MoveLogProbVector& r);

  } // namespace container
  using container::MoveLogProbVector;
} // namespace osl
#endif // OSL_MOVE_LOG_PROB_VECTOR_H
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; coding:utf-8
// ;;; End: