Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 278 for subreg (0.12 sec)

  1. src/cmd/compile/internal/typecheck/subr.go

    	// types: structs parent the types they embed, and types parent their
    	// fields or methods. Our goal here is to find the shortest path to
    	// a field or method named s in the subtree rooted at t. To accomplish
    	// that, we iteratively perform depth-first searches of increasing depth
    	// until we either find the named field/method or exhaust the tree.
    	for d := 0; ; d++ {
    		if d > len(dotlist) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        table.put("foo", 2, 'b');
        assertEquals(ImmutableMap.of(2, 'b'), row);
        assertEquals(ImmutableMap.of(2, 'b'), subRow);
        row.clear();
        assertEquals(ImmutableMap.of(), row);
        assertEquals(ImmutableMap.of(), subRow);
        table.put("foo", 5, 'x');
        assertEquals(ImmutableMap.of(5, 'x'), row);
        assertEquals(ImmutableMap.of(5, 'x'), subRow);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    		}
    	}
    	// validate the subnet/s
    	for _, s := range subnets {
    		numAddresses := netutils.RangeSize(s)
    		if numAddresses < minAddrs {
    			allErrs = append(allErrs, field.Invalid(fldPath, s.String(), fmt.Sprintf("subnet with %d address(es) is too small, the minimum is %d", numAddresses, minAddrs)))
    		}
    
    		// Warn when the subnet is in site-local range - i.e. contains addresses that belong to fec0::/10
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. 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)
  5. android/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
    - 47.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/constants/constants_test.go

    		expectedErr                 bool
    	}{
    		{
    			name:        "subnet mask 24",
    			svcSubnet:   "10.96.0.12/24",
    			expectedIP:  "10.96.0.1",
    			expectedErr: false,
    		},
    		{
    			name:        "subnet mask 12",
    			svcSubnet:   "10.96.0.0/12",
    			expectedIP:  "10.96.0.1",
    			expectedErr: false,
    		},
    		{
    			name:        "subnet mask 26",
    			svcSubnet:   "10.87.116.64/26",
    			expectedIP:  "10.87.116.65",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. 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)
  8. pkg/registry/core/service/ipallocator/ipallocator.go

    }
    
    // allocateNextService tries to allocate a free IP address within the subnet.
    // If the subnet is big enough, it partitions the subnet into two subranges,
    // delimited by a.rangeOffset.
    // It tries to allocate a free IP address from the upper subnet first and
    // falls back to the lower subnet.
    // It starts allocating from a random IP within each range.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/networkfilter_test.go

    			name: "tunneling_config should be applied when destination rule has specified tunnel settings for a subset matching the destination route subset",
    			routeDestinations: []*networking.RouteDestination{
    				{
    					Destination: &networking.Destination{
    						Host:   "tunnel-proxy.com",
    						Port:   &networking.PortSelector{Number: 3128},
    						Subset: "example-com-8443",
    					},
    				},
    			},
    			destinationRule: tunnelingEnabledForSubset,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    						"test case failed :\n\t   err(s): %v\n\t", allErrs[0].Error(),
    					)
    				}
    			}
    		})
    	}
    }
    
    func TestValidateIPNetFromString(t *testing.T) {
    	var tests = []struct {
    		name     string
    		subnet   string
    		minaddrs int64
    		expected bool
    	}{
    		// dual-stack:
    		{"invalid missing CIDR", "", 0, false},
    		{"valid dual-stack enabled but only an IPv4 CIDR specified", "10.0.0.16/12", 10, true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top