Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 335 for Sort (0.25 sec)

  1. src/cmd/compile/internal/ssagen/pgen.go

    	// Sort non-autos before autos.
    	if needAlloc(a) != needAlloc(b) {
    		return needAlloc(b)
    	}
    
    	// If both are non-auto (e.g., parameters, results), then sort by
    	// frame offset (defined by ABI).
    	if !needAlloc(a) {
    		return a.FrameOffset() < b.FrameOffset()
    	}
    
    	// From here on, a and b are both autos (i.e., local variables).
    
    	// Sort followers after leaders, if mls != nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. src/go/build/deps_test.go

    	cmp, internal/race, math/bits
    	< iter
    	< maps, slices;
    
    	internal/oserror, maps, slices
    	< RUNTIME;
    
    	RUNTIME
    	< sort
    	< container/heap;
    
    	RUNTIME
    	< io;
    
    	RUNTIME
    	< arena;
    
    	syscall !< io;
    	reflect !< sort;
    
    	RUNTIME, unicode/utf8
    	< path;
    
    	unicode !< path;
    
    	# SYSCALL is RUNTIME plus the packages necessary for basic system calls.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. docs/metrics/prometheus/grafana/node/minio-node.json

            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "multi",
              "sort": "none"
            }
          },
          "pluginVersion": "10.4.0",
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 13:24:37 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    func (g *Graph) SortNodes(cum bool, visualMode bool) {
    	// Sort nodes based on requested mode
    	switch {
    	case visualMode:
    		// Specialized sort to produce a more visually-interesting graph
    		g.Nodes.Sort(EntropyOrder)
    	case cum:
    		g.Nodes.Sort(CumNameOrder)
    	default:
    		g.Nodes.Sort(FlatNameOrder)
    	}
    }
    
    // SelectTopNodePtrs returns a set of the top maxNodes *Node in a graph.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/sym.go

    		// that can be scheduled independently. We need to reorder those
    		// symbols reliably. Sort by name but use a stable sort, so that
    		// any original entries with the same name (all DWARFVAR symbols
    		// have empty names but different relocation sets) are not shuffled.
    		// TODO: Find a better place and optimize to only sort TOC symbols.
    		sort.SliceStable(ctxt.Data, func(i, j int) bool {
    			return ctxt.Data[i].Name < ctxt.Data[j].Name
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/cmd/trace/goroutines.go

    		}
    
    		// Sort.
    		sortBy := r.FormValue("sortby")
    		if _, ok := validNonOverlappingStats[sortBy]; ok {
    			slices.SortFunc(goroutines, func(a, b goroutine) int {
    				return cmp.Compare(b.NonOverlappingStats[sortBy], a.NonOverlappingStats[sortBy])
    			})
    		} else {
    			// Sort by total time by default.
    			slices.SortFunc(goroutines, func(a, b goroutine) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. src/cmd/trace/regions.go

    					maxTotal = r.TotalTime
    				}
    			}
    		}
    
    		// Sort.
    		sortBy := r.FormValue("sortby")
    		if _, ok := validNonOverlappingStats[sortBy]; ok {
    			slices.SortFunc(regions, func(a, b region) int {
    				return cmp.Compare(b.NonOverlappingStats[sortBy], a.NonOverlappingStats[sortBy])
    			})
    		} else {
    			// Sort by total time by default.
    			slices.SortFunc(regions, func(a, b region) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    	// Remove from oldest to newest (last to first).
    	numToKeep := len(containers) - toRemove
    	if numToKeep > 0 {
    		sort.Sort(byCreated(containers))
    	}
    	for i := len(containers) - 1; i >= numToKeep; i-- {
    		if containers[i].unknown {
    			// Containers in known state could be running, we should try
    			// to stop it before removal.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. internal/logger/logger.go

    // unique set. data is expected to be pre-sorted, and the resulting set in
    // the range [0:size] will remain in sorted order. Uniq, following a
    // sort.Sort call, can be used to prepare arbitrary inputs for use as sets.
    func uniq(data sort.Interface) (size int) {
    	p, l := 0, data.Len()
    	if l <= 1 {
    		return l
    	}
    	for i := 1; i < l; i++ {
    		if !data.Less(p, i) {
    			continue
    		}
    		p++
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. cmd/metacache-walk.go

    				meta.name = strings.TrimSuffix(meta.name, SlashSeparator)
    				meta.name = pathJoinBuf(sb, current, meta.name)
    
    				return send(meta)
    			}
    			// Skip all other files.
    		}
    
    		// Process in sort order.
    		sort.Strings(entries)
    		dirStack := make([]string, 0, 5)
    		prefix = "" // Remove prefix after first level as we have already filtered the list.
    		if len(forward) > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top