Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 249 for validate (0.17 sec)

  1. tests/test_validate_response.py

    Sebastián Ramírez <******@****.***> 1688749933 +0200
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. tests/test_validate_response_dataclass.py

    Sebastián Ramírez <******@****.***> 1688749933 +0200
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  3. tests/test_validate_response_recursive/test_validate_response_recursive_pv1.py

    Sebastián Ramírez <******@****.***> 1688749933 +0200
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 900 bytes
    - Viewed (0)
  4. tests/test_validate_response_recursive/test_validate_response_recursive_pv2.py

    Sebastián Ramírez <******@****.***> 1688749933 +0200
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 900 bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/rule.go

    			if buf.Len() > 0 {
    				buf.WriteString("&")
    			}
    			buf.WriteString(t.String())
    		}
    		return buf.String()
    	}
    	return ""
    }
    
    // Validate - validates the rule element
    func (r Rule) Validate() error {
    	if err := r.validateID(); err != nil {
    		return err
    	}
    	if err := r.validateStatus(); err != nil {
    		return err
    	}
    	if err := r.validateExpiration(); err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/InvalidatableSet.java

        validate();
        return delegate;
      }
    
      private InvalidatableSet(
          Set<E> delegate, Supplier<Boolean> validator, Supplier<String> errorMessage) {
        this.delegate = delegate;
        this.validator = validator;
        this.errorMessage = errorMessage;
      }
    
      // Override hashCode() to access delegate directly (so that it doesn't trigger the validate() call
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java

            List<BuilderProblem> problems = validator.validate(model);
            assertEquals(0, problems.size());
    
            Repository repo = org.apache.maven.api.settings.Repository.newInstance(false);
            Settings model2 = Settings.newBuilder()
                    .profiles(List.of(prof.withRepositories(List.of(repo))))
                    .build();
            problems.clear();
            problems = validator.validate(model2);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  8. internal/bucket/replication/filter.go

    	return e.EncodeToken(xml.EndElement{Name: start.Name})
    }
    
    // Validate - validates the filter element
    func (f Filter) Validate() error {
    	// A Filter must have exactly one of Prefix, Tag, or And specified.
    	if !f.And.isEmpty() {
    		if f.Prefix != "" {
    			return errInvalidFilter
    		}
    		if !f.Tag.IsEmpty() {
    			return errInvalidFilter
    		}
    		if err := f.And.Validate(); err != nil {
    			return err
    		}
    	}
    	if f.Prefix != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 28 18:25:46 GMT 2022
    - 3.5K bytes
    - Viewed (2)
  9. cmd/handler-utils_test.go

    		}
    	}
    }
    
    // Tests validate metadata extraction from http headers.
    func TestExtractMetadataHeaders(t *testing.T) {
    	testCases := []struct {
    		header     http.Header
    		metadata   map[string]string
    		shouldFail bool
    	}{
    		// Validate if there a known 'content-type'.
    		{
    			header: http.Header{
    				"Content-Type": []string{"image/png"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  10. cmd/batch-replicate.go

    }
    
    // BatchJobReplicateResourceType defines the type of batch jobs
    type BatchJobReplicateResourceType string
    
    // Validate validates if the replicate resource type is recognized and supported
    func (t BatchJobReplicateResourceType) Validate() error {
    	switch t {
    	case BatchJobReplicateResourceMinIO:
    	case BatchJobReplicateResourceS3:
    	default:
    		return errInvalidArgument
    	}
    	return nil
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 6.3K bytes
    - Viewed (0)
Back to top