Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 524 for subset16 (1.45 sec)

  1. pkg/config/labels/instance_test.go

    			right:    labels.Instance{"foo": ""},
    			expected: result{false, false},
    		},
    	}
    	for _, c := range cases {
    		var got result
    		got.subsetOf = c.left.SubsetOf(c.right)
    		got.selected = c.left.Match(c.right)
    		if got != c.expected {
    			t.Errorf("%v.SubsetOf(%v) got %v, expected %v", c.left, c.right, got, c.expected)
    		}
    	}
    }
    
    func TestString(t *testing.T) {
    	cases := []struct {
    		input    labels.Instance
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 16 06:54:36 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    	}{
    		{
    			name: "expression exceed RuntimeCELCostBudget at fist expression",
    			validations: []ExpressionAccessor{
    				&condition{
    					Expression: "has(object.subsets) && object.subsets.size() < 2",
    				},
    				&condition{
    					Expression: "has(object.subsets)",
    				},
    			},
    			attributes:               newValidAttribute(nil, false),
    			hasParamKind:             false,
    			testRuntimeCELCostBudget: 1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertThat(set.subSet(1, 4)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.subSet(2, 4)).containsExactly(2, 3).inOrder();
        assertThat(set.subSet(3, 4)).containsExactly(3).inOrder();
        assertThat(set.subSet(3, 3)).isEmpty();
        assertThat(set.subSet(2, 3)).containsExactly(2).inOrder();
        assertThat(set.subSet(1, 3)).containsExactly(1, 2).inOrder();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease.go

    		if ip.Labels[APIServerIdentityLabel] == serverId {
    			if len(ip.Subsets) > 0 {
    				var ipStr, portStr string
    				if len(ip.Subsets[0].Addresses) > 0 {
    					if len(ip.Subsets[0].Addresses[0].IP) > 0 {
    						ipStr = ip.Subsets[0].Addresses[0].IP
    					}
    				}
    				if len(ip.Subsets[0].Ports) > 0 {
    					portStr = fmt.Sprint(ip.Subsets[0].Ports[0].Port)
    				}
    				fullAddr = net.JoinHostPort(ipStr, portStr)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller_test.go

    		endpointSlices     []*discovery.EndpointSlice
    		expectedNumActions int
    		expectedNumSlices  int
    	}{{
    		testName: "Endpoints with no addresses",
    		service:  &v1.Service{},
    		endpoints: &v1.Endpoints{
    			Subsets: []v1.EndpointSubset{{
    				Ports: []v1.EndpointPort{{Port: 80}},
    			}},
    		},
    		endpointSlices:     []*discovery.EndpointSlice{},
    		expectedNumActions: 0,
    		expectedNumSlices:  0,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  9. 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)
  10. samples/bookinfo/networking/virtual-service-reviews-50-v3.yaml

    kind: VirtualService
    metadata:
      name: reviews
    spec:
      hosts:
        - reviews
      http:
      - route:
        - destination:
            host: reviews
            subset: v1
          weight: 50
        - destination:
            host: reviews
            subset: v3
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 09 23:15:58 UTC 2018
    - 290 bytes
    - Viewed (0)
Back to top