Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,960 for selectgo (0.19 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/DefaultVisitedArtifactResultsTest.groovy

            artifacts1.select(selector, _) >> variant1Artifacts
            artifacts2.select(selector, _) >> variant2Artifacts
    
            def results = new DefaultVisitedArtifactResults([artifacts1, artifacts2])
            def selected = results.select(selector, Mock(ArtifactSelectionSpec), true)
    
            expect:
            selected.getArtifacts() == variant2Artifacts
        }
    
        def "lenient selection includes broken artifacts"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 21 03:08:51 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/testdata/k8sgateway-selector.yaml

    spec:
      containers:
      - image: proxyv2:1.3.1
        name: istio-proxy
    ---
    # only selector is set, should be ineffective
    apiVersion: security.istio.io/v1
    kind: RequestAuthentication
    metadata:
      namespace: default
      name: ra-ineffective
    spec:
      selector:
        matchLabels:
          gateway.networking.k8s.io/gateway-name: bookinfo-gateway
    ---
    # only selector is set, should be ineffective
    apiVersion: security.istio.io/v1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 01:19:33 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/tuple.go

    			if t := selectors[key]; t != nil {
    				if selector != t {
    					selector.copyOf(t)
    				}
    				continue
    			}
    
    			// If the selector is in the wrong block copy it into the target
    			// block.
    			if selector.Block != tuple.Block {
    				t := selector.copyInto(tuple.Block)
    				selector.copyOf(t)
    				selectors[key] = t
    				continue
    			}
    
    			// The selector is in the target block. Add it to the map so it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 26 02:52:33 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ModuleResolveState.java

            assert selected != null;
    
            if (!selected.getId().getModule().equals(getId())) {
                this.overriddenSelection = true;
            }
            this.selected = selected;
            this.replaced = computeReplaced(selected);
    
            doRestart(selected);
        }
    
        private boolean computeReplaced(ComponentState selected) {
            // This module might be resolved to a different module, through replacedBy
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/testdata/sidecar-selector.yaml

        labels:
          app: reviews # Multiple sidecars have the same selector, should generate errors for both
      egress:
      - hosts:
        - "./*"
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: dupe-2
      namespace: default
    spec:
      workloadSelector:
        labels:
          app: reviews # Multiple sidecars have the same selector, should generate errors for both
      egress:
      - hosts:
        - "./*"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  6. test/chan/select3.go

    	testBlock(always, func() {
    		ch := make(chan int)
    		<-ch
    	})
    
    	// empty selects always block
    	testBlock(always, func() {
    		select {}
    	})
    
    	// selects with only nil channels always block
    	testBlock(always, func() {
    		select {
    		case <-nilch:
    			unreachable()
    		}
    	})
    	testBlock(always, func() {
    		select {
    		case nilch <- 7:
    			unreachable()
    		}
    	})
    	testBlock(always, func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 08 02:10:12 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/telemetry-default-selector.yaml

    kind: Telemetry
    metadata:
      name: no-selector # Since this is the only Telemetry in the namespace without a selector, no conflict
      namespace: ns1
    spec:
      metrics:
      - providers:
        - name: prometheus
        overrides:
        - match:
            metric: ALL_METRICS
          disabled: false
    ---
    apiVersion: telemetry.istio.io/v1alpha1
    kind: Telemetry
    metadata:
      name: has-selector
      namespace: ns1
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 03 06:56:06 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. pkg/kube/namespace/filter.go

    		}
    		r, err := labels.NewRequirement(expr.Key, op, append([]string(nil), expr.Values...))
    		if err != nil {
    			return nil, err
    		}
    		requirements = append(requirements, *r)
    	}
    	selector := labels.NewSelector()
    	selector = selector.Add(requirements...)
    	return selector, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 17:12:52 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/testdata/sidecar-default-selector.yaml

    kind: Sidecar
    metadata:
      name: no-selector # Since this is the only Sidecar in the namespace without a workload selector, no conflict
      namespace: ns1
    spec:
      egress:
      - hosts:
        - "./*"
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: has-selector
      namespace: ns1
    spec:
      workloadSelector: # Since this has a workload selector, it shouldn't conflict with the other Sidecar in the namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Dec 23 13:38:38 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. hack/testdata/filter/pod-apply-selector.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: selector-test-pod
      labels:
        name: selector-test-pod
        unique-label: bingbang
    spec:
      containers:
      - name: kubernetes-pause
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 211 bytes
    - Viewed (0)
Back to top