Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 364 for subset16 (0.2 sec)

  1. guava-tests/test/com/google/common/collect/SetsTest.java

        assertEquals(ImmutableSortedSet.of(4, 6, 8, 10), Sets.subSet(set, Range.atLeast(4)));
        assertEquals(ImmutableSortedSet.of(8, 10), Sets.subSet(set, Range.atLeast(7)));
        assertEquals(empty, Sets.subSet(set, Range.atLeast(20)));
    
        assertEquals(set, Sets.subSet(set, Range.greaterThan(0)));
        assertEquals(ImmutableSortedSet.of(6, 8, 10), Sets.subSet(set, Range.greaterThan(4)));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/testdata/virtualservice_destinationhosts.yaml

            host: reviews
            subset: v1
        mirror:
          host: reviews-bogus # This host does not exist, should result in a validation error
          subset: v1
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: reviews-bogusport
      namespace: default
    spec:
      http:
      - route:
        - destination:
            host: reviews
            subset: v1
            port:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 21 21:37:53 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. pkg/config/validation/validation_test.go

    			Host: "",
    			Subsets: []*networking.Subset{
    				{Name: "v1", Labels: map[string]string{"version": "v1"}},
    				{Name: "v2", Labels: map[string]string{"version": "v2"}},
    			},
    		}, valid: false},
    
    		{name: "missing subset name", in: &networking.DestinationRule{
    			Host: "reviews",
    			Subsets: []*networking.Subset{
    				{Name: "", Labels: map[string]string{"version": "v1"}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        SortedSet<String> set = of("e");
        assertTrue(set.subSet("c", "g") instanceof ImmutableSortedSet);
        assertThat(set.subSet("c", "g")).contains("e");
        assertThat(set.subSet("e", "g")).contains("e");
        assertSame(this.<String>of(), set.subSet("f", "g"));
        assertSame(this.<String>of(), set.subSet("c", "e"));
        assertSame(this.<String>of(), set.subSet("c", "d"));
      }
    
      public void testSingle_first() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  5. pkg/test/datasets/validation/dataset/networking-v1-VirtualService.yaml

    kind: VirtualService
    metadata:
      name: valid-virtual-service
    spec:
      hosts:
        - c
      http:
        - route:
          - destination:
              host: c
              subset: v1
            weight: 75
          - destination:
              host: c
              subset: v2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 01 14:30:05 UTC 2024
    - 298 bytes
    - Viewed (0)
  6. pkg/test/datasets/validation/dataset/networking-v1alpha3-VirtualService.yaml

    kind: VirtualService
    metadata:
      name: valid-virtual-service
    spec:
      hosts:
        - c
      http:
        - route:
          - destination:
              host: c
              subset: v1
            weight: 75
          - destination:
              host: c
              subset: v2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 07:02:38 UTC 2023
    - 304 bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/scopes/KtScopeLike.kt

         * In other words `ALL_NAMES(scope)` is a subset of `scope.getAllNames()`
         */
        public fun getAllPossibleNames(): Set<Name> = withValidityAssertion {
            getPossibleCallableNames() + getPossibleClassifierNames()
        }
    
        /**
         * Returns a **superset** of callable names which current scope may contain.
         * In other words `ALL_CALLABLE_NAMES(scope)` is a subset of `scope.getCallableNames()`
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. pkg/test/datasets/validation/dataset/networking-v1beta1-VirtualService.yaml

    kind: VirtualService
    metadata:
      name: valid-virtual-service
    spec:
      hosts:
        - c
      http:
        - route:
          - destination:
              host: c
              subset: v1
            weight: 75
          - destination:
              host: c
              subset: v2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 01 14:30:05 UTC 2024
    - 303 bytes
    - Viewed (0)
  9. pkg/proxy/nftables/proxier_test.go

    	}
    	subset1 := func(eps *discovery.EndpointSlice) {
    		eps.AddressType = discovery.AddressTypeIPv4
    		eps.Endpoints = []discovery.Endpoint{{
    			Addresses: []string{"10.1.1.1"},
    		}}
    		eps.Ports = []discovery.EndpointPort{{
    			Name:     ptr.To("p11"),
    			Port:     ptr.To[int32](11),
    			Protocol: ptr.To(v1.ProtocolUDP),
    		}}
    	}
    	subset2 := func(eps *discovery.EndpointSlice) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  10. pkg/maps/maps.go

    	maps.Copy(dst, override)
    	return dst
    }
    
    // Contains checks if all key-value pairs in 'subset' are present in 'superset'.
    // It returns true only if every key in 'subset' exists in 'superset' and their corresponding values are equal.
    func Contains[M1, M2 ~map[K]V, K comparable, V comparable](superset M1, subset M2) bool {
    	for key, value := range subset {
    		if supersetValue, ok := superset[key]; !ok || supersetValue != value {
    			return false
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 01 22:48:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top