Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 200 for Intersections (0.21 sec)

  1. pilot/pkg/config/kube/gateway/testdata/isolation.yaml.golden

    kind: VirtualService
    metadata:
      annotations:
        internal.istio.io/parents: HTTPRoute/attaches-to-abc-foo-example-com-with-hostname-intersection.gateway-conformance-infra
        internal.istio.io/route-semantics: gateway
      creationTimestamp: null
      name: attaches-to-abc-foo-example-com-with-hostname-intersection-0-istio-autogenerated-k8s-gateway
      namespace: gateway-conformance-infra
    spec:
      gateways:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/sets/set_test.go

    		},
    	}
    
    	for _, test := range tests {
    		intersection := test.s1.Intersection(test.s2)
    		if intersection.Len() != test.expected.Len() {
    			t.Errorf("Expected intersection.Len()=%d but got %d", test.expected.Len(), intersection.Len())
    		}
    
    		if !intersection.Equal(test.expected) {
    			t.Errorf("Expected intersection.Equal(expected) but not true.  intersection:%v expected:%v", intersection.List(), test.expected.List())
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/quota/v1/resources.go

    	for _, prefix := range prefixSet {
    		if strings.HasPrefix(string(item), prefix) {
    			return true
    		}
    	}
    	return false
    }
    
    // Intersection returns the intersection of both list of resources, deduped and sorted
    func Intersection(a []corev1.ResourceName, b []corev1.ResourceName) []corev1.ResourceName {
    	result := make([]corev1.ResourceName, 0, len(a))
    	for _, item := range a {
    		if Contains(result, item) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 06 23:11:22 UTC 2021
    - 8.7K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestFramework.java

        }
    
        private void validateOptions() {
            Set<String> intersection = Sets.newHashSet(options.getIncludeCategories());
            intersection.retainAll(options.getExcludeCategories());
            if (!intersection.isEmpty()) {
                if (intersection.size() == 1) {
                    LOGGER.warn("The category '" + intersection.iterator().next() + "' is both included and excluded.  " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestFramework.java

        }
    
        private void validateOptions() {
            Set<String> intersection = Sets.newHashSet(options.getIncludeTags());
            intersection.retainAll(options.getExcludeTags());
            if (!intersection.isEmpty()) {
                if (intersection.size() == 1) {
                    LOGGER.warn("The tag '" + intersection.iterator().next() + "' is both included and excluded.  " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/sets/set_generic_test.go

    	}
    
    	for _, test := range tests {
    		intersection := test.s1.Intersection(test.s2)
    		if intersection.Len() != test.expected.Len() {
    			t.Errorf("Expected intersection.Len()=%d but got %d", test.expected.Len(), intersection.Len())
    		}
    
    		if !intersection.Equal(test.expected) {
    			t.Errorf("Expected intersection.Equal(expected) but not true.  intersection:%v expected:%v", sets.List(intersection), sets.List(intersection))
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 09:03:44 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. pkg/config/host/names.go

    			return true
    		}
    	}
    	return false
    }
    
    // Intersection returns the subset of host names that are covered by both h and other.
    // e.g.:
    //
    //	Names(["foo.com","bar.com"]).Intersection(Names(["*.com"]))         = Names(["foo.com","bar.com"])
    //	Names(["foo.com","*.net"]).Intersection(Names(["*.com","bar.net"])) = Names(["foo.com","bar.net"])
    //	Names(["foo.com","*.net"]).Intersection(Names(["*.bar.net"]))       = Names(["*.bar.net"])
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 01 19:19:22 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/s390x/rotate.go

    func (r RotateParams) InMask() uint64 {
    	return bits.RotateLeft64(r.OutMask(), -int(r.Amount))
    }
    
    // OutMerge tries to generate a new set of parameters representing
    // the intersection between the selected bits and the provided mask.
    // If the intersection is unrepresentable (0 or not contiguous) nil
    // will be returned.
    func (r RotateParams) OutMerge(mask uint64) *RotateParams {
    	mask &= r.OutMask()
    	if mask == 0 {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 21 19:19:04 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/base-services-groovy/src/test/groovy/org/gradle/api/specs/SpecsTest.groovy

            def spec = Stub(Spec)
    
            expect:
            Specs.negate(Specs.negate(spec)) == spec
        }
    
        def "intersection of no specs is all"() {
            expect:
            Specs.intersect() == Specs.satisfyAll()
            Specs.intersect([]) == Specs.satisfyAll()
        }
    
        def "intersection of a spec is that spec"() {
            def spec = Stub(Spec)
    
            expect:
            Specs.intersect(spec) == spec
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. pkg/config/host/names_test.go

    			host.Names{},
    		},
    	}
    
    	for idx, tt := range tests {
    		t.Run(fmt.Sprintf("%d", idx), func(t *testing.T) {
    			result := tt.a.Intersection(tt.b)
    			if !reflect.DeepEqual(result, tt.intersection) {
    				t.Fatalf("%v.Intersection(%v) = %v, want %v", tt.a, tt.b, result, tt.intersection)
    			}
    		})
    	}
    }
    
    func TestNamesForNamespace(t *testing.T) {
    	tests := []struct {
    		hosts     []string
    		namespace string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 10:35:13 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top