Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 214 for descendents (0.26 sec)

  1. src/internal/trace/summary.go

    	return s.Start != nil && s.End != nil
    }
    
    // Descendents returns a slice consisting of itself (always the first task returned),
    // and the transitive closure of all of its children.
    func (s *UserTaskSummary) Descendents() []*UserTaskSummary {
    	descendents := []*UserTaskSummary{s}
    	for _, child := range s.Children {
    		descendents = append(descendents, child.Descendents()...)
    	}
    	return descendents
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. src/cmd/trace/jsontrace.go

    	}
    	if task.End != nil {
    		opts.endTime = task.End.Time().Sub(parsed.startTime())
    	} else { // The task didn't end.
    		opts.endTime = parsed.endTime().Sub(parsed.startTime())
    	}
    	opts.tasks = task.Descendents()
    	slices.SortStableFunc(opts.tasks, func(a, b *trace.UserTaskSummary) int {
    		aStart, bStart := parsed.startTime(), parsed.startTime()
    		if a.Start != nil {
    			aStart = a.Start.Time()
    		}
    		if b.Start != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/builtins_test.go

    			fun = call.Fun
    			n++
    		}
    	}
    	if n != 1 {
    		t.Errorf("%s: got %d CallExprs; want 1", src0, n)
    		return
    	}
    
    	// check recorded types for fun and descendents (may be parenthesized)
    	for {
    		// the recorded type for the built-in must match the wanted signature
    		typ := types[fun].Type
    		if typ == nil {
    			t.Errorf("%s: no type recorded for %s", src0, ExprString(fun))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/go/types/builtins_test.go

    			fun = call.Fun
    			n++
    		}
    	}
    	if n != 1 {
    		t.Errorf("%s: got %d CallExprs; want 1", src0, n)
    		return
    	}
    
    	// check recorded types for fun and descendents (may be parenthesized)
    	for {
    		// the recorded type for the built-in must match the wanted signature
    		typ := types[fun].Type
    		if typ == nil {
    			t.Errorf("%s: no type recorded for %s", src0, ExprString(fun))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/internal/profile/graph.go

    	// represents the whole function, it points back to itself.
    	Function *Node
    
    	// Values associated to this node. Flat is exclusive to this node,
    	// Cum includes all descendents.
    	Flat, FlatDiv, Cum, CumDiv int64
    
    	// In and out Contains the nodes immediately reaching or reached by
    	// this node.
    	In, Out EdgeMap
    }
    
    // Graph summarizes a performance profile into a format that is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 20:59:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    	// represents the whole function, it points back to itself.
    	Function *Node
    
    	// Values associated to this node. Flat is exclusive to this node,
    	// Cum includes all descendents.
    	Flat, FlatDiv, Cum, CumDiv int64
    
    	// In and out Contains the nodes immediately reaching or reached by
    	// this node.
    	In, Out EdgeMap
    
    	// LabelTags provide additional information about subsets of a sample.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/lifecycle/internal/ConcurrencyDependencyGraphTest.java

            final List<MavenProject> bDescendants = graph.markAsFinished(B);
            assertEquals(1, bDescendants.size());
            assertEquals(Y, bDescendants.get(0));
    
            final List<MavenProject> cDescendants = graph.markAsFinished(C);
            assertEquals(2, cDescendants.size());
            assertEquals(X, cDescendants.get(0));
            assertEquals(Z, cDescendants.get(1));
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/WorkItemProgressEventCrossVersionSpec.groovy

            """
        }
    
        def "reports typed work item progress events as descendants of tasks"() {
            when:
            def events = runBuild("runInWorker", EnumSet.allOf(OperationType))
    
            then:
            def taskOperation = events.operation("Task :runInWorker")
            taskOperation.assertIsTask()
            with(taskOperation.descendant("org.gradle.test.TestWork")) {
                successful
                assertIsWorkItem()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/RuleApplicationScope.java

    public enum RuleApplicationScope {
        /**
         * Rule should be applied to the scope element only.
         */
        SELF,
    
        /**
         * Rule should be applied to the all matching descendant elements of the scope.
         */
        DESCENDANTS;
    
        /**
         * Detects if the subject of the rule has been annotated with {@literal @}{@link Each}.
         *
         * @throws IndexOutOfBoundsException If the rule definition has too few parameters.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            return assertHasDescendants(descendants, false);
        }
    
        public TestFile assertHasDescendants(Iterable<String> descendants, boolean ignoreDirs) {
            Set<String> actual = new TreeSet<>();
            assertIsDir();
            visit(actual, "", this, ignoreDirs);
            Set<String> expected = new TreeSet<>(Lists.newArrayList(descendants));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top