Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 276 for validateID (0.09 seconds)

  1. internal/bucket/replication/rule.go

    	}
    	return ""
    }
    
    // Validate - validates the rule element
    func (r Rule) Validate(bucket string, sameTarget bool) error {
    	if err := r.validateID(); err != nil {
    		return err
    	}
    	if err := r.validateStatus(); err != nil {
    		return err
    	}
    	if err := r.validateFilter(); err != nil {
    		return err
    	}
    	if err := r.DeleteMarkerReplication.Validate(); err != nil {
    		return err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

        private boolean validateId(
                String fieldName, ModelProblemCollector problems, String id, InputLocationTracker tracker) {
            return validateId(EMPTY, fieldName, problems, Severity.ERROR, Version.BASE, id, null, tracker);
        }
    
        @SuppressWarnings("checkstyle:parameternumber")
        private boolean validateId(
                String prefix,
                String fieldName,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/InputValidator.java

            }
        }
    
        /**
         * Validates a string is not null or empty
         *
         * @param value the string to validate
         * @param fieldName the field name for error reporting
         * @return the validated string
         * @throws IllegalArgumentException if string is null or empty
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

         *
         * @param repositories the list of repositories to validate, may be {@code null}
         * @return the same list if validation passes, or {@code null} if input was {@code null}
         * @throws IllegalArgumentException if the list contains duplicate repositories
         * @throws IllegalArgumentException if the list contains null repository entries
         */
        default List<RemoteRepository> validate(List<RemoteRepository> repositories) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  5. cmd/bucket-handlers_test.go

    	}
    
    	// ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse,
    	// sets the bucket policy using the policy statement generated from `getReadOnlyBucketStatement` so that the
    	// unsigned request goes through and its validated again.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 39.8K bytes
    - Click Count (0)
  6. .github/workflows/validate-codeowners.yml

    dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1763676920 +0000
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 22:15:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. cmd/batch-rotate.go

    	}
    	if err := r.Encryption.Validate(); err != nil {
    		return err
    	}
    
    	for _, tag := range r.Flags.Filter.Tags {
    		if err := tag.Validate(); err != nil {
    			return err
    		}
    	}
    
    	for _, meta := range r.Flags.Filter.Metadata {
    		if err := meta.Validate(); err != nil {
    			return err
    		}
    	}
    
    	return r.Flags.Retry.Validate()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

         */
        protected boolean isFileSystemPath(final String url) {
            return ComponentUtil.getProtocolHelper().isFileSystemPath(url);
        }
    
        /**
         * Validates if the URL is safe for redirection.
         *
         * @param url the URL to validate
         * @return true if the URL is valid for redirection, false otherwise
         */
        protected boolean isValidRedirectUrl(final String url) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. cmd/batch-job-common-types.go

    	var tmp retry
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*r = BatchJobRetry(tmp)
    	r.line, r.col = val.Line, val.Column
    	return nil
    }
    
    // Validate validates input replicate retries.
    func (r BatchJobRetry) Validate() error {
    	if r.Attempts < 0 {
    		return BatchJobYamlErr{
    			line: r.line,
    			col:  r.col,
    			msg:  "Invalid arguments specified",
    		}
    	}
    
    	if r.Delay < 0 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

                return 8; // Minimum size: count + padding + flags
            }
            return 8 + (this.compressionAlgorithms.length * 2);
        }
    
        /**
         * Validates if the compression algorithm is known.
         *
         * @param algorithm the algorithm to validate
         * @return true if the algorithm is known
         */
        private boolean isValidCompressionAlgorithm(int algorithm) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 7.5K bytes
    - Click Count (0)
Back to Top