This file is indexed.

/usr/include/osl/eval/ml/progress.h is in libosl-dev 0.6.0-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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#ifndef EVAL_ML_PROGRESS_H
#define EVAL_ML_PROGRESS_H

#include "osl/misc/carray.h"
#include "osl/progress/progress16.h"
#include "osl/eval/ml/weights.h"

namespace osl
{
  namespace eval
  {
    namespace ml
    {
      class ProgressBonus
      {
      public:
	enum { DIM = 256 };
	static int eval(Progress16 black, Progress16 white);
	static void setUp(const Weights &weights);
      private:
	static int index(Progress16 black, Progress16 white)
	{
	  return black.value() * 16 + white.value();
	}
	static CArray<int, 256> table;
      };
      class ProgressAttackDefense
      {
      public:
	enum { DIM = 256 };
	static int eval(Progress16 black_attack, Progress16 white_defense,
			Progress16 white_attack, Progress16 black_defense);
	static void setUp(const Weights &weights);
      private:
	static int index(Progress16 attack, Progress16 defense)
	{
	  return attack.value() * 16 + defense.value();
	}
	static CArray<int, 256> table;
      };

      class ProgressAttackDefenseAll
      {
      public:
	enum { DIM = 65536 };
	static int eval(Progress16 black_attack,
			Progress16 white_defense,
			Progress16 white_attack, Progress16 black_defense);
	static void setUp(const Weights &weights);
      private:
	static int index(Progress16 black_attack, Progress16 white_defense,
			 Progress16 white_attack, Progress16 black_defense)
	{
	  return white_attack.value() +
	    16 * (black_defense.value() +
		  16 * (black_attack.value() * 16 + white_defense.value()));
	}
	static CArray<int, 65536> table;
      };
    }
  }
}

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