This file is indexed.

/usr/include/opencascade/TDF_LabelMapHasher.lxx is in libopencascade-ocaf-lite-dev 6.5.0.dfsg-2build1.

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
// File:	TDF_LabelMapHasher.lxx
//      	----------------------
// Author:	DAUTRY Philippe
//		<fid@fox.paris1.matra-dtv.fr>
// Copyright:	Matra Datavision 1997

// Version:	0.0
// History:	Version	Date		Purpose
//		0.0	Feb 13 1997	Creation


//=======================================================================
//function : HashCode
//purpose  : 
//=======================================================================

//#ifndef WNT
//inline  static Standard_Integer TDF_LabelMapHasher::HashCode
//#else
inline         Standard_Integer TDF_LabelMapHasher::HashCode
//#endif
(const TDF_Label& aLab, const Standard_Integer Upper) 
{ return 1 + ( (int) (labs((long int) aLab.myLabelNode) % Upper) ); }

 
//=======================================================================
//function : IsEqual
//purpose  : 
//=======================================================================

//#ifndef WNT
//inline  static Standard_Boolean TDF_LabelMapHasher::IsEqual
//#else
inline         Standard_Boolean TDF_LabelMapHasher::IsEqual
//#endif
(const TDF_Label& aLab1,const TDF_Label& aLab2) 
{ return aLab1.IsEqual(aLab2); }