This file is indexed.

/usr/include/osl/checkmate/immediateCheckmateTable.h is in libosl-dev 0.6.0-3.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
/* immediateCheckmateTable.h
 */
#ifndef OSL_CHECKMATE_IMMEDIATE_CHECKMATE_TABLE_H
#define OSL_CHECKMATE_IMMEDIATE_CHECKMATE_TABLE_H
#include "osl/checkmate/king8Info.h"
#include "osl/ptype.h"
#include "osl/direction.h"
#include "osl/misc/carray.h"
#include "osl/misc/carray2d.h"
#include "osl/container/pieceMask.h"

namespace osl
{
  namespace checkmate
  {
    class ImmediateCheckmateTable
    {
    private:
      CArray<unsigned char,0x10000u> dropPtypeMasks;
      CArray2d<unsigned char,0x100u,PTYPE_SIZE> ptypeDropMasks;
      CArray2d<unsigned char,PTYPE_SIZE,8> blockingMasks;
      CArray2d<unsigned short,PTYPE_SIZE,8> noEffectMasks;
    public:
      ImmediateCheckmateTable();
      unsigned char dropPtypeMaskOf(unsigned int liberty_drop_mask) const
      {
	return dropPtypeMasks[liberty_drop_mask];
      }
      unsigned char dropPtypeMask(King8Info canMoveMask) const
      {
	return dropPtypeMaskOf(canMoveMask.libertyDropMask());
      }
      unsigned int ptypeDropMask(Ptype ptype,King8Info canMoveMask) const
      {
	return ptypeDropMasks(canMoveMask.liberty(),ptype);
      }
      unsigned int blockingMask(Ptype ptype,Direction dir) const
      {
	assert(static_cast<int>(dir)<8);
	return blockingMasks(ptype,dir);
      }
      unsigned int noEffectMask(Ptype ptype,Direction dir) const
      {
	assert(static_cast<int>(dir)<8);
	return noEffectMasks(ptype,dir);
      }
    };
    extern const ImmediateCheckmateTable Immediate_Checkmate_Table;
  }
}

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