Did I find the right examples for you? yes no

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

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/cli/runner.py   plexnet(Download)
            return dotnet.cast_from_native_object(exc_value)
        else:
            return ootype.NULL
 
    def clear_exception(self):

src/s/y/Sypy-HEAD/jit/backend/cli/runner.py   Sypy(Download)
            return dotnet.cast_from_native_object(exc_value)
        else:
            return ootype.NULL
 
    def clear_exception(self):

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llgraph/runner.py   plexnet(Download)
            return ootype.cast_to_object(e)
        else:
            return ootype.NULL
 
    def get_exc_value(self):
        if llimpl._last_exception:
            earg = llimpl._last_exception.args[1]
            return ootype.cast_to_object(earg)
        else:
            return ootype.NULL

src/s/y/Sypy-HEAD/jit/backend/llgraph/runner.py   Sypy(Download)
            return ootype.cast_to_object(e)
        else:
            return ootype.NULL
 
    def get_exc_value(self):
        if llimpl._last_exception:
            earg = llimpl._last_exception.args[1]
            return ootype.cast_to_object(earg)
        else:
            return ootype.NULL

src/s/y/Sypy-HEAD/jit/metainterp/history.py   Sypy(Download)
class ConstObj(Const):
    type = REF
    value = ootype.NULL
    _attrs_ = ('value',)
 
    def forget_value(self):
        self.value = ootype.NULL
 
    def clonebox(self):
        return BoxObj(self.value)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/history.py   plexnet(Download)
class ConstObj(Const):
    type = REF
    value = ootype.NULL
    _attrs_ = ('value',)
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/test/test_rclass.py   plexnet(Download)
                return obj
            else:
                return ootype.NULL
        res = self.interpret(fn_mix_null, [False])
        assert res is ootype.NULL

src/s/y/Sypy-HEAD/rpython/test/test_rclass.py   Sypy(Download)
                return obj
            else:
                return ootype.NULL
        res = self.interpret(fn_mix_null, [False])
        assert res is ootype.NULL

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/test/runner_test.py   plexnet(Download)
    def null_instance(self):
        return BoxObj(ootype.NULL)
 
    def alloc_array_of(self, ITEM, length):
        py.test.skip("implement me")

src/s/y/Sypy-HEAD/jit/metainterp/test/test_typesystem.py   Sypy(Download)
    def null_ref(self):
        return ootype.NULL
 

  1 | 2  Next