- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,351 for filterFn (0.5 sec)
-
pkg/controller/controller_utils.go
} type filterRS func(rs *apps.ReplicaSet) bool // FilterReplicaSets returns replica sets that are filtered by filterFn (all returned ones should match filterFn). func FilterReplicaSets(RSes []*apps.ReplicaSet, filterFn filterRS) []*apps.ReplicaSet { var filtered []*apps.ReplicaSet for i := range RSes { if filterFn(RSes[i]) { filtered = append(filtered, RSes[i]) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 12 15:34:44 UTC 2024 - 47.6K bytes - Viewed (0) -
src/go/ast/filter.go
} return true } if !export { // For general filtering (not just exports), // filter type even if name is not filtered // out. // If the type contains filtered elements, // keep the declaration. return filterType(s.Type, f, export) } } return false } func filterSpecList(list []Spec, f Filter, export bool) []Spec { j := 0 for _, s := range list {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 13.3K bytes - Viewed (0) -
pilot/pkg/xds/filters/filters.go
cors "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/cors/v3" fault "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/fault/v3" grpcstats "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/grpc_stats/v3" grpcweb "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/grpc_web/v3"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 09 09:24:25 UTC 2024 - 15.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/filtering.go
return true } return false } return true } // Filter invoked at the filter extension point. // It checks if a pod can be scheduled on the specified node with pod affinity/anti-affinity configuration. func (pl *InterPodAffinity) Filter(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 01 10:24:54 UTC 2023 - 14.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/watch/filter.go
func (fw *filteredWatch) Stop() { fw.incoming.Stop() } // loop waits for new values, filters them, and resends them. func (fw *filteredWatch) loop() { defer close(fw.result) for event := range fw.incoming.ResultChan() { filtered, keep := fw.f(event) if keep { fw.result <- filtered } } } // Recorder records all events that are sent from the watch until it is closed.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 2.8K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/envoy-filter-add-operation.yaml
match: context: SIDECAR_INBOUND patch: operation: ADD filterClass: AUTHZ # This filter will run *after* the Istio authz filter. value: name: envoy.filters.http.ext_authz typed_config: "@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz grpc_service: envoy_grpc: cluster_name: acme-ext-authz
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 31 19:38:42 UTC 2022 - 3.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java
*/ @Named("jdk-version") @Singleton public class JdkVersionProfileActivator implements ProfileActivator { private static final Pattern FILTER_1 = Pattern.compile("[^\\d._-]"); private static final Pattern FILTER_2 = Pattern.compile("[._-]"); private static final Pattern FILTER_3 = Pattern.compile("\\."); // used for split now @Override
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 06 16:51:39 UTC 2024 - 6.6K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
*/ @Named("jdk-version") @Singleton public class JdkVersionProfileActivator implements ProfileActivator { private static final Pattern FILTER_1 = Pattern.compile("[^\\d._-]"); private static final Pattern FILTER_2 = Pattern.compile("[._-]"); private static final Pattern FILTER_3 = Pattern.compile("\\."); // used for split now @Override
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 06 16:51:39 UTC 2024 - 6.6K bytes - Viewed (0) -
src/internal/profile/filter.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Implements methods to filter samples from profiles. package profile // TagMatch selects tags for filtering type TagMatch func(key, val string, nval int64) bool // FilterSamplesByTag removes all samples from the profile, except // those that match focus and do not match the ignore regular
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 17:57:40 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/tests/tac-filter.mlir
// ----- // expected-remark@below {{Tac filter (0): filter type: function filter SKIP_TARGET_ANNOTATION, filter_pattern: "^testFunction"}} // expected-remark@below {{Tac filter (1): filter type: function filter INCLUDE_TARGET_ANNOTATION, filter_pattern: "testFunctionInclude"}} // expected-remark@below {{Tac filter (2): filter type: op filter, filter_pattern: "^test_op"}} // expected-remark@below {{Tac filter (2) specified but not applied to any op}} module {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 24 01:08:29 UTC 2023 - 3.5K bytes - Viewed (0)