- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,316 for path1b (0.04 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java
@Override public String alignToBaseDirectory(String path, File basedir) { String result = path; if (path != null && basedir != null) { path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar); File file = new File(path); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're doneRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 2.1K bytes - Viewed (0) -
mvnw
# For Cygwin, switch paths to Windows format before running java if $cygwin; then [ -n "$JAVA_HOME" ] \ && JAVA_HOME=$(cygpath --path --windows "$JAVA_HOME") [ -n "$CLASSPATH" ] \ && CLASSPATH=$(cygpath --path --windows "$CLASSPATH") [ -n "$MAVEN_PROJECTBASEDIR" ] \ && MAVEN_PROJECTBASEDIR=$(cygpath --path --windows "$MAVEN_PROJECTBASEDIR") fiRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Oct 14 22:24:15 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
* <pre> * Path baseDir = Paths.get("/var/app/data"); * Path userPath = Paths.get(userInput); * if (!FileUtil.isPathSafe(userPath, baseDir)) { * throw new SecurityException("Path traversal attempt detected"); * } * </pre> * * @param pathToCheck the path to validate (must not be {@literal null})
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
scripts/people.py
import logging import secrets import subprocess import time from collections import Counter from collections.abc import Container from datetime import datetime, timedelta, timezone from pathlib import Path from typing import Any, Union import httpx import yaml from github import Github from pydantic import BaseModel, SecretStr from pydantic_settings import BaseSettings github_graphql_url = "https://api.github.com/graphql"
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 12.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 11.1K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java
InternalMavenSession.from(InternalSession.from(session)) .getMavenSession() .getRequest() .setRootDirectory(Paths.get("src/test/resources/consumer/trivial")); Path file = Paths.get("src/test/resources/consumer/trivial/child/pom.xml"); ModelBuilder.ModelBuilderSession mbs = modelBuilder.newSession();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 7.2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.cli; import java.io.File; import java.nio.file.Paths; /** * Resolve relative file path against the given base directory */ @Deprecated public class ResolveFile { public static File resolveFile(File file, String baseDirectory) { if (file == null) { return null;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 08 08:49:11 UTC 2024 - 1.4K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
@Warmup(iterations = 3) @Measurement(time = 10) public class Xpp3DomPerfTest { @State(Scope.Benchmark) public static class AdditionState { List<Path> poms; @Setup(Level.Iteration) public void setUp() throws IOException { Path userHome = Paths.get(System.getProperty("user.home")); poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven"))Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 3.3K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/MavenSecDispatcher.java
super(dispatchers, configurationFile()); } private static Path configurationFile() { String mavenUserConf = System.getProperty(Constants.MAVEN_USER_CONF); if (mavenUserConf != null) { return Paths.get(mavenUserConf, FILE_NAME); } // this means we are in UT or alike return Paths.get(System.getProperty("user.home"), ".m2", FILE_NAME); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
tests/test_custom_middleware_exception.py
client = TestClient(app) def test_custom_middleware_exception(tmp_path: Path): default_pydantic_max_size = 2**16 path = tmp_path / "test.txt" path.write_bytes(b"x" * (default_pydantic_max_size + 1)) with client: with open(path, "rb") as file: response = client.post("/middleware", files={"file": file})
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Aug 25 21:44:40 UTC 2022 - 2.8K bytes - Viewed (0)