Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 2,131 for PATH (0.02 sec)

  1. fastapi/routing.py

                if dependant.call
                else EndpointContext()
            )
    
            if dependant.path:
                # For mounted sub-apps, include the mount path prefix
                mount_path = request.scope.get("root_path", "").rstrip("/")
                endpoint_ctx["path"] = f"{request.method} {mount_path}{dependant.path}"
    
            # Read body and auto-close files
            try:
                body: Any = None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/PathValidator.java

        }
    
        /**
         * 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 {
            if (path == null || path.isEmpty()) {
                throw new SmbException("Path cannot be null or empty");
            }
    
            // Check length
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

        }
    
        @Test
        @DisplayName("Should reuse existing lease for same path")
        void testReuseExistingLease() {
            String path = "/share/file.txt";
            int requestedState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
    
            Smb2LeaseKey key1 = leaseManager.requestLease(path, requestedState);
            Smb2LeaseKey key2 = leaseManager.requestLease(path, requestedState);
    
            assertEquals(key1, key2);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. 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)))
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                        .build();
                Files.writeString(parentPom, parentPomContent);
    
                // Create module directory and POM
                Path moduleDir = tempDir.resolve("module1");
                Files.createDirectories(moduleDir);
                Path modulePom = moduleDir.resolve("pom.xml");
                String modulePomContent = PomBuilder.create()
                        .parent("com.example", "parent-project", "1.0.0")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. tests/test_datastructures.py

        placeholder_a = Default("a")
        placeholder_b = Default("")
        assert placeholder_a
        assert not placeholder_b
    
    
    def test_upload_file_is_closed(tmp_path: Path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        app = FastAPI()
    
        testing_file_store: list[UploadFile] = []
    
        @app.post("/uploadfile/")
        def create_upload_file(file: UploadFile):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. lib/wasm/wasm_exec.js

    			rename(from, to, callback) { callback(enosys()); },
    			rmdir(path, callback) { callback(enosys()); },
    			stat(path, callback) { callback(enosys()); },
    			symlink(path, link, callback) { callback(enosys()); },
    			truncate(path, length, callback) { callback(enosys()); },
    			unlink(path, callback) { callback(enosys()); },
    			utimes(path, atime, mtime, callback) { callback(enosys()); },
    		};
    	}
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Sun Dec 08 15:34:47 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_files/test_tutorial002.py

                    "input": None,
                }
            ]
        }
    
    
    def test_post_files(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

        Collection<DownloadedArtifact> getArtifacts();
    
        /**
         * Retrieves the file system path associated with a specific artifact.
         *
         * @param artifact The {@link Artifact} whose path is to be retrieved.
         * @return The {@link Path} to the artifact, or {@code null} if unavailable.
         */
        @Nullable
        Path getPath(@Nonnull Artifact artifact);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/RequestWithPath.java

         */
        String getDomain();
    
        /**
         * Gets the full UNC path.
         *
         * @return the full UNC path
         */
        String getFullUNCPath();
    
        /**
         * Sets the path to the resource.
         *
         * @param path the path to set
         */
        void setPath(String path);
    
        /**
         * Sets the full UNC path components.
         *
         * @param domain the domain name
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top