Did I find the right examples for you? yes no

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

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/pyjitpl.py   plexnet(Download)
    def opimpl_ptr_eq(self, box1, box2):
        self.execute(rop.OOIS, box1, box2)
 
    @arguments("box", "box")
    def opimpl_ptr_ne(self, box1, box2):
        if standard_box is box:
            return False
        eqbox = self.metainterp.execute_and_record(rop.OOIS, None,
                                                   box, standard_box)
        eqbox = self.implement_guard_value(pc, eqbox)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/test/runner_test.py   plexnet(Download)
    def test_ooops(self):
        u1_box, U_box = self.alloc_instance(self.U)
        u2_box, U_box = self.alloc_instance(self.U)
        r = self.execute_operation(rop.OOIS, [u1_box,
                                              u1_box.clonebox()], 'int')
        assert r.value == 1
        r = self.execute_operation(rop.OOISNOT, [u2_box,
                                                 u2_box.clonebox()], 'int')
        assert r.value == 0
        r = self.execute_operation(rop.OOIS, [u1_box, u2_box], 'int')
        #
        null_box = self.null_instance()
        r = self.execute_operation(rop.OOIS, [null_box,
                                              null_box.clonebox()], 'int')
        assert r.value == 1
        r = self.execute_operation(rop.OOIS, [u1_box, null_box], 'int')
        assert r.value == 0
        r = self.execute_operation(rop.OOIS, [null_box, u2_box], 'int')

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/test/test_random.py   plexnet(Download)
                                isinstance(v2, ConstPtr)):
                if r.random() < 0.5:
                    v = self.do(rop.OOIS, [v, v2])
                else:
                    v = self.do(rop.OOISNOT, [v, v2])