Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 441 for validateID (0.07 sec)

  1. cmd/xl-storage-format-v2_test.go

    	// Remove entry
    	xl2.data.remove(fi.VersionID)
    	failOnErr(xl2.data.validate())
    	if xl2.data.find(fi.VersionID) != nil {
    		t.Fatal("Data was not removed:", xl2.data.find(fi.VersionID))
    	}
    	if xl2.data.entries() != 1 {
    		t.Fatal("want 1 entry, got", xl2.data.entries())
    	}
    	// Re-add
    	xl2.data.replace(fi.VersionID, fi.Data)
    	failOnErr(xl2.data.validate())
    	if xl2.data.entries() != 2 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. cmd/prepare-storage.go

    	resp, err := httpClient.Do(req)
    	if err != nil {
    		return err
    	}
    	xhttp.DrainBody(resp.Body)
    
    	return nil
    }
    
    // connect to list of endpoints and load all Erasure disk formats, validate the formats are correct
    // and are in quorum, if no formats are found attempt to initialize all of them for the first
    // time. additionally make sure to close all the disks used in this attempt.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  3. docs/en/docs/tutorial/body.md

    ...and declare its type as the model you created, `Item`.
    
    ## Results
    
    With just that Python type declaration, **FastAPI** will:
    
    * Read the body of the request as JSON.
    * Convert the corresponding types (if needed).
    * Validate the data.
        * If the data is invalid, it will return a nice and clear error, indicating exactly where and what was the incorrect data.
    * Give you the received data in the parameter `item`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. src/main/webapp/css/bootstrap.min.css.map

    right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);\n}\n\n.was-validated .custom-select:valid:focus, .custom-select.is-valid:focus {\n  border-color: #28a745;\n  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);\n}\n\n.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {\n  color: #28a745;\n}\n\n.was-validated .form-check-input:valid ~ .valid-feedback,\n.was-validated .form-check-input:valid ~ .valid-tooltip, .form-check-input.is-valid...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 04:21:06 UTC 2020
    - 626.8K bytes
    - Viewed (0)
  5. internal/logger/config.go

    		cfg.AuditKafka = make(map[string]kafka.Config)
    		if cfg, err = lookupAuditKafkaConfig(scfg, cfg); err != nil {
    			return cfg, err
    		}
    	}
    	return cfg, nil
    }
    
    // ValidateSubSysConfig - validates logger related config of given sub-system
    func ValidateSubSysConfig(ctx context.Context, scfg config.Config, subSys string) error {
    	// Lookup for legacy environment variables first
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. cmd/os-readdir_test.go

    	// Setup and capture test results for directory with files and symlink.
    	testResults = append(testResults, setupTestReadDirSymlink(t)...)
    
    	// Remove all dirs once tests are over.
    	defer teardown(testResults)
    
    	// Validate all the results.
    	for _, r := range testResults {
    		if entries, err := readDir(r.dir); err != nil {
    			t.Fatal("failed to run test.", err)
    		} else {
    			// Keep entries sorted for easier comparison.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  7. internal/config/api/api.go

    	SyncEvents                  bool          `json:"sync_events"`
    	ObjectMaxVersions           int64         `json:"object_max_versions"`
    }
    
    // UnmarshalJSON - Validate SS and RRS parity when unmarshalling JSON.
    func (sCfg *Config) UnmarshalJSON(data []byte) error {
    	type Alias Config
    	aux := &struct {
    		*Alias
    	}{
    		Alias: (*Alias)(sCfg),
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. cmd/object-api-utils_test.go

    	for i := range parts {
    		if errs[i] == nil {
    			if parts[i].Name == objectName {
    				t.Errorf("path traversal allowed to allow writing to minioMetaBucket: %s", instanceType)
    			}
    		}
    	}
    }
    
    // Tests validate bucket name.
    func TestIsValidBucketName(t *testing.T) {
    	testCases := []struct {
    		bucketName string
    		shouldPass bool
    	}{
    		// cases which should pass the test.
    		// passing in valid bucket names.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. cmd/postpolicyform.go

    	case policyCondEqual:
    		return input1 == input2
    	case policyCondStartsWith:
    		return strings.HasPrefix(input1, input2)
    	}
    	return false
    }
    
    // checkPostPolicy - apply policy conditions and validate input values.
    // (http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html)
    func checkPostPolicy(formValues http.Header, postPolicyForm PostPolicyForm) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. impl/maven-core/lifecycle-executor.txt

              <type>java.lang.String[]</type>
              <required>false</required>
              <editable>true</editable>
            </parameter>
          </parameters>
    
    - we need to know what came from the POM, and validate those
    - plugin in any default values
    - check to see if anything is missing
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top