Did I find the right examples for you? yes no

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

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/c/test/test_standalone.py   plexnet(Download)
        cbuilder.generate_source()
        cbuilder.compile()
        data = cbuilder.cmdexec('hi there')
        assert data.startswith('''hello world\nargument count: 2\n   'hi'\n   'there'\n''')
 
        cbuilder.generate_source()
        cbuilder.compile()
        data = cbuilder.cmdexec('hi there')
        assert data.startswith('''hello simpler world\n'''
                               '''argument count: 2\n'''
        os.environ['_INSTRUMENT_COUNTERS'] = str(counters_fname)
        try:
            data = cbuilder.cmdexec()
        finally:
            del os.environ['_INSTRUMENT_COUNTERS']
        cbuilder.generate_source()
        cbuilder.compile()
        data = cbuilder.cmdexec('hi there')
        assert map(float, data.split()) == [0.0, 0.0]
 
        cbuilder.generate_source()
        cbuilder.compile()
        data = cbuilder.cmdexec('hi there')
        assert data.strip() == "OK"
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llvm/test/test_zrpy_gc.py   plexnet(Download)
    cbuilder.compile()
    #
    data = cbuilder.cmdexec('')
    return data.splitlines()[-1].strip()
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/stackless/test/test_transform.py   plexnet(Download)
        t.view()
    cbuilder.compile()
    res = cbuilder.cmdexec('')
    return int(res.strip())
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/c/test/test_stackless.py   plexnet(Download)
        cbuilder.generate_source()
        cbuilder.compile()
        res = cbuilder.cmdexec('')
        return int(res.strip())
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/test/support.py   plexnet(Download)
        exe_name = cbuilder.compile()
        log('---------- Test starting ----------')
        stdout = cbuilder.cmdexec(" ".join([str(arg) for arg in args]))
        res = int(stdout)
        log('---------- Test done (%d) ----------' % (res,))

src/s/y/Sypy-HEAD/jit/backend/llvm/test/test_zrpy_gc.py   Sypy(Download)
    cbuilder.compile()
    #
    data = cbuilder.cmdexec('')
    return data.splitlines()[-1].strip()
 

src/s/y/Sypy-HEAD/jit/backend/test/support.py   Sypy(Download)
        exe_name = cbuilder.compile()
        debug_print('---------- Test starting ----------')
        stdout = cbuilder.cmdexec(" ".join([str(arg) for arg in args]))
        res = int(stdout)
        debug_print('---------- Test done (%d) ----------' % (res,))

src/s/y/Sypy-HEAD/translator/c/test/test_standalone.py   Sypy(Download)
        os.environ['_INSTRUMENT_COUNTERS'] = str(counters_fname)
        try:
            data = cbuilder.cmdexec()
        finally:
            del os.environ['_INSTRUMENT_COUNTERS']

src/s/y/Sypy-HEAD/module/pyexpat/test/test_build.py   Sypy(Download)
    builder.generate_source()
    builder.compile()
    data = builder.cmdexec()
    assert data == pyexpat.ErrorString(3)
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/module/pyexpat/test/test_build.py   plexnet(Download)
    builder.generate_source()
    builder.compile()
    data = builder.cmdexec()
    assert data == pyexpat.ErrorString(3)