Home
last modified time | relevance | path

Searched refs:has_cycle (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/libs/graph/example/
Dcycle-file-dep2.cpp90 cycle_detector(bool& cycle) : has_cycle(cycle) {} in cycle_detector()
91 void back_edge(edge_t, const file_dep_graph&) { has_cycle = true; } in back_edge()
92 bool& has_cycle; member
95 bool has_cycle(const file_dep_graph& g) in has_cycle() function
97 bool has_cycle = false; in has_cycle() local
98 cycle_detector vis(has_cycle); in has_cycle()
100 return has_cycle; in has_cycle()
131 assert(has_cycle(g) == false); in main()
Dfile_dependencies.cpp81 cycle_detector(bool& has_cycle) : m_has_cycle(has_cycle) {} in cycle_detector()
175 bool has_cycle = false; in main() local
176 cycle_detector vis(has_cycle); in main()
178 cout << "The graph has a cycle? " << has_cycle << endl; in main()
191 bool has_cycle = false; in main() local
192 cycle_detector vis(has_cycle); in main()
194 cout << "The graph has a cycle now? " << has_cycle << endl; in main()
Dcycle-file-dep.cpp53 bool has_cycle(const file_dep_graph& g) in has_cycle() function
92 assert(has_cycle(g) == false); in main()
/third_party/python/Lib/test/
Dtest_generators.py411 has_cycle = None
417 nonlocal has_cycle
424 has_cycle = (exc is exc.__context__)
432 self.assertEqual(has_cycle, False)
/third_party/python/Lib/test/test_asyncio/
Dtest_tasks.py602 has_cycle = None
610 nonlocal has_cycle
618 has_cycle = (exc is exc.__context__)
628 self.assertEqual(has_cycle, False)