Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 338 for validateId (0.17 sec)

  1. tests/benchmarks/test_general_performance.py

        items: list[dict[str, Any]]
        metadata: dict[str, Any]
    
    
    class LargeOut(BaseModel):
        items: list[dict[str, Any]]
        metadata: dict[str, Any]
    
    
    app = FastAPI()
    
    
    @app.post("/sync/validated", response_model=ItemOut)
    def sync_validated(item: ItemIn, dep: Annotated[int, Depends(dep_b)]):
        return ItemOut(name=item.name, value=item.value, dep=dep)
    
    
    @app.get("/sync/dict-no-response-model")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 20:40:26 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

         * @param form The search form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            kuromojiPager.clear();
            return asHtml(path_AdminDictKuromoji_AdminDictKuromojiJsp).renderWith(data -> {
                searchPaging(data, form);
            });
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. okhttp-hpacktests/README.md

    OkHttp HPACK tests
    ==================
    
    These tests use the [hpack-test-case][1] project to validate OkHttp's HPACK
    implementation.  The HPACK test cases are in a separate git submodule, so to
    initialize them, you must run:
    
        git submodule init
        git submodule update
    
    TODO
    ----
    
     * Add maven goal to avoid manual call to git submodule init.
     * Make hpack-test-case update itself from git, and run new tests.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Dec 15 16:59:53 UTC 2014
    - 578 bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                return !(isLocal(url.getHost()) || url.getProtocol().equals("file"));
            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
            }
        }
    
        private static boolean isLocal(String host) {
            return "localhost".equals(host) || "127.0.0.1".equals(host);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java

            descriptor.setArtifactId("maven-it-plugin");
            descriptor.setVersion("0.1");
            List<String> errors = new ArrayList<>();
            mavenPluginValidator.validate(plugin, descriptor, errors);
            assertTrue(
                    errors.isEmpty(), "Expected collection to be empty but had " + errors.size() + " elements: " + errors);
        }
    
        @Test
        void testInvalidGroupId() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. 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 {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py

    from docs_src.path_operation_advanced_configuration.tutorial006_py39 import app
    
    client = TestClient(app)
    
    
    def test_post():
        response = client.post("/items/", content=b"this is actually not validated")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "size": 30,
            "content": {
                "name": "Maaaagic",
                "price": 42,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            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());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

         * @return HTML response for the synonym dictionary index page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            synonymPager.clear();
            return asHtml(path_AdminDictSynonym_AdminDictSynonymJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.7K bytes
    - Viewed (1)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java

        }
    
        /**
         * Validate the specified settings.
         *
         * @param settings The settings to validate, must not be {@code null}.
         * @return The list of problems that were encountered, must not be {@code null}.
         */
        @Nonnull
        default ProblemCollector<BuilderProblem> validate(@Nonnull Settings settings) {
            return validate(settings, false);
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top