This file is indexed.

/usr/include/globjects/LocationIdentity.h is in libglobjects-dev 1.0.0-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
48
49
50
51
52
53
54
55
56
57
58
59
60
#pragma once

#include <string>
#include <functional>

#include <glbinding/gl/types.h>

#include <globjects/globjects_api.h>


namespace globjects 
{


class GLOBJECTS_API LocationIdentity
{
public:
    LocationIdentity();
    LocationIdentity(gl::GLint location);
    LocationIdentity(const std::string & name);

    bool isLocation() const;
    bool isName() const;

    gl::GLint location() const;
    const std::string & name() const;

    bool operator==(const LocationIdentity & identity) const;
    bool operator!=(const LocationIdentity & identity) const;

    bool operator<(const LocationIdentity & identity) const;

    std::size_t hash() const;

protected:
    bool m_invalid;

    gl::GLint m_location;

    std::string m_name;
    bool m_hasName;
};

} // namespace globjects


namespace std 
{

template <>
struct hash<globjects::LocationIdentity>
{
    std::size_t operator()(const globjects::LocationIdentity & identity) const
    {
        return identity.hash();
    }
};


} // namespace globjects