Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 1,946 for pathOf (0.05 seconds)

  1. tests/test_request_params/test_header/test_list.py

    def read_model_required_list_str(p: Annotated[HeaderModelRequiredListStr, Header()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-list-str", "/model-required-list-str"],
    )
    def test_required_list_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": True,
                "schema": {
                    "title": "P",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:31:34 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                Document moduleBDoc = Document.of(moduleBPomXml);
    
                Map<Path, Document> pomMap = new HashMap<>();
                pomMap.put(Paths.get("project", "pom.xml"), parentDoc);
                pomMap.put(Paths.get("project", "module-a", "pom.xml"), moduleADoc);
                pomMap.put(Paths.get("project", "module-b", "pom.xml"), moduleBDoc);
    
                Editor editor = new Editor(moduleBDoc);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            List<Path> paths = session.resolveDependencies(coords);
    
            assertNotNull(paths);
            assertEquals(10, paths.size());
            assertEquals("test-extension-1.jar", paths.get(0).getFileName().toString());
    
            // JUnit has an "Automatic-Module-Name", so it appears on the module path.
            Map<PathType, List<Path>> dispatched = session.resolveDependencies(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

                try {
                    if (count < 10) {
                        System.out.println(path);
                    }
                    System.out.println(path);
                    assertThat(path, is(notNullValue()));
                    assertThat(path, path.startsWith("junit") || path.startsWith("org/junit") || path.startsWith("org/hamcrest")
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/io/FileUtilTest.java

        }
    
        /**
         * Test isPathSafe with path outside base directory
         *
         * @throws Exception
         */
        @Test
        public void testIsPathSafe_PathOutsideBase() throws Exception {
            final Path baseDir = tempFolder.getRoot().toPath();
            final Path outsidePath = Paths.get("/tmp/outside.txt");
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  6. cmd/xl-storage-disk-id-check.go

    	if err != nil {
    		return err
    	}
    	defer done(0, &err)
    
    	return p.storage.DeleteBulk(ctx, volume, paths...)
    }
    
    func (p *xlStorageDiskIDCheck) Delete(ctx context.Context, volume string, path string, deleteOpts DeleteOptions) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricDelete, volume, path)
    	if err != nil {
    		return err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  7. scripts/translate.py

        return yaml.safe_load(Path("docs/language_names.yml").read_text(encoding="utf-8"))
    
    
    def generate_lang_path(*, lang: str, path: Path) -> Path:
        en_docs_path = Path("docs/en/docs")
        assert str(path).startswith(str(en_docs_path)), (
            f"Path must be inside {en_docs_path}"
        )
        lang_docs_path = Path(f"docs/{lang}/docs")
        out_path = Path(str(path).replace(str(en_docs_path), str(lang_docs_path)))
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         * Implementation may override with absolute path instead.
         */
        default Path directory() {
            Path src = Path.of("src");
            return module().map(src::resolve)
                    .orElse(src)
                    .resolve(scope().id())
                    .resolve(language().id());
        }
    
        /**
         * {@return the list of patterns for the files to include}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. .teamcity/mvnw

    MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
    
    # For Cygwin, switch paths to Windows format before running java
    if $cygwin; then
      [ -n "$M2_HOME" ] &&
        M2_HOME=`cygpath --path --windows "$M2_HOME"`
      [ -n "$JAVA_HOME" ] &&
        JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
      [ -n "$CLASSPATH" ] &&
        CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
      [ -n "$MAVEN_PROJECTBASEDIR" ] &&
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 9.8K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            BeanConfigurationPathTranslator translator = path -> new File("base", path.getPath()).getAbsoluteFile();
    
            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config);
            request.setValuePreprocessor(preprocessor).setPathTranslator(translator);
    
            configurator.configureBean(request);
    
            assertEquals(Paths.get("base/test").toAbsolutePath(), bean.file);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top