- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 751 for selectA (0.14 sec)
-
src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.go
// The call below must evaluate selectA() to determine the receiver to // use. This should happen exactly once per iteration. Assert that is // the case to ensure the IR manipulation does not result in over- or // under-evaluation. selectI := 0 selectA := func(gotI int) Adder { if gotI != selectI { panic(fmt.Sprintf("selectA not called once per iteration; got i %d want %d", gotI, selectI)) } selectI++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 13 18:17:57 UTC 2023 - 6.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/select.go
// optimization: zero-case select if ncas == 0 { return []ir.Node{mkcallstmt("block")} } // optimization: one-case select: single op. if ncas == 1 { cas := cases[0] ir.SetPos(cas) l := cas.Init() if cas.Comm != nil { // not default: n := cas.Comm l = append(l, ir.TakeInit(n)...) switch n.Op() { default: base.Fatalf("select %v", n.Op()) case ir.OSEND:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 01:53:41 UTC 2023 - 7.8K bytes - Viewed (0) -
pkg/config/analysis/analyzers/sidecar/selector.go
"istio.io/istio/pkg/config/resource" "istio.io/istio/pkg/config/schema/gvk" ) // SelectorAnalyzer validates, per namespace, that: // * sidecar resources that define a workload selector match at least one pod // * there aren't multiple sidecar resources that select overlapping pods type SelectorAnalyzer struct{} var _ analysis.Analyzer = &SelectorAnalyzer{} // Metadata implements Analyzer
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 5K bytes - Viewed (0) -
pkg/config/analysis/analyzers/telemetry/selector.go
// Using an index for selectoes is problematic because selector != label // We can match a label to a selector, but we can't generate a selector from a label. c.ForEach(gvk.Telemetry, func(rs *resource.Instance) bool { s := rs.Message.(*v1alpha1.Telemetry) // For this analysis, ignore Telemetries with no selectors specified at all. if s.Selector == nil || len(s.GetSelector().MatchLabels) == 0 { return true }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/telemetry-selector.yaml
spec: selector: matchLabels: app: ratings-app # Multiple telemetries select overlapping workloads, should generate errors for both metrics: - providers: - name: prometheus overrides: - match: metric: ALL_METRICS disabled: false --- apiVersion: telemetry.istio.io/v1alpha1 kind: Telemetry metadata: name: overlap-2
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 03 06:56:06 UTC 2023 - 3.1K bytes - Viewed (0) -
src/crypto/internal/edwards25519/field/fe_alias_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:26:17 UTC 2023 - 3.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/util/workloadinstances/selector.go
) // ByServiceSelector returns a predicate that matches workload instances // of a given service. func ByServiceSelector(namespace string, selector labels.Instance) func(*model.WorkloadInstance) bool { return func(wi *model.WorkloadInstance) bool { return wi.Namespace == namespace && selector.Match(wi.Endpoint.Labels) } } // FindAllInIndex returns a list of workload instances in the index // that match given predicate. //
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 07 04:26:56 UTC 2023 - 1.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/util/internal/NameMatcherTest.groovy
matcher.candidates == ["tame", "lame"] as Set } def "does not select map entry when no matches"() { expect: matcher.find("soNa", ["does not match" : 9]) == null } def "selects map entry when exact match"() { expect: matcher.find("name", ["name" : 9]) == 9 } def "selects map entry when one partial match"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 05 22:49:56 UTC 2022 - 7.8K bytes - Viewed (0) -
platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/api/specs/Specs.java
} public static <T> Spec<T> convertClosureToSpec(final Closure<?> closure) { return new ClosureSpec<>(closure); } /** * Returns a spec that selects the intersection of those items selected by the given specs. Returns a spec that selects everything when no specs provided. */ @SafeVarargs @SuppressWarnings("varargs") public static <T> Spec<T> intersect(Spec<? super T>... specs) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 10:00:26 UTC 2023 - 5.2K bytes - Viewed (0) -
pkg/kube/krt/filter.go
} if f.selects != nil { attrs = append(attrs, fmt.Sprintf("selects=%v", f.selects)) } if f.labels != nil { attrs = append(attrs, fmt.Sprintf("labels=%v", f.labels)) } if f.generic != nil { attrs = append(attrs, "generic") } res := strings.Join(attrs, ",") return fmt.Sprintf("{%s}", res) } // FilterObjectName selects a Kubernetes object by name.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 4.8K bytes - Viewed (0)