Searched refs:has_cycle (Results 1 – 5 of 5) sorted by relevance
90 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; member95 bool has_cycle(const file_dep_graph& g) in has_cycle() function97 bool has_cycle = false; in has_cycle() local98 cycle_detector vis(has_cycle); in has_cycle()100 return has_cycle; in has_cycle()131 assert(has_cycle(g) == false); in main()
81 cycle_detector(bool& has_cycle) : m_has_cycle(has_cycle) {} in cycle_detector()175 bool has_cycle = false; in main() local176 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() local192 cycle_detector vis(has_cycle); in main()194 cout << "The graph has a cycle now? " << has_cycle << endl; in main()
53 bool has_cycle(const file_dep_graph& g) in has_cycle() function92 assert(has_cycle(g) == false); in main()
411 has_cycle = None417 nonlocal has_cycle424 has_cycle = (exc is exc.__context__)432 self.assertEqual(has_cycle, False)
602 has_cycle = None610 nonlocal has_cycle618 has_cycle = (exc is exc.__context__)628 self.assertEqual(has_cycle, False)