Searched refs:id2ref (Results 1 – 12 of 12) sorted by relevance
6 r = ObjectSpace._id2ref(s.object_id)12 r = ObjectSpace._id2ref(f.object_id)18 r = ObjectSpace._id2ref(s.object_id)23 proc { ObjectSpace._id2ref(1 << 60) }.should raise_error(RangeError)
58 self.id2ref = WeakValueDictionary()79 server.id2ref[oid] = obj88 return server.id2ref.get(oid) or server.id2obj[oid]
26 assert_equal("Hello", ObjectSpace._id2ref(data_id))
11 o = ObjectSpace._id2ref(obj.object_id);\
372 ObjectSpace._id2ref(ref)
3192 id2ref(VALUE obj, VALUE objid) in id2ref() function10070 rb_define_module_function(rb_mObjSpace, "_id2ref", id2ref, 1); in Init_GC()
13721 * gc.c (id2ref): should use NUM2ULONG()14131 * gc.c (id2ref): sometimes confused symbol and reference.14964 * gc.c (id2ref): should handle Symbol too.14966 * gc.c (id2ref): should print original ptr value21211 * gc.c (id2ref): modified to support performance patch.
2302 * gc.c (id2ref): fix for working fine with Bignum object id on x649766 * gc.c (id2ref, rb_obj_id): add flonum Float support.21515 * gc.c (is_id_value, is_live_object): extract from id2ref().21842 * gc.c (id2ref): objects which are unmarked but not in sweep_slots21857 * gc.c (id2ref): unmarked object is already dead while lazy
10676 * gc.c (id2ref): prohibit from accessing internal objects.
60254 * gc.c (id2ref): skip ICLASS.60263 * gc.c (id2ref): T_VALUES is less than T_BLOCK. [ruby-dev:31911]71714 * gc.c (id2ref): fix symbol test.71784 (id2ref): avoid collision between symbols and objects.75871 * gc.c (id2ref): must not assign pointers to long int. use92457 * gc.c (id2ref): recycle check should be done by klass == 0.