This file is indexed.

/usr/include/scilab/Checkers.hxx is in scilab-include 6.0.1-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
 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
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
/*
 *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 *  Copyright (C) 2014-2015 - Scilab Enterprises - Calixte DENIZET
 *
 * Copyright (C) 2012 - 2016 - Scilab Enterprises
 *
 * This file is hereby licensed under the terms of the GNU GPL v2.0,
 * pursuant to article 5.3.4 of the CeCILL v.2.1.
 * This file was originally licensed under the terms of the CeCILL v2.1,
 * and continues to be available under such terms.
 * For more information, see the COPYING file which you should have received
 * along with this program.
 *
 */

// This file has been generated, so don't modify it by hand !!

#ifndef __CHECKERS_HXX__
#define __CHECKERS_HXX__

#include <cstddef>
#include <functional>
#include <string>
#include <unordered_map>
#include <vector>

#include "TIType.hxx"
#include "tools.hxx"

namespace analysis
{
class Checkers
{
    struct __NName
    {
        const unsigned short nargs;
        const std::wstring name;

        //__NName(unsigned short n, const char * _name) : nargs(n), name(_name) { }
        __NName(unsigned short n, const std::wstring & _name) : nargs(n), name(_name) { }
        inline bool operator==(const __NName & R) const
        {
            return nargs == R.nargs && name == R.name;
        }
    };

    struct __Infos
    {
        const unsigned short pos;
        const bool elementwise;
        const bool notconst;
        const bool jitted;

        __Infos(const unsigned short _pos, const bool _ew, const bool _nc, const bool _j) : pos(_pos), elementwise(_ew), notconst(_nc), jitted(_j) { }
    };

    struct __Hasher
    {
        inline std::size_t operator()(const __NName & nn) const
        {
            return tools::hash_combine(std::hash<std::wstring>()(nn.name), nn.nargs);
        }
    };

    typedef std::unordered_map<__NName, __Infos, __Hasher> CheckersMap;
    static CheckersMap map;
    static TIType (*ARGS0[6])(GVN &);
    static TIType (*ARGS1[54])(GVN &, const TIType &);
    static TIType (*ARGS2[10])(GVN &, const TIType &, const TIType &);
    static TIType (*ARGS3[1])(GVN &, const TIType &, const TIType &, const TIType &);

public:

    static TIType check(GVN & gvn, const std::wstring & name, const std::vector<TIType> & args);
    static bool isElementWise(const std::wstring & name, unsigned short nargs = 1);
    static bool isJitted(const std::wstring & name, unsigned short nargs = 1);
    static bool isConst(const std::wstring & name, unsigned short nargs = 1);

private:

    static CheckersMap initMap();

public:

