- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for get_files (0.06 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java
extension.getClasspath().from(runtimeClasspath); extension.getSourceRoots().from(sourcesPath.getIncoming().artifactView(v -> v.lenient(true)).getFiles()); extension.getDocumentedSource().from(sourcesPath.getIncoming().artifactView(v -> v.lenient(true)).getFiles().getAsFileTree().matching(f -> { f.include(PublicApi.INSTANCE.getIncludes()); // Filter out any non-public APIsCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 19 17:06:32 GMT 2026 - 7.6K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
} @Test public void testMultipleGetFile() throws IOException { // Calling getFile() multiple times should return the same file ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4, 5 }); File file1 = cos.getFile(); File file2 = cos.getFile(); assertEquals(file1.getAbsolutePath(), file2.getAbsolutePath());Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 11.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source)); } File file = out.getFile(); assertThat(file).isNull(); // Write data to go over the threshold if (chunk2 > 0) { write(out, data, chunk1, chunk2, singleByte); file = out.getFile(); assertEquals(dataSize, file.length()); assertTrue(file.exists());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:04:26 GMT 2026 - 8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
} @SuppressWarnings("deprecation") @Override public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException { if (project.getFile() == null) { // If there is no build POM there is no reason to inject artifacts for the consumer POM. return; } if (Features.consumerPom(session.getConfigProperties())) {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/src/com/google/common/io/FileBackedOutputStream.java
return buf; } int getCount() { return count; } } /** Returns the file holding the data (possibly null). */ @VisibleForTesting @Nullable File getFile() { return state.getFile(); } /** * Creates a new instance that uses the given file threshold, and does not reset the data when the * {@link ByteSource} returned by {@link #asByteSource} is garbage collected. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
if (dfos.isInMemory()) { contentCache = new ContentCache(dfos.getData()); } else { contentCache = new ContentCache(dfos.getFile()); } response.setContentCache(contentCache); } catch (final Exception e) { response.setContentException(e);
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 19.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
new File("/home/build/x/y/z.jar").toURI(), ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z.jar").toURI()); assertThat(ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x y.jar").getFile()) .isEqualTo("/home/build/x y.jar"); } public void testGetClassPathFromManifest_nullManifest() { assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty(); }
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) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
NoSuchFileException expected = assertThrows( NoSuchFileException.class, () -> MoreFiles.deleteRecursively(fs.getPath("/work/nothere"), ALLOW_INSECURE)); assertThat(expected.getFile()).isEqualTo("/work/nothere"); } } public void testDeleteDirectoryContents_symlinkToDir_sdsNotSupported_allowInsecure() throws IOException { try (FileSystem fs = newTestFileSystem()) {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) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
NoSuchFileException expected = assertThrows( NoSuchFileException.class, () -> MoreFiles.deleteRecursively(fs.getPath("/work/nothere"), ALLOW_INSECURE)); assertThat(expected.getFile()).isEqualTo("/work/nothere"); } } public void testDeleteDirectoryContents_symlinkToDir_sdsNotSupported_allowInsecure() throws IOException { try (FileSystem fs = newTestFileSystem()) {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/reflect/ClassPathTest.java
new File("/home/build/x/y/z.jar").toURI(), ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z.jar").toURI()); assertThat(ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x y.jar").getFile()) .isEqualTo("/home/build/x y.jar"); } public void testGetClassPathFromManifest_nullManifest() { assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty(); }
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)