- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,582 for pathOf (0.1 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
* segments `["a", "b"]` build "/a/b" and the segments `["a", "b", ""]` build "/a/b/". * * If a path's last segment is the empty string then the path ends with "/". This class always * builds non-empty paths: if the path is omitted it defaults to "/". The default path's segment * list is a single empty string: `[""]`. * * ### Query *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java
import java.io.File; import java.nio.file.Path; import java.util.List; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; public class JavaPathTypeTest { /** * {@return dummy paths to use in tests}. */ private static List<Path> paths() { return List.of(Path.of("src", "foo.java"), Path.of("src", "bar.java")); } /**Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 2.3K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
ModelSource source = Sources.buildSource(path); assertNotNull(source); assertInstanceOf(Sources.BuildPathSource.class, source); assertEquals(path.normalize(), source.getPath()); } @Test void testResolvedSource() { Path path = Paths.get("/tmp"); String location = "custom-location"; ModelSource source = Sources.resolvedSource(path, location);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
String path = "\\\\server\\share\\folder"; String normalized = validator.validatePath(path); assertEquals("\\server\\share\\folder", normalized); } @Test public void testUncPathNotAllowed() throws Exception { PathValidator noUncValidator = new PathValidator(260, 255, false, false); // Due to normalization bug, UNC paths are not properly detectedRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
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 lengthRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
.generated_files
# <type> <name> # # Type can be: # path - an exact path to a single file # file-name - an exact leaf filename, regardless of path # path-prefix - a prefix match on the file path # file-prefix - a prefix match of the leaf filename (no path) # paths-from-repo - read a file from the repo and load file paths # file-prefix zz_generated. file-name types.generated.go
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Tue Oct 04 23:47:25 UTC 2022 - 750 bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* * @param artifact the artifact for which to associate a path * @param path path to associate to the given artifact * * @see org.apache.maven.api.services.ArtifactManager#setPath(ProducedArtifact, Path) */ void setArtifactPath(@Nonnull ProducedArtifact artifact, @Nonnull Path path); /** * Shortcut for {@code getService(ArtifactManager.class).getPath(...)}.Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 36.5K bytes - Viewed (0) -
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")Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6K bytes - Viewed (0) -
cmd/namespace-lock.go
ns *nsLockMap volume string paths []string opsID string } // NewNSLock - returns a lock instance for a given volume and // path. The returned lockInstance object encapsulates the nsLockMap, // volume, path and operation ID. func (n *nsLockMap) NewNSLock(lockers func() ([]dsync.NetLocker, string), volume string, paths ...string) RWLocker { sort.Strings(paths) opsID := mustGetUUID() if n.isDistErasure {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 9.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java
} @Override public String findTool(String toolName) { Path toRet = findTool(toolName, Paths.get(getJavaHome()).normalize()); if (toRet != null) { return toRet.toAbsolutePath().toString(); } return null; } private static Path findTool(String toolName, Path installDir) { Path bin = installDir.resolve("bin"); // NOI18N if (Files.isDirectory(bin)) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.6K bytes - Viewed (0)