    static TIType check_____dotpower____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_rand(GVN & gvn);
    static TIType check_rand(GVN & gvn, const TIType & in0);
    static TIType check_rand(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_____ge____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_____or____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_____power____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_____not____(GVN & gvn, const TIType & in0);
    static TIType check_isreal(GVN & gvn, const TIType & in0);
    static TIType check_isreal(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_____transp____(GVN & gvn, const TIType & in0);
    static TIType check_abs(GVN & gvn, const TIType & in0);
    static TIType check_cosh(GVN & gvn, const TIType & in0);
    static TIType check_typeof(GVN & gvn, const TIType & in0);
    static TIType check_int16(GVN & gvn, const TIType & in0);
    static TIType check_iconvert(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_gettext(GVN & gvn, const TIType & in0);
    static TIType check_gettext(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_____neq____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_____and____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_tan(GVN & gvn, const TIType & in0);
    static TIType check_cumsum(GVN & gvn, const TIType & in0);
    static TIType check_size(GVN & gvn, const TIType & in0);
    static TIType check_size(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_____andand____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_asin(GVN & gvn, const TIType & in0);
    static TIType check_____dottransp____(GVN & gvn, const TIType & in0);
    static TIType check_or(GVN & gvn, const TIType & in0);
    static TIType check_or(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_____eq____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_log(GVN & gvn, const TIType & in0);
    static TIType check_floor(GVN & gvn, const TIType & in0);
    static TIType check_int(GVN & gvn, const TIType & in0);
    static TIType check_fix(GVN & gvn, const TIType & in0);
    static TIType check_sqrt(GVN & gvn, const TIType & in0);
    static TIType check_uint16(GVN & gvn, const TIType & in0);
    static TIType check_____le____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_zeros(GVN & gvn);
    static TIType check_zeros(GVN & gvn, const TIType & in0);
    static TIType check_zeros(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_ls(GVN & gvn);
    static TIType check_ls(GVN & gvn, const TIType & in0);
    static TIType check_max(GVN & gvn, const TIType & in0);
    static TIType check_uint32(GVN & gvn, const TIType & in0);
    static TIType check_int64(GVN & gvn, const TIType & in0);
    static TIType check_prod(GVN & gvn, const TIType & in0);
    static TIType check_type(GVN & gvn, const TIType & in0);
    static TIType check_sin(GVN & gvn, const TIType & in0);
    static TIType check_round(GVN & gvn, const TIType & in0);
    static TIType check_____krontimes____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_int32(GVN & gvn, const TIType & in0);
    static TIType check_____gt____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_inttype(GVN & gvn, const TIType & in0);
    static TIType check_exp(GVN & gvn, const TIType & in0);
    static TIType check_atan(GVN & gvn, const TIType & in0);
    static TIType check_____dotrdiv____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_imag(GVN & gvn, const TIType & in0);
    static TIType check_uint8(GVN & gvn, const TIType & in0);
    static TIType check_ceil(GVN & gvn, const TIType & in0);
    static TIType check_uint64(GVN & gvn, const TIType & in0);
    static TIType check_____lt____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_sinm(GVN & gvn, const TIType & in0);
    static TIType check_isinf(GVN & gvn, const TIType & in0);
    static TIType check_____sub____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_sinh(GVN & gvn, const TIType & in0);
    static TIType check_toc(GVN & gvn);
    static TIType check_isscalar(GVN & gvn, const TIType & in0);
    static TIType check_sign(GVN & gvn, const TIType & in0);
    static TIType check_int8(GVN & gvn, const TIType & in0);
    static TIType check_____rdivide____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_matrix(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_matrix(GVN & gvn, const TIType & in0, const TIType & in1, const TIType & in2);
    static TIType check_____oror____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_cos(GVN & gvn, const TIType & in0);
    static TIType check_and(GVN & gvn, const TIType & in0);
    static TIType check_and(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_____unaryminus____(GVN & gvn, const TIType & in0);
    static TIType check_tanh(GVN & gvn, const TIType & in0);
    static TIType check_____add____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_isnan(GVN & gvn, const TIType & in0);
    static TIType check_imult(GVN & gvn, const TIType & in0);
    static TIType check_____times____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_argn(GVN & gvn);
    static TIType check_argn(GVN & gvn, const TIType & in0);
    static TIType check_cumprod(GVN & gvn, const TIType & in0);
    static TIType check_erf(GVN & gvn, const TIType & in0);
    static TIType check_ones(GVN & gvn);
    static TIType check_ones(GVN & gvn, const TIType & in0);
    static TIType check_ones(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_erfc(GVN & gvn, const TIType & in0);
    static TIType check_min(GVN & gvn, const TIType & in0);
    static TIType check_sum(GVN & gvn, const TIType & in0);
    static TIType check_____ldivide____(GVN & gvn, const TIType & in0, const TIType & in1);
    static TIType check_acos(GVN & gvn, const TIType & in0);
    static TIType check_____dottimes____(GVN & gvn, const TIType & in0, const TIType & in1);
};

} // namespace analysis

#endif // __CHECKERS_HXX__