Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 582 for ToPath (0.15 sec)

  1. analysis/analysis-api-standalone/analysis-api-standalone-native/tests/org/jetbrains/kotlin/analysis/api/standalone/konan/fir/test/cases/session/builder/NativeStandaloneSessionBuilderAgainstStdlibTest.kt

            val konanHome = KotlinNativePaths.homePath
            doTestKotlinStdLibResolve(
                NativePlatforms.unspecifiedNativePlatform,
                konanHome.resolve(konanCommonLibraryPath(KONAN_STDLIB_NAME)).toPath()
            )
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Feb 08 20:43:11 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/internal/cache/CacheDirTagMarkingStrategy.java

    import java.io.Serializable;
    
    public class CacheDirTagMarkingStrategy implements MarkingStrategy, Serializable {
        @Override
        public void tryMarkCacheDirectory(File file) {
            CacheDirUtil.tryMarkCacheDirectoryByTag(file.toPath());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 25 20:35:25 UTC 2023
    - 974 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/writing-tasks/tasks-with-dependency-resolution-result-inputs/common/dependency-reports/src/main/java/com/example/GraphResolvedComponents.java

                Set<ResolvedComponentResult> seen = new HashSet<>();
                reportComponent(getRootComponent().get(), writer, seen, "");
            }
            try (Stream<String> stream = Files.lines(outputFile.toPath())) {
                stream.forEach(System.out::println);
            }
        }
    
        private void reportComponent(
            ResolvedComponentResult component,
            PrintWriter writer,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogFile.groovy

            return logFile
        }
    
        String getText() throws IOException {
            return logFile.getText(charset.name())
        }
    
        Stream<String> lines() throws IOException {
            return Files.lines(logFile.toPath(), charset)
        }
    
        @Override
        String toString() {
            return "DaemonLogFile(${logFile.absolutePath}, charset=${charset.name()})"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 09:22:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                    // to delete on exit
                }
            } else if (metadataFile.exists()) {
                try (InputStream input = Files.newInputStream(metadataFile.toPath())) {
                    metadata = new Metadata(new MetadataStaxReader().read(input, false));
                }
            }
    
            boolean changed;
    
            // If file could not be found or was not valid, start from scratch
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

    import okhttp3.Cache
    import okhttp3.Dns
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.ByteString.Companion.decodeHex
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperIntegrationTest.groovy

            boolean deletedSomething = false
            gradleUserHome.eachFileRecurse(FileType.FILES) { file ->
                if (file.name.startsWith("gradle-launcher")) {
                    Files.delete(file.toPath())
                    println("Deleting " + file)
                    deletedSomething = true
                }
            }
            and:
            result = executer.withTasks("hello").run()
            then:
            deletedSomething
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-unzip/groovy/build.gradle

            }
            if (entry.isDirectory) {
                output.mkdirs()
            } else {
                output.parentFile.mkdirs()
                zip.getInputStream(entry).withCloseable { Files.copy(it, output.toPath()) }
            }
    // tag::artifact-transform-unzip[]
        }
    }
    // end::artifact-transform-unzip[]
    
    def usage = Attribute.of('usage', String)
    // tag::artifact-transform-registration[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/FileBytesValueSource.java

    public abstract class FileBytesValueSource extends FileContentValueSource<byte[]> {
    
        @Override
        protected byte[] obtainFrom(File file) {
            try {
                return Files.readAllBytes(file.toPath());
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransaction.java

            }
        }
    
        private static void moveFile(File sourceFile, File destinationFile) {
            try {
                destinationFile.getParentFile().mkdirs();
                Files.move(sourceFile.toPath(), destinationFile.toPath(), REPLACE_EXISTING);
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        private static class StashedFile {
            private final File sourceFile;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 13.3K bytes
    - Viewed (0)
Back to top