Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for setCycle (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/data-scanner.go

    		buf = buf[8:]
    		_, err := cycleInfo.UnmarshalMsg(buf)
    		bugLogIf(ctx, err)
    	}
    
    	scannerTimer := time.NewTimer(scannerCycle.Load())
    	defer scannerTimer.Stop()
    	defer globalScannerMetrics.setCycle(nil)
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-scannerTimer.C:
    			// Reset the timer for next cycle.
    			// If scanner takes longer we start at once.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 45.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java

            addEdge(graph2, "a", "b");
            addEdge(graph2, "b", "c");
            CycleDetectedException cde = assertThrows(CycleDetectedException.class, () -> addEdge(graph2, "c", "a"));
            List<String> cycle = cde.getCycle();
            assertNotNull(cycle, "Cycle should be not null");
            assertTrue(cycle.contains("a"), "Cycle contains 'a'");
            assertTrue(cycle.contains("b"), "Cycle contains 'b'");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

            private final List<String> cycle;
    
            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);
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top