Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for descendents (0.34 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. 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)
  8. 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)
  9. cmd/metrics-v3-types.go

    }
    
    // isDescendantOf returns true if it is a descendant of (or the same as)
    // `ancestor`.
    //
    // For example:
    //
    //	 	/a, /a/b, /a/b/c are all descendants of /a.
    //		/abc or /abd/a are not descendants of /ab.
    func (cp collectorPath) isDescendantOf(arg string) bool {
    	descendant := string(cp)
    	if descendant == arg {
    		return true
    	}
    	if len(arg) >= len(descendant) {
    		return false
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

      current_layer_descendants.push_back(op);
      // BFS downstream ops for current user.
      // If any one of the descendants meet one of the three conditions, we return
      // false for the current value:
      // 1: The descendant is not in the ops_to_add.
      // 2: The descendant is not a stablehlo op.
      // 3: The depth of the descendant is larger than 5, we don't want to search
      // too deep, max depth is arbitrarily chosen.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top