This file is indexed.

/usr/include/linbox/randiter/givaro-poly.h is in liblinbox-dev 1.4.2-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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/* randiter/givaro-poly.h
 * Copyright (C) 2014 Gavin Harrison,
 *
 * Written by Gavin Harrison <gmh33@drexel.edu>,
 *
 * ========LICENCE========
 * This file is part of the library LinBox.
 *
 * LinBox is free software: you can redistribute it and/or modify
 * it under the terms of the  GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 * ========LICENCE========
 *.
 */

#include <givaro/givpoly1.h>
#include <givaro/givranditer.h>

#ifndef __LINBOX_randiter_givaro_poly_H
#define __LINBOX_randiter_givaro_poly_H

namespace LinBox
{
	template<class Field>
	class GivaroPolyRandIter {
		typedef typename Field::Domain_t Domain;
		typedef typename Domain::Domain_t SubDomain;
		
		Field _pd;
		Givaro::GIV_randIter<SubDomain,integer> _randIter;
		
		integer _size;
		integer _seed;
	public:
		typedef typename Field::Element Element;
		
		GivaroPolyRandIter(Field pd, 
                                   const integer& size = 0,
                                   const integer& seed = 0) :
		_randIter(Givaro::GIV_randIter<SubDomain,integer>(pd.subdomain(), uint64_t(size), seed))
		{_pd = pd;}
		
		GivaroPolyRandIter(const GivaroPolyRandIter &R)
			: _pd(R._pd), _randIter(R._randIter), _size(R._size), _seed(R._seed) {}
		
		GivaroPolyRandIter &operator=(const GivaroPolyRandIter &R) {
			return *this;
		}
		
		Element &random(Element &a)  {
			return _pd.domain().random(_randIter, a);
		}
		
		Element &random(Element &a, Givaro::Degree d)  {
			return _pd.domain().random(_randIter, a, d);
		}
		
		Element &random(Element &a, long s) const {
			return _pd.domain().random(_randIter, a, s);
		}
	};
}

#endif // __LINBOX_randiter_givaro_poly_H