Did I find the right examples for you? yes no

All Samples(18)  |  Call(18)  |  Derive(0)  |  Import(0)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llgraph/llimpl.py   plexnet(Download)
    def op_subclassof(self, _, obj1, obj2):
        cls1 = ootype.cast_from_object(ootype.Class, obj1)
        cls2 = ootype.cast_from_object(ootype.Class, obj2)
        return ootype.subclassof(cls1, cls2)
 
    def _cast_exception(self, exception):
        return ootype.cast_from_object(ootype.Class, exception)
 
    def _issubclass(self, cls1, cls2):
        return ootype.subclassof(cls1, cls2)

src/s/y/Sypy-HEAD/jit/backend/llgraph/llimpl.py   Sypy(Download)
    def op_subclassof(self, _, obj1, obj2):
        cls1 = ootype.cast_from_object(ootype.Class, obj1)
        cls2 = ootype.cast_from_object(ootype.Class, obj2)
        return ootype.subclassof(cls1, cls2)
 
    def _cast_exception(self, exception):
        return ootype.cast_from_object(ootype.Class, exception)
 
    def _issubclass(self, cls1, cls2):
        return ootype.subclassof(cls1, cls2)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/typesystem.py   plexnet(Download)
    def subclassOf(self, cpu, clsbox1, clsbox2):
        cls1 = clsbox1.getref(ootype.Class)
        cls2 = clsbox2.getref(ootype.Class)
        return ootype.subclassof(cls1, cls2)
 

src/s/y/Sypy-HEAD/jit/metainterp/typesystem.py   Sypy(Download)
    def subclassOf(self, cpu, clsbox1, clsbox2):
        cls1 = clsbox1.getref(ootype.Class)
        cls2 = clsbox2.getref(ootype.Class)
        return ootype.subclassof(cls1, cls2)
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/ootypesystem/ooopimpl.py   plexnet(Download)
def op_subclassof(class1, class2):
    return ootype.subclassof(class1, class2)
 
def op_oogetfield(inst, name):
    checkinst(inst)

src/s/y/Sypy-HEAD/rpython/ootypesystem/ooopimpl.py   Sypy(Download)
def op_subclassof(class1, class2):
    return ootype.subclassof(class1, class2)
 
def op_oogetfield(inst, name):
    checkinst(inst)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/ootypesystem/rbuiltin.py   plexnet(Download)
def ll_isinstance(inst, class_):
    c1 = ootype.classof(inst)
    return ootype.subclassof(c1, class_)
 
def rtype_instantiate(hop):

src/s/y/Sypy-HEAD/rpython/ootypesystem/rbuiltin.py   Sypy(Download)
def ll_isinstance(inst, class_):
    c1 = ootype.classof(inst)
    return ootype.subclassof(c1, class_)
 
def rtype_instantiate(hop):

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/cli/method.py   plexnet(Download)
            cls = classes[0]
            for cls2 in classes[1:]:
                if ootype.subclassof(cls, cls2):
                    cls = cls2
                else:
                    assert ootype.subclassof(cls2, cls)

src/s/y/Sypy-HEAD/jit/backend/cli/method.py   Sypy(Download)
            cls = classes[0]
            for cls2 in classes[1:]:
                if ootype.subclassof(cls, cls2):
                    cls = cls2
                else:
                    assert ootype.subclassof(cls2, cls)

  1 | 2  Next