Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 386 for circle (0.25 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java

                List<String> cycle = visitCycle(graph, Collections.singleton(to), new HashMap<>(), new LinkedList<>());
                if (cycle != null) {
                    // remove edge which introduced cycle
                    throw new CycleDetectedException(
                            "Edge between '" + from + "' and '" + to + "' introduces to cycle in the graph", cycle);
                }
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. internal/config/scanner/scanner.go

    	}
    	cfg.MaxWait, err = time.ParseDuration(maxWait)
    	if err != nil {
    		return err
    	}
    	cycle := env.Get(EnvCycle, kvs.GetWithDefault(Cycle, DefaultKVS))
    	if cycle == "" {
    		cycle = "1m"
    	}
    	cfg.Cycle, err = time.ParseDuration(cycle)
    	if err != nil {
    		return err
    	}
    	return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/CycleDetectedException.java

        private final List<String> cycle;
    
        public CycleDetectedException(String message, List<String> cycle) {
            super(message);
            this.cycle = cycle;
        }
    
        public List<String> getCycle() {
            return cycle;
        }
    
        @Override
        public String getMessage() {
            return super.getMessage() + " " + String.join(" --> ", cycle);
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 06:02:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/initorder.go

    		// if n still depends on other nodes, we have a cycle
    		if n.ndeps > 0 {
    			cycle := findPath(check.objMap, n.obj, n.obj, make(map[Object]bool))
    			// If n.obj is not part of the cycle (e.g., n.obj->b->c->d->c),
    			// cycle will be nil. Don't report anything in that case since
    			// the cycle is reported when the algorithm gets to an object
    			// in the cycle.
    			// Furthermore, once an object in the cycle is encountered,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/go/types/initorder.go

    		// if n still depends on other nodes, we have a cycle
    		if n.ndeps > 0 {
    			cycle := findPath(check.objMap, n.obj, n.obj, make(map[Object]bool))
    			// If n.obj is not part of the cycle (e.g., n.obj->b->c->d->c),
    			// cycle will be nil. Don't report anything in that case since
    			// the cycle is reported when the algorithm gets to an object
    			// in the cycle.
    			// Furthermore, once an object in the cycle is encountered,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

                List<String> cycle = visitCycle(graph, Collections.singleton(to), new HashMap<>(), new LinkedList<>());
                if (cycle != null) {
                    // remove edge which introduced cycle
                    throw new CycleDetectedException(
                            "Edge between '" + from + "' and '" + to + "' introduces to cycle in the graph", cycle);
                }
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jan 22 17:27:48 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/decl.go

    			} else {
    				check.trace(obj.Pos(), "=> error: cycle is invalid")
    			}
    		}()
    	}
    
    	if !tparCycle {
    		// A cycle involving only constants and variables is invalid but we
    		// ignore them here because they are reported via the initialization
    		// cycle check.
    		if nval == len(cycle) {
    			return true
    		}
    
    		// A cycle involving only types (and possibly functions) must have at least
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

            from.children.add(to);
            to.parents.add(from);
            List<String> cycle = findCycle(to);
            if (cycle != null) {
                // remove edge which introduced cycle
                removeEdge(from, to);
                throw new CycleDetectedException(
                        "Edge between '" + from.label + "' and '" + to.label + "' introduces to cycle in the graph", cycle);
            }
        }
    
        void removeEdge(Vertex from, Vertex to) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/Graph.java

            from.children.add(to);
            to.parents.add(from);
            List<String> cycle = findCycle(to);
            if (cycle != null) {
                // remove edge which introduced cycle
                removeEdge(from, to);
                throw new CycleDetectedException(
                        "Edge between '" + from.label + "' and '" + to.label + "' introduces to cycle in the graph", cycle);
            }
        }
    
        void removeEdge(Vertex from, Vertex to) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 06:02:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ConfigurationCycleIntegrationTest.groovy

                        $.third
                    }
                }
            '''
    
            then:
            fails "tasks"
    
            and:
            failure.assertHasCause("""A cycle has been detected in model rule dependencies. References forming the cycle:
    first
    \\- Rules#first(String)
       \\- second
          \\- second { ... } @ build.gradle line 26, column 17
             \\- third
                \\- Rules#third(String)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top