Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 573 for selectA (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/crypto/internal/edwards25519/field/fe_alias_test.go

    				r, _ := v.SqrtRatio(x, y)
    				return r
    			},
    		},
    		{
    			name: "Select0",
    			twoArgsF: func(v, x, y *Element) *Element {
    				return v.Select(x, y, 0)
    			},
    		},
    		{
    			name: "Select1",
    			twoArgsF: func(v, x, y *Element) *Element {
    				return v.Select(x, y, 1)
    			},
    		},
    	} {
    		var err error
    		switch {
    		case tt.oneArgF != nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    // And finally, fixup the flag user.
    (CMPconst <t> [0] (Select0 z:((ADD|AND|ANDN|OR|SUB|NOR|XOR)CC x y))) => (Select1 <t> z)
    (CMPconst <t> [0] (Select0 z:((ADDCCconst|ANDCCconst|NEGCC|CNTLZDCC|RLDICLCC) y))) => (Select1 <t> z)
    
    // After trying to convert ANDconst to ANDCCconst above, if the CC result is not needed, try to avoid using
    // ANDconst which clobbers CC.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/ArtifactVariantSelector.java

    import org.gradle.internal.component.ResolutionFailureHandler;
    import org.gradle.internal.component.model.GraphVariantSelector;
    
    /**
     * Selects artifacts from a set of resolved variants. This can but does not necessarily require an additional
     * round of attribute matching to select a variant containing artifacts.
     *
     * This class is intentionally named similarly to {@link GraphVariantSelector}, as it has a
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 00:51:35 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/ModuleConflictResolver.java

    package org.gradle.api.internal.artifacts.ivyservice.resolveengine;
    
    public interface ModuleConflictResolver<T> {
        /**
         * Selects matching candidate. Returns null if this implementation of the resolver is not able to select a candidate.
         *
         * @param details the conflict resolution details
         */
        void select(ConflictResolverDetails<T> details);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 984 bytes
    - Viewed (0)
Back to top