Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,679 for Sort (0.05 sec)

  1. 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)
  2. pkg/registry/rbac/validation/rule_test.go

    		rules, err := ruleResolver.RulesFor(tc.user, tc.namespace)
    		if err != nil {
    			t.Errorf("case %d: GetEffectivePolicyRules(context)=%v", i, err)
    			continue
    		}
    
    		// Sort for deep equals
    		sort.Sort(byHash(rules))
    		sort.Sort(byHash(tc.effectiveRules))
    
    		if !reflect.DeepEqual(rules, tc.effectiveRules) {
    			ruleDiff := cmp.Diff(rules, tc.effectiveRules)
    			t.Errorf("case %d: %s", i, ruleDiff)
    		}
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/sort/slice.go

    // license that can be found in the LICENSE file.
    
    package sort
    
    import (
    	"internal/reflectlite"
    	"math/bits"
    )
    
    // Slice sorts the slice x given the provided less function.
    // It panics if x is not a slice.
    //
    // The sort is not guaranteed to be stable: equal elements
    // may be reversed from their original order.
    // For a stable sort, use [SliceStable].
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 16:40:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/grpcgen/lds_test.go

    					Ports:          sets.New("80", "443"),
    				},
    				"wildcard.com": {RequestedNames: sets.New("wildcard.com")},
    			},
    		},
    		"plain-host clears port-map": {
    			in:   []string{"foo.com:80", "foo.com"},
    			want: listenerNames{"foo.com": {RequestedNames: sets.New("foo.com")}},
    		},
    		"port-map stays clear": {
    			in: []string{"foo.com:80", "foo.com", "foo.com:443"},
    			want: listenerNames{"foo.com": {
    				RequestedNames: sets.New("foo.com"),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 30 20:07:58 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/deployment/services.go

    			// If it is the first occurrence of this port, create a ProtocolMap
    			if _, ok := portMap[sPort.Port]; !ok {
    				portMap[sPort.Port] = ProtocolMap{}
    			}
    
    			// Default protocol is TCP
    			protocol := sPort.Protocol
    			if protocol == "" {
    				protocol = core_v1.ProtocolTCP
    			}
    
    			// Appending the service information for the Port/Protocol combination
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/modifiers/renderers/KtModifiersSorter.kt

    public interface KaModifiersSorter {
        public fun sort(
            analysisSession: KaSession,
            modifiers: List<KtModifierKeywordToken>,
            owner: KaDeclarationSymbol,
        ): List<KtModifierKeywordToken>
    
        public object CANONICAL : KaModifiersSorter {
            override fun sort(
                analysisSession: KaSession,
                modifiers: List<KtModifierKeywordToken>,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. pkg/apis/rbac/v1/helpers.go

    		}
    	default:
    		return rbacv1.PolicyRule{}, fmt.Errorf("a rule must have either nonResourceURLs or resources: %#v", r.PolicyRule)
    	}
    
    	sort.Strings(r.PolicyRule.Resources)
    	sort.Strings(r.PolicyRule.ResourceNames)
    	sort.Strings(r.PolicyRule.APIGroups)
    	sort.Strings(r.PolicyRule.NonResourceURLs)
    	sort.Strings(r.PolicyRule.Verbs)
    	return r.PolicyRule, nil
    }
    
    // +k8s:deepcopy-gen=false
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 15:37:57 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. manifests/addons/dashboards/istio-extension-dashboard.json

            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "multi",
              "sort": "none"
            }
          },
          "pluginVersion": "10.1.5",
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${datasource}"
              },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/multicluster/service.go

    }
    
    func compareServicePorts(a, b []corev1.ServicePort) bool {
    	if len(a) != len(b) {
    		return false
    	}
    
    	sort.SliceStable(a, func(i, j int) bool {
    		return a[i].Name < a[j].Name
    	})
    
    	sort.SliceStable(b, func(i, j int) bool {
    		return b[i].Name < b[j].Name
    	})
    	return reflect.DeepEqual(a, b)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/internal/types/testdata/fixedbugs/issue58611.go

    package p
    
    import (
    	"sort"
    	"strings"
    )
    
    func f[int any](x int) {
    	x = 0 /* ERRORx "cannot use 0.*(as int.*with int declared at|type parameter)" */
    }
    
    // test case from issue
    
    type Set[T comparable] map[T]struct{}
    
    func (s *Set[string]) String() string {
    	keys := make([]string, 0, len(*s))
    	for k := range *s {
    		keys = append(keys, k)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 00:40:19 UTC 2023
    - 742 bytes
    - Viewed (0)
Back to top