Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 661 for validates (0.06 seconds)

  1. 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
      // via delegate()); it seems inappropriate to throw ISE on this method.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/query-params-str-validations.md

    In those cases, you can use a **custom validator function** that is applied after the normal validation (e.g. after validating that the value is a `str`).
    
    You can achieve that using <a href="https://docs.pydantic.dev/latest/concepts/validators/#field-after-validator" class="external-link" target="_blank">Pydantic's `AfterValidator`</a> inside of `Annotated`.
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.34.md

    - github.com/envoyproxy/go-control-plane: [v0.13.0 → v0.13.4](https://github.com/envoyproxy/go-control-plane/compare/v0.13.0...v0.13.4)
    - github.com/envoyproxy/protoc-gen-validate: [v1.1.0 → v1.2.1](https://github.com/envoyproxy/protoc-gen-validate/compare/v1.1.0...v1.2.1)
    - github.com/fsnotify/fsnotify: [v1.7.0 → v1.9.0](https://github.com/fsnotify/fsnotify/compare/v1.7.0...v1.9.0)
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Dec 10 01:13:50 GMT 2025
    - 333.3K bytes
    - Click Count (2)
  4. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            SimpleProblemCollector problems = new SimpleProblemCollector();
            validator.validate(model, problems);
            assertEquals(0, problems.messages.size());
    
            Repository repo = new Repository(org.apache.maven.api.settings.Repository.newInstance(false));
            prof.addRepository(repo);
            problems = new SimpleProblemCollector();
            validator.validate(model, problems);
            assertEquals(2, problems.messages.size());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. docs/en/docs/features.md

    * Validate **complex structures**:
        * Use of hierarchical Pydantic models, Python `typing`’s `List` and `Dict`, etc.
        * And validators allow complex data schemas to be clearly and easily defined, checked and documented as JSON Schema.
        * You can have deeply **nested JSON** objects and have them all validated and annotated.
    * **Extensible**:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            SimpleProblemCollector result = validate("missing-artifactId-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
            assertEquals("'artifactId' is missing.", result.getErrors().get(0));
        }
    
        @Test
        void testMissingGroupId() throws Exception {
            SimpleProblemCollector result = validate("missing-groupId-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/query-params-str-validations.md

    Você pode fazer isso usando o <a href="https://docs.pydantic.dev/latest/concepts/validators/#field-after-validator" class="external-link" target="_blank">`AfterValidator` do Pydantic</a> dentro de `Annotated`.
    
    /// tip | Dica
    
    O Pydantic também tem <a href="https://docs.pydantic.dev/latest/concepts/validators/#field-before-validator" class="external-link" target="_blank">`BeforeValidator`</a> e outros. 🤓
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/util/PathValidator.java

            this.strictMode = strictMode;
            this.blacklistedPaths = new HashSet<>();
            this.whitelistedPaths = new HashSet<>();
        }
    
        /**
         * Validate and normalize a path
         *
         * @param path the path to validate
         * @return normalized safe path
         * @throws SmbException if path is invalid or dangerous
         */
        public String validatePath(String path) throws SmbException {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java

            return determineValid(value);
        }
    
        /**
         * Determines if the given value is a valid cron expression.
         * @param value the value to validate
         * @return true if valid, false otherwise
         */
        protected boolean determineValid(final String value) {
            if (StringUtil.isNotBlank(value) && !LaCronUtil.isCronExpValid(value)) {
                return false;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/body-fields.md

    # Corpo - Campos { #body-fields }
    
    Da mesma forma que você pode declarar validações adicionais e metadados nos parâmetros de uma *função de operação de rota* com `Query`, `Path` e `Body`, você pode declarar validações e metadados dentro de modelos do Pydantic usando `Field` do Pydantic.
    
    ## Importe `Field` { #import-field }
    
    Primeiro, você tem que importá-lo:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning | Atenção
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top