This file is indexed.

/usr/include/osl/checkmate/disproofPieces.h is in libosl-dev 0.6.0-3.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
/* disproofPieces.h
 */
#ifndef _DISPROOFPIECES_H
#define _DISPROOFPIECES_H

#include "osl/checkmate/proofPiecesUtil.h"
namespace osl
{
  namespace checkmate
  {
    class CheckMoveList;
    struct DisproofPieces
    {
      static const PieceStand leaf(const SimpleState& state, Player defender,
				   const PieceStand max)
      {
	assert(state.turn() != defender);
	PieceStand result;
	ProofPiecesUtil::addMonopolizedPieces(state, defender, max, result);
	return result;
      }
      static const PieceStand
      defense(const PieceStand prev, Move move, const PieceStand max)
      {
	assert(move.isValid());
	PieceStand result = prev;
	if (move.isDrop())
	{
	  const Ptype ptype = move.ptype();
	  if (result.get(ptype) < max.get(ptype))
	    result.add(ptype);
	}
	else 
	{
	  const Ptype captured = move.capturePtype();
	  if (isPiece(captured))
	  {
	    const Ptype ptype = unpromote(captured);
	    result.trySub(ptype);
	  }
	}
	return result;
      }
      static const PieceStand
      attack(const CheckMoveList& moves, const SimpleState& state, 
	     PieceStand max);
    };
  
  } // namespace checkmate
} // osl

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