Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for sortby (0.13 sec)

  1. pilot/pkg/serviceregistry/serviceregistry_test.go

    	t.Helper()
    	retry.UntilSuccessOrFail(t, func() error {
    		got := xdstest.ExtractLoadAssignments(s.Endpoints(s.SetupProxy(&model.Proxy{Metadata: metadata})))
    		sort.Strings(got[cluster])
    		sort.Strings(expected)
    		if !reflect.DeepEqual(got[cluster], expected) {
    			return fmt.Errorf("wanted %v got %v. All endpoints: %+v", expected, got[cluster], got)
    		}
    		return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/conversion.go

    	m[constants.InternalRouteSemantics] = constants.RouteSemanticsGateway
    	return m
    }
    
    // sortHTTPRoutes sorts generated vs routes to meet gateway-api requirements
    // see https://gateway-api.sigs.k8s.io/v1alpha2/references/spec/#gateway.networking.k8s.io/v1alpha2.HTTPRouteRule
    func sortHTTPRoutes(routes []*istio.HTTPRoute) {
    	sort.SliceStable(routes, func(i, j int) bool {
    		if len(routes[i].Match) == 0 {
    			return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMap.java

      /**
       * Returns a builder that creates immutable sorted maps whose keys are ordered by their natural
       * ordering. The sorted maps use {@link Ordering#natural()} as the comparator.
       */
      public static <K extends Comparable<?>, V> Builder<K, V> naturalOrder() {
        return new Builder<>(Ordering.natural());
      }
    
      /**
       * Returns a builder that creates immutable sorted maps with an explicit comparator. If the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      /**
       * Returns a builder that creates immutable sorted maps whose keys are ordered by their natural
       * ordering. The sorted maps use {@link Ordering#natural()} as the comparator.
       */
      public static <K extends Comparable<?>, V> Builder<K, V> naturalOrder() {
        return new Builder<>(Ordering.natural());
      }
    
      /**
       * Returns a builder that creates immutable sorted maps with an explicit comparator. If the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  5. src/index/suffixarray/sais2.go

    	k := len(text) - 1
    	c0, c1 := text[k-1], text[k]
    	if c0 < c1 {
    		k = -k
    	}
    
    	// Cache recently used bucket index:
    	// we're processing suffixes in sorted order
    	// and accessing buckets indexed by the
    	// byte before the sorted order, which still
    	// has very good locality.
    	// Invariant: b is cached, possibly dirty copy of bucket[cB].
    	cB := c1
    	b := bucket[cB]
    	sa[b] = int64(k)
    	b++
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/xcoff.go

    			// Relocation must be ordered by address, so create a list of sorted indices.
    			relocs := ldr.Relocs(s)
    			sorted := make([]int, relocs.Count())
    			for i := 0; i < relocs.Count(); i++ {
    				sorted[i] = i
    			}
    			sort.Slice(sorted, func(i, j int) bool {
    				return relocs.At(sorted[i]).Off() < relocs.At(sorted[j]).Off()
    			})
    
    			for _, ri := range sorted {
    				r := relocs.At(ri)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  7. configure.py

      if is_s390x() and 'boringssl' not in syslibs:
        syslibs = 'boringssl' + (', ' + syslibs if syslibs else '')
    
      if syslibs:
        if ',' in syslibs:
          syslibs = ','.join(sorted(syslibs.split(',')))
        else:
          syslibs = ','.join(sorted(syslibs.split()))
        write_action_env_to_bazelrc('TF_SYSTEM_LIBS', syslibs)
    
      for varname in ('PREFIX', 'LIBDIR', 'INCLUDEDIR', 'PROTOBUF_INCLUDE_PATH'):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

        const absl::flat_hash_set<string>& has_successors,
        const absl::flat_hash_map<string, absl::flat_hash_set<string>>& ancestors,
        std::vector<string>* sorted) {
      // The nodes are placed in 'sorted' in topological order.
      sorted->clear();
      // We don't use the standard DFS because we are not operating on Node*
      // objects.
      struct Work {
        string cluster;
        bool leave;
      };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

          ]
    
          inputs = ','.join(inputs)
          outputs = ','.join(outputs)
          attrs = ','.join(sorted(derived_attrs.union(attr_names)))
          tfr_funcs.add('{}{}) -> ({}) attributes {{{}}}'.format(
              tfr_func, inputs, outputs, attrs))
        return sorted(list(tfr_funcs))
    
    
    _PY_TYPE_TO_TFR = {
        bool: TFRTypes.I1,
        int: TFRTypes.I64,
        float: TFRTypes.F32,
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  10. src/cmd/internal/testdir/testdir_test.go

    		}
    		errors[line][msg] = true
    	}
    	// Add new errors.
    	for line, errs := range errors {
    		var sorted []string
    		for e := range errs {
    			sorted = append(sorted, e)
    		}
    		sort.Strings(sorted)
    		lines[line] += " // ERROR"
    		for _, e := range sorted {
    			lines[line] += fmt.Sprintf(` "%s$"`, e)
    		}
    	}
    	// Write new file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top