This file is indexed.

/usr/include/osl/eval/see.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
48
49
50
51
52
53
54
55
56
57
/* see.h
 */
#ifndef OSL_SEE_H
#define OSL_SEE_H

#include "osl/numEffectState.h"

namespace osl
{
  namespace eval
  {
    class PtypeEvalTable;
    struct See
    {
      static int see(const NumEffectState& state, Move move,
		     const PieceMask& my_pin=PieceMask(), const PieceMask& op_pin=PieceMask(), const PtypeEvalTable *table=0);

      // public for test
      template <Player P>
      static int seeInternal(const NumEffectState& state, Move move,
			     const PieceMask& my_pin, const PieceMask& op_pin,
			     const PtypeEvalTable &table);
      template <Player P>
      static void findEffectPieces(const NumEffectState& state, Square effect_to,
				   PtypeOSquareVector& my_pieces, PtypeOSquareVector& op_pieces);
      template <osl::Player P>
      static void findEffectPiecesAfterMove(const NumEffectState& state, Move move,
					    PtypeOSquareVector& my_pieces, PtypeOSquareVector& op_pieces);
      static void findAdditionalPieces(const NumEffectState& state, Player attack, Square target,
				       Square direct_attack_from,
				       PtypeOSquareVector& out);
      /**
       * PtypeOSquareVector をもとに取り返し値を計算する
       * @param P alt(P) からの取り返し
       * @param target ここに関する取り返し
       * @param ptypeo target にあると想定される駒
       */
      template <Player P>
      static int computeValue(const NumEffectState& state,
			      Move move,
			      PtypeOSquareVector& my_pieces, 
			      PtypeOSquareVector& op_pieces,
			      const PieceMask& my_pin, 
			      const PieceMask& op_pin,
			      const PtypeEvalTable &table);
      struct StorePtypeO;
      struct FindEffectMore;
    };
  };
  using eval::See;
}

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