Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.145
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
share /
ri /
system /
ObjectSpace /
Delete
Unzip
Name
Size
Permission
Date
Action
InternalObjectWrapper
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
WeakMap
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
allocation_class_path-c.ri
809
B
-rw-r--r--
2026-04-07 17:42
allocation_generation-c.ri
871
B
-rw-r--r--
2026-04-07 17:42
allocation_method_id-c.ri
862
B
-rw-r--r--
2026-04-07 17:42
allocation_sourcefile-c.ri
533
B
-rw-r--r--
2026-04-07 17:42
allocation_sourceline-c.ri
545
B
-rw-r--r--
2026-04-07 17:42
cdesc-ObjectSpace.ri
3.16
KB
-rw-r--r--
2026-04-07 17:42
count_imemo_objects-c.ri
1.13
KB
-rw-r--r--
2026-04-07 17:42
count_nodes-c.ri
1020
B
-rw-r--r--
2026-04-07 17:42
count_objects-c.ri
1.28
KB
-rw-r--r--
2026-04-07 17:42
count_objects_size-c.ri
1.09
KB
-rw-r--r--
2026-04-07 17:42
count_symbols-c.ri
1.33
KB
-rw-r--r--
2026-04-07 17:42
count_tdata_objects-c.ri
1.54
KB
-rw-r--r--
2026-04-07 17:42
define_finalizer-c.ri
2.49
KB
-rw-r--r--
2026-04-07 17:42
dump-i.ri
834
B
-rw-r--r--
2026-04-07 17:42
dump_all-i.ri
2.3
KB
-rw-r--r--
2026-04-07 17:42
dump_shapes-i.ri
1.2
KB
-rw-r--r--
2026-04-07 17:42
each_object-c.ri
1.5
KB
-rw-r--r--
2026-04-07 17:42
garbage_collect-c.ri
309
B
-rw-r--r--
2026-04-07 17:42
garbage_collect-i.ri
308
B
-rw-r--r--
2026-04-07 17:42
internal_class_of-c.ri
679
B
-rw-r--r--
2026-04-07 17:42
internal_super_of-c.ri
703
B
-rw-r--r--
2026-04-07 17:42
memsize_of-c.ri
761
B
-rw-r--r--
2026-04-07 17:42
memsize_of_all-c.ri
1.21
KB
-rw-r--r--
2026-04-07 17:42
reachable_objects_from-c.ri
1.99
KB
-rw-r--r--
2026-04-07 17:42
reachable_objects_from_root-c.ri
535
B
-rw-r--r--
2026-04-07 17:42
trace_object_allocations-c.ri
1.13
KB
-rw-r--r--
2026-04-07 17:42
trace_object_allocations_clear-c.ri
413
B
-rw-r--r--
2026-04-07 17:42
trace_object_allocations_debug_start-c.ri
315
B
-rw-r--r--
2026-04-07 17:42
trace_object_allocations_start-c.ri
412
B
-rw-r--r--
2026-04-07 17:42
trace_object_allocations_stop-c.ri
598
B
-rw-r--r--
2026-04-07 17:42
undefine_finalizer-c.ri
374
B
-rw-r--r--
2026-04-07 17:42
Save
Rename
U:RDoc::AnyMethod[iI"define_finalizer:ETI""ObjectSpace::define_finalizer;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"EAdds <i>aProc</i> as a finalizer, to be called after <i>obj</i> ;TI"Cwas destroyed. The object ID of the <i>obj</i> will be passed ;TI"Das an argument to <i>aProc</i>. If <i>aProc</i> is a lambda or ;TI"?method, make sure it can be called with a single argument.;To:RDoc::Markup::BlankLine o; ; [I":The return value is an array <code>[0, aProc]</code>.;T@o; ; [ I"JThe two recommended patterns are to either create the finaliser proc ;TI"Lin a non-instance method where it can safely capture the needed state, ;TI"Eor to use a custom callable object that stores the needed state ;TI"&explicitly as instance variables.;T@o:RDoc::Markup::Verbatim; [ I"class Foo ;TI"4 def initialize(data_needed_for_finalization) ;TI"g ObjectSpace.define_finalizer(self, self.class.create_finalizer(data_needed_for_finalization)) ;TI" end ;TI" ;TI"? def self.create_finalizer(data_needed_for_finalization) ;TI" proc { ;TI"= puts "finalizing #{data_needed_for_finalization}" ;TI" } ;TI" end ;TI" end ;TI" ;TI"class Bar ;TI" class Remover ;TI"6 def initialize(data_needed_for_finalization) ;TI"H @data_needed_for_finalization = data_needed_for_finalization ;TI" end ;TI" ;TI" def call(id) ;TI"> puts "finalizing #{@data_needed_for_finalization}" ;TI" end ;TI" end ;TI" ;TI"4 def initialize(data_needed_for_finalization) ;TI"W ObjectSpace.define_finalizer(self, Remover.new(data_needed_for_finalization)) ;TI" end ;TI" end ;T:@format0o; ; [ I"=Note that if your finalizer references the object to be ;TI"Efinalized it will never be run on GC, although it will still be ;TI"Crun at exit. You will get a warning if you capture the object ;TI"6to be finalized as the receiver of the finalizer.;T@o;; [ I"class CapturesSelf ;TI" def initialize(name) ;TI"3 ObjectSpace.define_finalizer(self, proc { ;TI"5 # this finalizer will only be run on exit ;TI"% puts "finalizing #{name}" ;TI" }) ;TI" end ;TI" end ;T; 0o; ; [I"NAlso note that finalization can be unpredictable and is never guaranteed ;TI"to be run except on exit.;T: @fileI" gc.c;T:0@omit_headings_from_table_of_contents_below0I"5ObjectSpace.define_finalizer(obj, aProc=proc()) ;T0[ I"(p1, p2 = v2);T@LFI"ObjectSpace;TcRDoc::NormalModule00