This file is indexed.

/usr/lib/ruby/vendor_ruby/Ice/Locator.rb is in ruby-zeroc-ice 3.5.1-6.4ubuntu1.

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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
# **********************************************************************
#
# Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************
#
# Ice version 3.5.1
#
# <auto-generated>
#
# Generated from file `Locator.ice'
#
# Warning: do not edit this file.
#
# </auto-generated>
#

require 'Ice'
require 'Ice/Identity.rb'
require 'Ice/ProcessF.rb'

module Ice

    if not defined?(::Ice::AdapterNotFoundException)
        class AdapterNotFoundException < Ice::UserException
            def initialize
            end

            def to_s
                'Ice::AdapterNotFoundException'
            end
        end

        T_AdapterNotFoundException = ::Ice::__defineException('::Ice::AdapterNotFoundException', AdapterNotFoundException, false, nil, [])
        AdapterNotFoundException::ICE_TYPE = T_AdapterNotFoundException
    end

    if not defined?(::Ice::InvalidReplicaGroupIdException)
        class InvalidReplicaGroupIdException < Ice::UserException
            def initialize
            end

            def to_s
                'Ice::InvalidReplicaGroupIdException'
            end
        end

        T_InvalidReplicaGroupIdException = ::Ice::__defineException('::Ice::InvalidReplicaGroupIdException', InvalidReplicaGroupIdException, false, nil, [])
        InvalidReplicaGroupIdException::ICE_TYPE = T_InvalidReplicaGroupIdException
    end

    if not defined?(::Ice::AdapterAlreadyActiveException)
        class AdapterAlreadyActiveException < Ice::UserException
            def initialize
            end

            def to_s
                'Ice::AdapterAlreadyActiveException'
            end
        end

        T_AdapterAlreadyActiveException = ::Ice::__defineException('::Ice::AdapterAlreadyActiveException', AdapterAlreadyActiveException, false, nil, [])
        AdapterAlreadyActiveException::ICE_TYPE = T_AdapterAlreadyActiveException
    end

    if not defined?(::Ice::ObjectNotFoundException)
        class ObjectNotFoundException < Ice::UserException
            def initialize
            end

            def to_s
                'Ice::ObjectNotFoundException'
            end
        end

        T_ObjectNotFoundException = ::Ice::__defineException('::Ice::ObjectNotFoundException', ObjectNotFoundException, false, nil, [])
        ObjectNotFoundException::ICE_TYPE = T_ObjectNotFoundException
    end

    if not defined?(::Ice::ServerNotFoundException)
        class ServerNotFoundException < Ice::UserException
            def initialize
            end

            def to_s
                'Ice::ServerNotFoundException'
            end
        end

        T_ServerNotFoundException = ::Ice::__defineException('::Ice::ServerNotFoundException', ServerNotFoundException, false, nil, [])
        ServerNotFoundException::ICE_TYPE = T_ServerNotFoundException
    end

    if not defined?(::Ice::T_LocatorRegistry)
        T_LocatorRegistry = ::Ice::__declareClass('::Ice::LocatorRegistry')
        T_LocatorRegistryPrx = ::Ice::__declareProxy('::Ice::LocatorRegistry')
    end

    if not defined?(::Ice::Locator_mixin)
        module Locator_mixin
            include ::Ice::Object_mixin

            def ice_ids(current=nil)
                ['::Ice::Locator', '::Ice::Object']
            end

            def ice_id(current=nil)
                '::Ice::Locator'
            end

            #
            # Operation signatures.
            #
            # def findObjectById(id, current=nil)
            # def findAdapterById(id, current=nil)
            # def getRegistry(current=nil)

            def inspect
                ::Ice::__stringify(self, T_Locator)
            end
        end
        class Locator
            include Locator_mixin
            
            def Locator.ice_staticId()
                '::Ice::Locator'
            end
        end
        module LocatorPrx_mixin

            def findObjectById(id, _ctx=nil)
                Locator_mixin::OP_findObjectById.invoke(self, [id], _ctx)
            end

            def findAdapterById(id, _ctx=nil)
                Locator_mixin::OP_findAdapterById.invoke(self, [id], _ctx)
            end

            def getRegistry(_ctx=nil)
                Locator_mixin::OP_getRegistry.invoke(self, [], _ctx)
            end
        end
        class LocatorPrx < ::Ice::ObjectPrx
            include LocatorPrx_mixin

            def LocatorPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
                ice_checkedCast(proxy, '::Ice::Locator', facetOrCtx, _ctx)
            end

            def LocatorPrx.uncheckedCast(proxy, facet=nil)
                ice_uncheckedCast(proxy, facet)
            end
        end

        if not defined?(::Ice::T_Locator)
            T_Locator = ::Ice::__declareClass('::Ice::Locator')
            T_LocatorPrx = ::Ice::__declareProxy('::Ice::Locator')
        end

        T_Locator.defineClass(Locator, -1, true, false, nil, [], [])
        Locator_mixin::ICE_TYPE = T_Locator

        T_LocatorPrx.defineProxy(LocatorPrx, T_Locator)
        LocatorPrx::ICE_TYPE = T_LocatorPrx

        Locator_mixin::OP_findObjectById = ::Ice::__defineOperation('findObjectById', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, true, nil, [[::Ice::T_Identity, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [::Ice::T_ObjectNotFoundException])
        Locator_mixin::OP_findAdapterById = ::Ice::__defineOperation('findAdapterById', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, true, nil, [[::Ice::T_string, false, 0]], [], [::Ice::T_ObjectPrx, false, 0], [::Ice::T_AdapterNotFoundException])
        Locator_mixin::OP_getRegistry = ::Ice::__defineOperation('getRegistry', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Nonmutating, false, nil, [], [], [::Ice::T_LocatorRegistryPrx, false, 0], [])
    end

    if not defined?(::Ice::LocatorRegistry_mixin)
        module LocatorRegistry_mixin
            include ::Ice::Object_mixin

            def ice_ids(current=nil)
                ['::Ice::LocatorRegistry', '::Ice::Object']
            end

            def ice_id(current=nil)
                '::Ice::LocatorRegistry'
            end

            #
            # Operation signatures.
            #
            # def setAdapterDirectProxy(id, proxy, current=nil)
            # def setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, current=nil)
            # def setServerProcessProxy(id, proxy, current=nil)

            def inspect
                ::Ice::__stringify(self, T_LocatorRegistry)
            end
        end
        class LocatorRegistry
            include LocatorRegistry_mixin
            
            def LocatorRegistry.ice_staticId()
                '::Ice::LocatorRegistry'
            end
        end
        module LocatorRegistryPrx_mixin

            def setAdapterDirectProxy(id, proxy, _ctx=nil)
                LocatorRegistry_mixin::OP_setAdapterDirectProxy.invoke(self, [id, proxy], _ctx)
            end

            def setReplicatedAdapterDirectProxy(adapterId, replicaGroupId, p, _ctx=nil)
                LocatorRegistry_mixin::OP_setReplicatedAdapterDirectProxy.invoke(self, [adapterId, replicaGroupId, p], _ctx)
            end

            def setServerProcessProxy(id, proxy, _ctx=nil)
                LocatorRegistry_mixin::OP_setServerProcessProxy.invoke(self, [id, proxy], _ctx)
            end
        end
        class LocatorRegistryPrx < ::Ice::ObjectPrx
            include LocatorRegistryPrx_mixin

            def LocatorRegistryPrx.checkedCast(proxy, facetOrCtx=nil, _ctx=nil)
                ice_checkedCast(proxy, '::Ice::LocatorRegistry', facetOrCtx, _ctx)
            end

            def LocatorRegistryPrx.uncheckedCast(proxy, facet=nil)
                ice_uncheckedCast(proxy, facet)
            end
        end

        if not defined?(::Ice::T_LocatorRegistry)
            T_LocatorRegistry = ::Ice::__declareClass('::Ice::LocatorRegistry')
            T_LocatorRegistryPrx = ::Ice::__declareProxy('::Ice::LocatorRegistry')
        end

        T_LocatorRegistry.defineClass(LocatorRegistry, -1, true, false, nil, [], [])
        LocatorRegistry_mixin::ICE_TYPE = T_LocatorRegistry

        T_LocatorRegistryPrx.defineProxy(LocatorRegistryPrx, T_LocatorRegistry)
        LocatorRegistryPrx::ICE_TYPE = T_LocatorRegistryPrx

        LocatorRegistry_mixin::OP_setAdapterDirectProxy = ::Ice::__defineOperation('setAdapterDirectProxy', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_string, false, 0], [::Ice::T_ObjectPrx, false, 0]], [], nil, [::Ice::T_AdapterNotFoundException, ::Ice::T_AdapterAlreadyActiveException])
        LocatorRegistry_mixin::OP_setReplicatedAdapterDirectProxy = ::Ice::__defineOperation('setReplicatedAdapterDirectProxy', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_string, false, 0], [::Ice::T_string, false, 0], [::Ice::T_ObjectPrx, false, 0]], [], nil, [::Ice::T_AdapterNotFoundException, ::Ice::T_AdapterAlreadyActiveException, ::Ice::T_InvalidReplicaGroupIdException])
        LocatorRegistry_mixin::OP_setServerProcessProxy = ::Ice::__defineOperation('setServerProcessProxy', ::Ice::OperationMode::Idempotent, ::Ice::OperationMode::Idempotent, true, nil, [[::Ice::T_string, false, 0], [::Ice::T_ProcessPrx, false, 0]], [], nil, [::Ice::T_ServerNotFoundException])
    end
end