Did I find the right examples for you? yes no

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

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/interactive.py   plexnet(Download)
        self.update_options(argtypes, kwds)
        # for t.view() to work just after construction
        graph = self.context.buildflowgraph(entry_point)
        self.context._prebuilt_graphs[entry_point] = graph
 

src/s/y/Sypy-HEAD/translator/interactive.py   Sypy(Download)
        self.update_options(argtypes, kwds)
        # for t.view() to work just after construction
        graph = self.context.buildflowgraph(entry_point)
        self.context._prebuilt_graphs[entry_point] = graph
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/backendopt/test/test_innerloop.py   plexnet(Download)
        return y
    t = TranslationContext()
    graph = t.buildflowgraph(snippet_fn)
    if option.view:
        t.view()
        return y
    t = TranslationContext()
    graph = t.buildflowgraph(snippet_fn)
    if option.view:
        t.view()
        return z
    t = TranslationContext()
    graph = t.buildflowgraph(snippet_fn)
    if option.view:
        t.view()

src/s/y/Sypy-HEAD/translator/backendopt/test/test_innerloop.py   Sypy(Download)
        return y
    t = TranslationContext()
    graph = t.buildflowgraph(snippet_fn)
    if option.view:
        t.view()
        return y
    t = TranslationContext()
    graph = t.buildflowgraph(snippet_fn)
    if option.view:
        t.view()
        return z
    t = TranslationContext()
    graph = t.buildflowgraph(snippet_fn)
    if option.view:
        t.view()

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/c/test/test_refcount.py   plexnet(Download)
    # XXX obscure: remove the first empty block in the graph of 'g'
    t = TranslationContext()
    graph = t.buildflowgraph(g)
    assert graph.startblock.operations == []
    graph.startblock = graph.startblock.exits[0].target

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/test/test_simplify.py   plexnet(Download)
    def check(self, f1, expected):
        t = TranslationContext(list_comprehension_operations=True)
        graph = t.buildflowgraph(f1)
        if conftest.option.view:
            graph.show()

src/s/y/Sypy-HEAD/translator/test/test_translator.py   Sypy(Download)
def test_example():
    t = TranslationContext(simplifying=True)
    t.buildflowgraph(example)
    # this specific example triggered a bug in simplify.py
    #t.view()

src/s/y/Sypy-HEAD/translator/test/test_simplify.py   Sypy(Download)
    def check(self, f1, expected):
        t = TranslationContext(list_comprehension_operations=True)
        graph = t.buildflowgraph(f1)
        if conftest.option.view:
            graph.show()

src/s/y/Sypy-HEAD/translator/c/test/test_refcount.py   Sypy(Download)
    # XXX obscure: remove the first empty block in the graph of 'g'
    t = TranslationContext()
    graph = t.buildflowgraph(g)
    assert graph.startblock.operations == []
    graph.startblock = graph.startblock.exits[0].target

src/s/y/Sypy-HEAD/translator/backendopt/test/test_support.py   Sypy(Download)
                return x-2
    t = TranslationContext()
    g = t.buildflowgraph(f)
    reach = compute_reachability(g)
    assert len(reach[g.startblock]) == 7

  1 | 2  Next