Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 186 for Intersections (0.28 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. staging/src/k8s.io/apimachinery/pkg/util/sets/byte.go

    func (s1 Byte) Union(s2 Byte) Byte {
    	return Byte(cast(s1).Union(cast(s2)))
    }
    
    // Intersection returns a new set which includes the item in BOTH s1 and s2
    // For example:
    // s1 = {a1, a2}
    // s2 = {a2, a3}
    // s1.Intersection(s2) = {a2}
    func (s1 Byte) Intersection(s2 Byte) Byte {
    	return Byte(cast(s1).Intersection(cast(s2)))
    }
    
    // IsSuperset returns true if and only if s1 is a superset of s2.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/sets/int64.go

    func (s1 Int64) Union(s2 Int64) Int64 {
    	return Int64(cast(s1).Union(cast(s2)))
    }
    
    // Intersection returns a new set which includes the item in BOTH s1 and s2
    // For example:
    // s1 = {a1, a2}
    // s2 = {a2, a3}
    // s1.Intersection(s2) = {a2}
    func (s1 Int64) Intersection(s2 Int64) Int64 {
    	return Int64(cast(s1).Intersection(cast(s2)))
    }
    
    // IsSuperset returns true if and only if s1 is a superset of s2.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 3.9K bytes
    - Viewed (0)
Back to top