This file is indexed.

/usr/include/givaro/givstack.inl is in libgivaro-dev 3.2.13-1.2.

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
// ==========================================================================
// $Source: /var/lib/cvs/Givaro/src/kernel/bstruct/givstack.inl,v $
// Copyright(c)'94-97 by Givaro Team
// see the copyright file.
// Author: T. Gautier
// $Id: givstack.inl,v 1.1.1.1 2004/05/12 16:08:24 jgdumas Exp $
// ==========================================================================

template <class THING>
Stack<THING>::~Stack()
{ }

template <class THING>
Stack<THING>::Stack()
{
  ThePointer = NULL ;
}

template <class THING>
void Stack<THING>::push(const THING& T)
{
  struct inner_stack * Newpt ;
  Newpt = new struct inner_stack ;
  Newpt->thething = T ;
  Newpt->next = ThePointer ;
  ThePointer = Newpt ;
}

template <class THING>
void Stack<THING>::pop()
{
  if (ThePointer == NULL) 
  {
    cerr << "*** Error: Empty Stack" << endl ;
  }
  else {
    inner_stack* tmp = ThePointer ;
    ThePointer = ThePointer->next ;
    delete tmp ;
  }
}

template <class THING>
THING Stack<THING>::top() const 
{
  return ThePointer->thething ;
}