MCPcopy Index your code
hub / github.com/nodejs/node / FlattenRunnables

Function FlattenRunnables

deps/v8/tools/run_perf.py:729–741  ·  view source on GitHub ↗

Generator that traverses the tree structure and iterates over all runnables.

(node, node_cb)

Source from the content-addressed store, hash-verified

727
728
729def FlattenRunnables(node, node_cb):
730 """Generator that traverses the tree structure and iterates over all
731 runnables.
732 """
733 node_cb(node)
734 if isinstance(node, RunnableConfig):
735 yield node
736 elif isinstance(node, Node):
737 for child in node._children:
738 for result in FlattenRunnables(child, node_cb):
739 yield result
740 else: # pragma: no cover
741 raise Exception('Invalid suite configuration.')
742
743
744def find_build_directory(base_path, arch):

Callers 1

MainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…