This file is indexed.

/usr/include/OpenSP/List.cxx is in libosp-dev 1.5.2-13ubuntu2.

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
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.

#ifndef List_DEF_INCLUDED
#define List_DEF_INCLUDED 1

#include "IListIter.h"

#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif

template<class T>
void List<T>::remove(const T &value)
{
  for (IListIter<ListItem<T> > iter(list_); !iter.done(); iter.next())
    if (iter.cur()->value == value) {
      list_.remove(iter.cur());
      delete iter.cur();
      break;
    }
}

template<class T>
T List<T>::get()
{
  ListItem<T> *p = list_.get();
  T temp(p->value);
  delete p;
  return temp;
}

#ifdef SP_NAMESPACE
}
#endif

#endif /* not List_DEF_INCLUDED */