This file is indexed.

/usr/include/eigen2/Eigen/QtAlignedMalloc is in libeigen2-dev 2.0.17-1ubuntu1.

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
#ifndef EIGEN_QTMALLOC_MODULE_H
#define EIGEN_QTMALLOC_MODULE_H

#if (!EIGEN_MALLOC_ALREADY_ALIGNED)

#ifdef QVECTOR_H
#error You must include <Eigen/QtAlignedMalloc> before <QtCore/QVector>.
#endif                                           

#ifdef Q_DECL_IMPORT
  #define Q_DECL_IMPORT_ORIG Q_DECL_IMPORT
  #undef Q_DECL_IMPORT
  #define Q_DECL_IMPORT
#else
  #define Q_DECL_IMPORT
#endif

#include "Core"

#include <QtCore/QVector>

inline void *qMalloc(size_t size)
{
  return Eigen::ei_aligned_malloc(size);
}

inline void qFree(void *ptr)
{
  Eigen::ei_aligned_free(ptr);
}

inline void *qRealloc(void *ptr, size_t size)
{
  void* newPtr = Eigen::ei_aligned_malloc(size);
  memcpy(newPtr, ptr, size);
  Eigen::ei_aligned_free(ptr);
  return newPtr;
}

#endif

#ifdef Q_DECL_IMPORT_ORIG
  #define Q_DECL_IMPORT Q_DECL_IMPORT_ORIG
  #undef Q_DECL_IMPORT_ORIG
#else
  #undef Q_DECL_IMPORT
#endif

#endif // EIGEN_QTMALLOC_MODULE_H