This file is indexed.

/usr/include/osl/checkmate/checkmateIfCapture.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
/* checkmateIfCapture.h
 */
#ifndef OSL_CHECKMATEIFCAPTURE_H
#define OSL_CHECKMATEIFCAPTURE_H

#include "osl/numEffectState.h"

namespace osl
{
  namespace checkmate
  {

    struct CheckmateIfCapture
    {
      /**
       * move を指した後,alt(move.player())が取ると詰みかどうか.
       * - alt(move.player()) から利きがない場合はfalse
       * - 取る指手が全て取ると詰の場合は true
       * @param depth 0 なら ImmediateCheckmate のみ,2なら3手詰.
       */
      static bool effectiveAttack(NumEffectState& state, Move move, int depth);

      /**
       * 手番の側がSquare の駒を取っても詰みがないか.
       * - target に利きがない場合はfalse
       * - 取る指手が全て取ると詰の場合は true
       * @param depth 0 なら ImmediateCheckmate のみ,2なら3手詰.
       */
      static bool cannotCapture(NumEffectState& state, Square last_to, int depth);

      /** depth==0でeffectiveAttackになる可能性がなければfalse */
      static bool effectiveAttackCandidate0(const NumEffectState& state, Move move);
      struct CallDefense;
    };

  } // namespace checkmate
} // osl

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