Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,141 for valid (0.05 sec)

  1. cmd/kubeadm/app/constants/constants_test.go

    		{
    			svcSubnetList: "192.168.10.0/24",
    			expected:      "192.168.10.0/24",
    			expectedError: false,
    			name:          "valid: valid IPv4 range from single-stack",
    		},
    		{
    			svcSubnetList: "fd03::/112",
    			expected:      "fd03::/112",
    			expectedError: false,
    			name:          "valid: valid IPv6 range from single-stack",
    		},
    		{
    			svcSubnetList: "192.168.10.0/24,fd03::/112",
    			expected:      "192.168.10.0/24",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. pkg/apis/node/validation/validation_test.go

    	tests := []struct {
    		name       string
    		scheduling *node.Scheduling
    		expectErrs int
    	}{{
    		name: "valid scheduling",
    		scheduling: &node.Scheduling{
    			NodeSelector: map[string]string{"valid": "yes"},
    			Tolerations: []core.Toleration{{
    				Key:      "valid",
    				Operator: core.TolerationOpExists,
    				Effect:   core.TaintEffectNoSchedule,
    			}},
    		},
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/testdata/mesh.status.yaml.golden

    kind: HTTPRoute
    metadata:
      creationTimestamp: null
      name: consumer-override
      namespace: default
    spec: null
    status:
      parents:
      - conditions:
        - lastTransitionTime: fake
          message: Route was valid
          reason: Accepted
          status: "True"
          type: Accepted
        - lastTransitionTime: fake
          message: All references resolved
          reason: ResolvedRefs
          status: "True"
          type: ResolvedRefs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. src/unicode/utf8/example_test.go

    	// true
    	// false
    }
    
    func ExampleValid() {
    	valid := []byte("Hello, 世界")
    	invalid := []byte{0xff, 0xfe, 0xfd}
    
    	fmt.Println(utf8.Valid(valid))
    	fmt.Println(utf8.Valid(invalid))
    	// Output:
    	// true
    	// false
    }
    
    func ExampleValidRune() {
    	valid := 'a'
    	invalid := rune(0xfffffff)
    
    	fmt.Println(utf8.ValidRune(valid))
    	fmt.Println(utf8.ValidRune(invalid))
    	// Output:
    	// true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 05 21:29:18 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  5. src/go/types/index.go

    	check.nonGeneric(nil, x)
    	if x.mode == invalid {
    		return false
    	}
    
    	// ordinary index expression
    	valid := false
    	length := int64(-1) // valid if >= 0
    	switch typ := under(x.typ).(type) {
    	case *Basic:
    		if isString(typ) {
    			valid = true
    			if x.mode == constant_ {
    				length = int64(len(constant.StringVal(x.val)))
    			}
    			// an indexed string always yields a byte value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. tests/test_serialize_response_model.py

    
    class Item(BaseModel):
        name: str = Field(alias="aliased_name")
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return Item(aliased_name="valid", price=1.0)
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return Item(aliased_name="coerce", price="1.0")
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/cni-watcher_test.go

    func TestProcessAddEventGoodPayload(t *testing.T) {
    	valid := CNIPluginAddEvent{
    		Netns:        "/var/netns/foo",
    		PodName:      "pod-bingo",
    		PodNamespace: "funkyns",
    	}
    
    	payload, _ := json.Marshal(valid)
    
    	addEvent, err := processAddEvent(payload)
    
    	assert.NoError(t, err)
    	assert.Equal(t, valid, addEvent)
    }
    
    func TestProcessAddEventBadPayload(t *testing.T) {
    	valid := CNIPluginAddEvent{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. dbflute_fess/dfprop/outsideSqlMap.dfprop

        #  You can specify target catalog of generated parameter bean for procedure.
        #  This property is valid only when generateProcedureParameterBean is valid.
        #
        #; targetProcedureCatalogList = list:{FOO_CATALOG ; prefix:FOO_ ; suffix:_FOO ; contain:_FOO_}
        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 8K bytes
    - Viewed (0)
  9. tests/integration/security/jwt_test.go

    						opts.HTTP.Path = "/valid-aud"
    						opts.HTTP.Headers = headers.New().WithAuthz(jwt.TokenIssuer1).Build()
    						opts.Check = check.Status(http.StatusForbidden)
    					},
    				},
    				{
    					name: "valid-aud",
    					customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/valid-aud"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  10. tools/bug-report/pkg/processlog/processlog.go

    func getTimeRange(logStr string, start, end time.Time) string {
    	var sb strings.Builder
    	write := false
    	for _, l := range strings.Split(logStr, "\n") {
    		t, _, _, valid := parseLog(l)
    		if valid {
    			write = false
    			if (t.Equal(start) || t.After(start)) && (t.Equal(end) || t.Before(end)) {
    				write = true
    			}
    		}
    		if write {
    			sb.WriteString(l)
    			sb.WriteString("\n")
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 21:44:33 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top