- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 37 for getPath (0.18 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
Path actual = project.getFile().toPath(); Path parent = project.getBaseDirectory(); ModelSource source = new ModelSource() { @Override public Path getPath() { return actual; } @Override public InputStream openStream() throws IOException { return Files.newInputStream(actual); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 8.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar"); assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar")); assertThat(urls.get(2).getProtocol()).isEqualTo("file"); assertThat(urls.get(2).getAuthority()).isNull(); assertThat(urls.get(2).getPath()).endsWith("/relative/path/to/class/root");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 23.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
@Test public void test_getType() { assertEquals("mapping", charMappingFile.getType()); } // Test getPath method @Test public void test_getPath() { assertEquals(testFile.getAbsolutePath(), charMappingFile.getPath()); } // Test getSimpleName method @Test public void test_getSimpleName() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
private static class BadLengthFile extends File { private final long badLength; BadLengthFile(File delegate, long badLength) { super(delegate.getPath()); this.badLength = badLength; } @Override public long length() { return badLength; } private static final long serialVersionUID = 0; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 22.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar"); assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar")); assertThat(urls.get(2).getProtocol()).isEqualTo("file"); assertThat(urls.get(2).getAuthority()).isNull(); assertThat(urls.get(2).getPath()).endsWith("/relative/path/to/class/root");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 25.8K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt
if (it == -1) -1 else it + startIndex } } private fun File.asClickableFileUrl(): String { return URI("file", "", toURI().getPath(), null, null).toASCIIString()
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:40:18 GMT 2026 - 13.8K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
} } ``` You should prefer to use managed types when possible. #### Identity information This is an inappropriate use of lazy types: ```groovy class Example { Provider<String> getPath() { return project.provider(() -> path) } } ``` Like above, this is an immutable part of the identity of the domain object and cannot be changed. ### Properties in entirely new classesCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
.build()); Files.createDirectories(fs.getPath("dir/b/i/j/l")); Files.createFile(fs.getPath("dir/a")); Files.createFile(fs.getPath("dir/c")); Files.createSymbolicLink(fs.getPath("dir/d"), fs.getPath("b/i")); Files.createDirectory(fs.getPath("dir/e")); Files.createSymbolicLink(fs.getPath("dir/f"), fs.getPath("/dontdelete")); Files.createFile(fs.getPath("dir/b/g"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 26.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
.build()); Files.createDirectories(fs.getPath("dir/b/i/j/l")); Files.createFile(fs.getPath("dir/a")); Files.createFile(fs.getPath("dir/c")); Files.createSymbolicLink(fs.getPath("dir/d"), fs.getPath("b/i")); Files.createDirectory(fs.getPath("dir/e")); Files.createSymbolicLink(fs.getPath("dir/f"), fs.getPath("/dontdelete")); Files.createFile(fs.getPath("dir/b/g"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 27.5K bytes - Click Count (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
server.useHttps(sslContext.getSocketFactory(), false); server.setDispatcher(this); server.start(port); } @Override public MockResponse dispatch(RecordedRequest request) { String path = request.getPath(); try { if (!path.startsWith("/") || path.contains("..")) throw new FileNotFoundException(); File file = new File(root + path); return file.isDirectory() ? directoryToResponse(path, file)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 5.3K bytes - Click Count (0)