Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,633 for Sort (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        List<Entry<K, V>> entries =
            Helpers.copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
        Collections.sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator()));
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. 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)
  3. pilot/pkg/config/monitor/file_snapshot.go

    				continue
    			}
    			result = append(result, cfg)
    		}
    		return nil
    	})
    	if err != nil {
    		log.Warnf("failure during filepath.Walk: %v", err)
    	}
    
    	// Sort by the config IDs.
    	sort.Sort(byKey(result))
    	return result, err
    }
    
    // parseInputs is identical to crd.ParseInputs, except that it returns an array of config pointers.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                        });
                        // Sort the array in place by type, then member
                        // Note that Firefox is fine with a sort function returning any positive or negative number, but Chrome 
                        // requires 1 or -1 specifically and ignores higher or lower values.  This sort ought to remain consistent
                        // with the sort used by AbstractAcceptedApiChangesMaintenanceTask.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 07 20:38:43 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. src/slices/sort_test.go

    		n /= 100
    	}
    	data := make([]int, n)
    	for i := 0; i < len(data); i++ {
    		data[i] = rand.Intn(100)
    	}
    	if IsSorted(data) {
    		t.Fatalf("terrible rand.rand")
    	}
    	Sort(data)
    	if !IsSorted(data) {
    		t.Errorf("sort didn't sort - 1M ints")
    	}
    }
    
    type intPair struct {
    	a, b int
    }
    
    type intPairs []intPair
    
    // Pairs compare on a only.
    func intPairCmp(x, y intPair) int {
    	return x.a - y.a
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 19:20:55 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/internal/language/compose.go

    }
    
    // Make returns a new Tag from the current settings.
    func (b *Builder) Make() Tag {
    	t := b.Tag
    
    	if len(b.extensions) > 0 || len(b.variants) > 0 {
    		sort.Sort(sortVariants(b.variants))
    		sort.Strings(b.extensions)
    
    		if b.private != "" {
    			b.extensions = append(b.extensions, b.private)
    		}
    		n := maxCoreSize + tokenLen(b.variants...) + tokenLen(b.extensions...)
    		buf := make([]byte, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/language/coverage.go

    	scripts func() []Script
    	regions func() []Region
    }
    
    func (s *coverage) Tags() []Tag {
    	if s.tags == nil {
    		return nil
    	}
    	return s.tags()
    }
    
    // bases implements sort.Interface and is used to sort base languages.
    type bases []Base
    
    func (b bases) Len() int {
    	return len(b)
    }
    
    func (b bases) Swap(i, j int) {
    	b[i], b[j] = b[j], b[i]
    }
    
    func (b bases) Less(i, j int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/loadbalancer/loadbalancer.go

    	}
    
    	// since Priorities should range from 0 (highest) to N (lowest) without skipping.
    	// 2. adjust the priorities in order
    	// 2.1 sort all priorities in increasing order.
    	priorities := []int{}
    	for priority := range priorityMap {
    		priorities = append(priorities, priority)
    	}
    	sort.Ints(priorities)
    	// 2.2 adjust LocalityLbEndpoints priority
    	// if the index and value of priorities array is not equal.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/sidecar/util.go

    // limitations under the License.
    
    package sidecar
    
    import (
    	"sort"
    
    	"istio.io/istio/pkg/config/resource"
    )
    
    func getNames(entries []*resource.Instance) []string {
    	names := make([]string, 0, len(entries))
    	for _, rs := range entries {
    		names = append(names, string(rs.Metadata.FullName.Name))
    	}
    	sort.Strings(names)
    	return names
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 884 bytes
    - Viewed (0)
  10. src/runtime/pprof/label_test.go

    // license that can be found in the LICENSE file.
    
    package pprof
    
    import (
    	"context"
    	"reflect"
    	"sort"
    	"testing"
    )
    
    func labelsSorted(ctx context.Context) []label {
    	ls := []label{}
    	ForLabels(ctx, func(key, value string) bool {
    		ls = append(ls, label{key, value})
    		return true
    	})
    	sort.Sort(labelSorter(ls))
    	return ls
    }
    
    type labelSorter []label
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top