- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 721 for sortby (0.15 sec)
-
pilot/pkg/security/authn/policy_applier.go
spec := jwtPolicies[idx].Spec.(*v1beta1.RequestAuthentication) processedJwtRules = append(processedJwtRules, spec.JwtRules...) } // Sort the jwt rules by the issuer alphabetically to make the later-on generated filter // config deterministic. slices.SortBy(processedJwtRules, func(a *v1beta1.JWTRule) string { return a.GetIssuer() }) return policyApplier{ processedJwtRules: processedJwtRules,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 09:47:21 UTC 2024 - 19.2K bytes - Viewed (0) -
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) -
hack/testdata/sorted-pods/sorted-pod3.yaml
apiVersion: v1 kind: Pod metadata: name: sorted-pod3 creationTimestamp: "2018-08-30T14:10:53Z" labels: name: sorted-pod1-label spec: containers: - name: kubernetes-pause3
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 07:02:51 UTC 2024 - 223 bytes - Viewed (0) -
hack/testdata/sorted-pods/sorted-pod2.yaml
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 07:02:51 UTC 2024 - 347 bytes - Viewed (0) -
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) -
hack/testdata/sorted-pods/sorted-pod1.yaml
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 07:02:51 UTC 2024 - 355 bytes - Viewed (0) -
src/internal/fmtsort/sort.go
sorted = append(sorted, KeyValue{iter.Key(), iter.Value()}) } slices.SortStableFunc(sorted, func(a, b KeyValue) int { return compare(a.Key, b.Key) }) return sorted } // compare compares two values of the same type. It returns -1, 0, 1 // according to whether a > b (1), a == b (0), or a < b (-1). // If the types differ, it returns -1. // See the comment on Sort for the comparison rules. func compare(aVal, bVal reflect.Value) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:31:45 UTC 2024 - 4.9K bytes - Viewed (0) -
src/slices/sort.go
// license that can be found in the LICENSE file. //go:generate go run $GOROOT/src/sort/gen_sort_variants.go -generic package slices import ( "cmp" "math/bits" ) // Sort sorts a slice of any ordered type in ascending order. // When sorting floating-point numbers, NaNs are ordered before other values. func Sort[S ~[]E, E cmp.Ordered](x S) { n := len(x) pdqsortOrdered(x, 0, n, bits.Len(uint(n))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 23:54:41 UTC 2024 - 5.8K bytes - Viewed (0) -
src/sort/sort.go
// Sort is a convenience method: x.Sort() calls Sort(x). func (x StringSlice) Sort() { Sort(x) } // Convenience wrappers for common cases // Ints sorts a slice of ints in increasing order. // // Note: as of Go 1.22, this function simply calls [slices.Sort]. func Ints(x []int) { intsImpl(x) } // Float64s sorts a slice of float64s in increasing order.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 16:40:32 UTC 2023 - 10.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java
import org.dbflute.utflute.core.PlainTestCase; import org.mortbay.jetty.Handler; import org.mortbay.jetty.HttpConnection; import org.mortbay.jetty.HttpMethods; import org.mortbay.jetty.Server; import org.mortbay.jetty.handler.AbstractHandler; import org.mortbay.jetty.handler.DefaultHandler; import org.mortbay.jetty.handler.HandlerList; /** * @author shinsuke * */
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.4K bytes - Viewed (0)