Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 136 for heuristics (0.1 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    				droppedNodes = len(g.Nodes) - len(nodesKept)
    				g = rpt.newGraph(nodesKept)
    			}
    		}
    	}
    	origCount = len(g.Nodes)
    
    	// Second step: Limit the total number of nodes. Apply specialized heuristics to improve
    	// visualization when generating dot output.
    	g.SortNodes(cumSort, visualMode)
    	if nodeCount := o.NodeCount; nodeCount > 0 {
    		// Remove low frequency tags and edges as they affect selection.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    				if m.BuildID != "" {
    					lm.BuildID = m.BuildID
    				}
    				p.updateLocationMapping(m, lm)
    				continue
    			}
    			mappings = append(mappings, m)
    		}
    		p.Mapping = mappings
    	}
    
    	// Use heuristics to identify main binary and move it to the top of the list of mappings
    	for i, m := range p.Mapping {
    		file := strings.TrimSpace(strings.Replace(m.File, "(deleted)", "", -1))
    		if len(file) == 0 {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/ClassPath.java

         *
         * <p>Behaves similarly to {@link Class#getSimpleName()} but does not require the class to be
         * loaded.
         *
         * <p>But note that this class uses heuristics to identify the simple name. See a related
         * discussion in <a href="https://github.com/google/guava/issues/3349">issue 3349</a>.
         */
        public String getSimpleName() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/ClassPath.java

         *
         * <p>Behaves similarly to {@link Class#getSimpleName()} but does not require the class to be
         * loaded.
         *
         * <p>But note that this class uses heuristics to identify the simple name. See a related
         * discussion in <a href="https://github.com/google/guava/issues/3349">issue 3349</a>.
         */
        public String getSimpleName() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  5. src/runtime/stack_test.go

    // shrink it again and verify that all frame pointers on the new stack have
    // been correctly adjusted. stackBallast is used to ensure we're not depending
    // on the current heuristics of stack shrinking too much.
    func growAndShrinkStack(n int, stackBallast [1024]byte) {
    	if n <= 0 {
    		return
    	}
    	growAndShrinkStack(n-1, stackBallast)
    	ShrinkStackAndVerifyFramePointers()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_utils.go

    // must be a PersistentVolumeClaim from set's VolumeClaims template.
    func getPersistentVolumeClaimName(set *apps.StatefulSet, claim *v1.PersistentVolumeClaim, ordinal int) string {
    	// NOTE: This name format is used by the heuristics for zone spreading in ChooseZoneForVolume
    	return fmt.Sprintf("%s-%s-%d", claim.Name, set.Name, ordinal)
    }
    
    // isMemberOf tests if pod is a member of set.
    func isMemberOf(set *apps.StatefulSet, pod *v1.Pod) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  7. src/go/doc/comment/parse.go

    			end = i + 1
    		}
    		i++
    	}
    	i = end
    
    	// At this point we are definitely returning a URL (scheme://host).
    	// We just have to find the longest path we can add to it.
    	// Heuristics abound.
    	// We allow parens, braces, and brackets,
    	// but only if they match (#5043, #22285).
    	// We allow .,:;?! in the path but not at the end,
    	// to avoid end-of-sentence punctuation (#18139, #16565).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    // binary search, which would make it O(N*log(M)).
    func (p *Profile) remapMappingIDs() {
    	// Some profile handlers will incorrectly set regions for the main
    	// executable if its section is remapped. Fix them through heuristics.
    
    	if len(p.Mapping) > 0 {
    		// Remove the initial mapping if named '/anon_hugepage' and has a
    		// consecutive adjacent mapping.
    		if m := p.Mapping[0]; strings.HasPrefix(m.File, "/anon_hugepage") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  9. src/go/printer/printer.go

    // The prefix is computed using heuristics such that is likely that the comment
    // contents are nicely laid out after re-printing each line using the printer's
    // current indentation.
    func stripCommonPrefix(lines []string) {
    	if len(lines) <= 1 {
    		return // at most one line - nothing to do
    	}
    	// len(lines) > 1
    
    	// The heuristic in this function tries to handle a few
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  10. src/runtime/signal_unix.go

    }
    
    const (
    	_SIG_DFL uintptr = 0
    	_SIG_IGN uintptr = 1
    )
    
    // sigPreempt is the signal used for non-cooperative preemption.
    //
    // There's no good way to choose this signal, but there are some
    // heuristics:
    //
    // 1. It should be a signal that's passed-through by debuggers by
    // default. On Linux, this is SIGALRM, SIGURG, SIGCHLD, SIGIO,
    // SIGVTALRM, SIGPROF, and SIGWINCH, plus some glibc-internal signals.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top