This file is indexed.

/usr/include/loki/yasli/platform.h is in libloki-dev 0.1.7-3ubuntu1.

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
75
76
77
78
79
#ifndef YASLI_PLATFORM_H_
#define YASLI_PLATFORM_H_

// $Id: platform.h 754 2006-10-17 19:59:11Z syntheticpp $


// Most conservative

#define YASLI_HAS_EFFICIENT_MSIZE 0
#define YASLI_REALLOC_AFTER_NEW 0
#define YASLI_HAS_EXPAND 0

#include <malloc.h>

// Works on MSVC (all versions)
#if defined(_MSC_VER)

    #if defined(NDEBUG)//why only if ndebug?
        #undef YASLI_REALLOC_AFTER_NEW//this is not used: what is it's intention?
        #define YASLI_REALLOC_AFTER_NEW 1

        #undef YASLI_HAS_EFFICIENT_MSIZE 
        #define YASLI_HAS_EFFICIENT_MSIZE 1
    #endif

    // On Wintel platforms, uninit pointers can be copied
    #define YASLI_UNDEFINED_POINTERS_COPYABLE 1

    namespace yasli_platform 
    {
        inline size_t msize(const void *p) 
        { 
            return _msize(const_cast<void*>(p)); 
        }
    }
    
    #undef YASLI_HAS_EXPAND
    #define YASLI_HAS_EXPAND 1
    namespace yasli_platform 
    {
        inline void* expand(const void *p, size_t s) 
        { 
            return _expand (const_cast<void*>(p), s);
        }
    }
    
#elif defined(__MINGW32_VERSION) && !defined(RC_INVOKED)
//I havinclude Malloc.h in order to find whether this library is Mingw32 
//i.e. defines __MINGW32_VERSION, 
//hmm, I really need to sort this out in earlier versions
//it was _STRICT_ANSI_ not RC_INVOKED but I don't know the details
    #undef YASLI_HAS_EFFICIENT_MSIZE 
    #define YASLI_HAS_EFFICIENT_MSIZE 1
    namespace yasli_platform 
    {
        inline size_t msize(const void *p) 
        { 
            return _msize(const_cast<void*>(p)); 
        }
    }
    
    #undef YASLI_HAS_EXPAND 
    #define YASLI_HAS_EXPAND 1
    namespace yasli_platform 
    {
        inline void* expand(const void *p, size_t s) 
        { 
            return _expand (const_cast<void*>(p), s);
        }
    }
    
    #define YASLI_UNDEFINED_POINTERS_COPYABLE 1 //well it appears to compile ok anyway
#endif





#endif // YASLI_PLATFORM_H_