- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 746 for validate (0.2 sec)
-
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 Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 8.6K 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 }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Nov 22 18:51:46 GMT 2023 - 6.3K bytes - Viewed (0) -
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) -
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 {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 01 21:53:26 GMT 2024 - 7.9K bytes - Viewed (0) -
internal/bucket/replication/and.go
// isEmpty returns true if Tags field is null func (a And) isEmpty() bool { return len(a.Tags) == 0 && a.Prefix == "" } // Validate - validates the And field func (a And) Validate() error { if a.ContainsDuplicateTag() { return errDuplicateTagKey } for _, t := range a.Tags { if err := t.Validate(); err != nil { return err } } return nil }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
// ============== @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index(final SearchForm form) { validate(form, messages -> {}, this::asDictIndexHtml); stopwordsPager.clear(); return asHtml(path_AdminDictStopwords_AdminDictStopwordsJsp).renderWith(data -> { searchPaging(data, form); }); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.7K bytes - Viewed (0) -
fastapi/datastructures.py
yield cls.validate @classmethod def validate(cls: Type["UploadFile"], v: Any) -> Any: if not isinstance(v, StarletteUploadFile): raise ValueError(f"Expected UploadFile, received: {type(v)}") return v @classmethod def _validate(cls, __input_value: Any, _: Any) -> "UploadFile":
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 5.6K 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 != "" {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Sep 28 18:25:46 GMT 2022 - 3.5K bytes - Viewed (2) -
maven-core/src/test/resources-project-builder/plugin-exec-order/wo-plugin-mgmt/pom.xml
XML - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sun Mar 29 19:02:56 GMT 2020 - 2K bytes - Viewed (0) -
internal/config/notify/legacy.go
) // SetNotifyKafka - helper for config migration from older config. func SetNotifyKafka(s config.Config, name string, cfg target.KafkaArgs) error { if !cfg.Enable { return nil } if err := cfg.Validate(); err != nil { return err } s[config.NotifyKafkaSubSys][name] = config.KVS{ config.KV{ Key: config.Enable, Value: config.EnableOn, }, config.KV{ Key: target.KafkaBrokers,
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Mar 19 04:37:54 GMT 2024 - 13.1K bytes - Viewed (0)