Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 382 for validname (0.1 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    			}
    			if tc.expectedParsingErr != nil {
    				// We already expect a parsing error,
    				// no need to continue this test.
    				return
    			}
    			err = lc.Validate(tc.lr)
    			if err != tc.expectedValidationErr {
    				t.Fatalf("%d: Expected %v during validation but got %v", i+1, tc.expectedValidationErr, err)
    			}
    		})
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. README.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Coming back to the previous code example, **FastAPI** will:
    
    * Validate that there is an `item_id` in the path for `GET` and `PUT` requests.
    * Validate that the `item_id` is of type `int` for `GET` and `PUT` requests.
        * If it is not, the client will see a useful, clear error.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. internal/bucket/object/lock/lock.go

    	// ErrMalformedXML - generic error indicating malformed XML
    	ErrMalformedXML = errors.New("the XML you provided was not well-formed or did not validate against our published schema")
    )
    
    const (
    	ntpServerEnv = "MINIO_NTP_SERVER"
    )
    
    var ntpServer = env.Get(ntpServerEnv, "")
    
    // UTCNowNTP - is similar in functionality to UTCNow()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. cmd/auth-handler_test.go

    		{
    			authT: authTypeUnknown,
    			pass:  false,
    		},
    		// Test 10 - some new auth type is not supported s3 type.
    		{
    			authT: authType(9),
    			pass:  false,
    		},
    	}
    	// Validate all the test cases.
    	for i, tt := range testCases {
    		ok := isSupportedS3AuthType(tt.authT)
    		if ok != tt.pass {
    			t.Errorf("Test %d:, Expected %t, got %t", i+1, tt.pass, ok)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. cmd/handler-utils.go

    // Parses location constraint from the incoming reader.
    func parseLocationConstraint(r *http.Request) (location string, s3Error APIErrorCode) {
    	// If the request has no body with content-length set to 0,
    	// we do not have to validate location constraint. Bucket will
    	// be created at default region.
    	locationConstraint := createBucketLocationConfiguration{}
    	err := xmlDecoder(r.Body, &locationConstraint, r.ContentLength)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (1)
  6. go.mod

    	github.com/docker/distribution v2.8.3+incompatible // indirect
    	github.com/docker/docker-credential-helpers v0.8.2 // indirect
    	github.com/emicklei/go-restful/v3 v3.12.0 // indirect
    	github.com/envoyproxy/protoc-gen-validate v1.1.0 // indirect
    	github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect
    	github.com/fatih/camelcase v1.0.0 // indirect
    	github.com/felixge/httpsnoop v1.0.4 // indirect
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 06:23:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/plugins/form-validator/security.js

    name="'+h+'"]');if(!i.length)return a.formUtils.warn('Password confirmation validator: could not find an input with name "'+h+'"',!0),!1;if(g=i.val(),d.validateOnBlur&&!i[0].hasValidationCallback){i[0].hasValidationCallback=!0;var j=function(){c.validate()};i.on("keyup",j),f.one("formValidationSetup",function(){i[0].hasValidationCallback=!1,i.off("keyup",j)})}return b===g},errorMessage:"",errorMessageKey:"notConfirmed"});var c={amex:[15,15],diners_club:[14,14],cjb:[16,16],laser:[16,19],visa:[16,...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 10.5K bytes
    - Viewed (1)
  8. internal/logger/target/http/http.go

    }
    
    // AssignMigrateTarget assigns a target
    // which will eventually replace the current target.
    func (h *Target) AssignMigrateTarget(migrateTgt *Target) {
    	h.migrateTarget = migrateTgt
    }
    
    // Init validate and initialize the http target
    func (h *Target) Init(ctx context.Context) (err error) {
    	if h.config.QueueDir != "" {
    		return h.initQueueOnce.DoWithContext(ctx, h.initDiskStore)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    			return nil, nil, fmt.Errorf("xlMetaV2.Load version(%d), CRC mismatch, want 0x%x, got 0x%x", minor, crc, got)
    		}
    	} else {
    		return nil, nil, err
    	}
    	data = buf
    	if data.validate() != nil {
    		data.repair()
    	}
    
    	return meta, data, nil
    }
    
    type xlMetaV2ShallowVersion struct {
    	header xlMetaV2VersionHeader
    	meta   []byte
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/Tables.java

          Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) {
        checkArgument(backingMap.isEmpty());
        checkNotNull(factory);
        // TODO(jlevy): Wrap factory to validate that the supplied maps are empty?
        return new StandardTable<>(backingMap, factory);
      }
    
      /**
       * Returns a view of a table where each value is transformed by a function. All other properties
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top