- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 584 for _validate (0.04 sec)
-
internal/bucket/lifecycle/and.go
// isEmpty returns true if Tags field is null func (a And) isEmpty() bool { return len(a.Tags) == 0 && !a.Prefix.set && a.ObjectSizeGreaterThan == 0 && a.ObjectSizeLessThan == 0 } // Validate - validates the And field func (a And) Validate() error { // > This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. // ref: https://docs.aws.amazon.com/AmazonS3/latest/API/API_LifecycleRuleAndOperator.html
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.9K bytes - Viewed (0) -
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 != "" {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Sep 28 18:25:46 UTC 2022 - 3.5K bytes - Viewed (0) -
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 }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 6.3K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration.go
var exp expirationWrapper err := d.DecodeElement(&exp, &startElement) if err != nil { return err } *e = Expiration(exp) e.set = true return nil } // Validate - validates the "Expiration" element func (e Expiration) Validate() error { if !e.set { return nil } // DeleteMarker cannot be specified if date or dates are specified. if (!e.IsDaysNull() || !e.IsDateNull()) && e.DeleteMarker.set {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
return this.credentialType; } /** * Returns the server signature used to validate PAC integrity. * @return the server signature */ public PacSignature getServerSignature() { return this.serverSignature; } /** * Returns the KDC signature used to validate PAC authenticity. * @return the KDC signature */ public PacSignature getKdcSignature() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
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) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 11 09:47:03 UTC 2025 - 9K bytes - Viewed (0) -
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()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.7K bytes - Viewed (0) -
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 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0) -
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) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginDependenciesValidator.java
} @Override public void validate( RepositorySystemSession session, Artifact pluginArtifact, ArtifactDescriptorResult artifactDescriptorResult) { if (artifactDescriptorResult.getDependencies() != null) { doValidate(session, pluginArtifact, artifactDescriptorResult); } } protected abstract void doValidate( RepositorySystemSession session,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0)