Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 330 for toPaths (0.48 sec)

  1. okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt

    import java.net.InetAddress
    import java.net.UnknownHostException
    import okhttp3.Cache
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.AssumptionViolatedException
    import org.junit.Before
    import org.junit.Test
    import org.junit.runner.RunWith
    import org.robolectric.RobolectricTestRunner
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        }
    
        public void merge(File current, File result) throws RepositoryException {
            try {
                if (current.exists()) {
                    Files.createDirectories(result.toPath().getParent());
                    Files.copy(current.toPath(), result.toPath());
                }
                ArtifactRepository localRepo = new MetadataRepository(result);
                metadata.storeInLocalRepository(localRepo, localRepo);
                merged = true;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            def copy = file("other")
    
            given:
            run("work")
            run("work")
            result.assertTasksSkipped(":work")
    
            when:
            Files.move(inDir.toPath(), copy.toPath(), StandardCopyOption.ATOMIC_MOVE)
            inDir.deleteDir()
            inDir.createLink(copy)
    
            run("work")
    
            /*
             * This documents the current behavior, which is optimizing
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DependencyManagementBuildTreeScopeServices.java

                "resource-at-url",
                timeProvider,
                cacheAccessCoordinator,
                externalResourceFileStore.getFileAccessTracker(),
                artifactCacheMetadata.getCacheDir().toPath()
            );
        }
    
        @Provides
        FileStoreAndIndexProvider createFileStoreAndIndexProvider(
            BuildCommencedTimeProvider timeProvider,
            ArtifactCachesProvider artifactCaches,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ManagedFilePropertyJavaInterOpIntegrationTest.groovy

                    public abstract RegularFileProperty getOutFile();
    
                    @TaskAction
                    public void run() throws IOException {
                        Files.write(getOutFile().get().getAsFile().toPath(), "content".getBytes());
                    }
                }
            """
    
        }
    
        @Override
        void taskWithNestedBeanDefinition() {
            pluginDir.file("src/main/java/ProducerTask.java") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/impl/SingleDepthFileAccessTracker.java

            Preconditions.checkArgument(depth > 0, "depth must be > 0: %s", depth);
            this.baseDir = baseDir.toPath().toAbsolutePath();
            this.startNameIndex = this.baseDir.getNameCount();
            this.endNameIndex = startNameIndex + depth;
        }
    
        @Override
        public void markAccessed(File file) {
            Path path = file.toPath().toAbsolutePath();
            if (path.getNameCount() >= endNameIndex && path.startsWith(baseDir)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/install/internal/SecureFileDownloaderTest.groovy

            given:
            def downloader = new SecureFileDownloader(transportFactory)
            def destinationFile = new File(Files.createTempDirectory(temporaryFolder.toPath(), null).toFile(), "target")
    
            when:
            URI uri = URI.create("https://foo")
            downloader.download(uri, destinationFile, downloader.getResourceFor(uri, Collections.emptyList()))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/scaladoc/ScalaDocRelocationIntegrationTest.groovy

            }
            classes.baseline()
            buildScript(classes.buildScript())
        }
    
        @Override
        protected void moveFilesAround() {
            Files.move(file("src/main/scala").toPath(), file("src/main/new-scala").toPath())
            classes.sourceDir = 'src/main/new-scala'
            buildScript(classes.buildScript())
            // Move scala library dependency around on disk
            executer.requireOwnGradleUserHomeDir()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

    import javax.net.ssl.SSLSocketFactory
    import okhttp3.ConnectionSpec
    import okhttp3.OkHttp
    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.conscrypt.Conscrypt
    
    fun currentOkHttp(ianaSuites: IanaSuites): Client {
      return Client(
        userAgent = "OkHttp",
        version = OkHttp.VERSION,
        enabled =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. build-logic/lifecycle/src/main/kotlin/gradlebuild.teamcity-import-test-data.gradle.kts

                println("##teamcity[importData type='junit' path='$outputXmlPath/TEST-*.xml' verbose='true']")
            }
        }
    }
    
    if (isTeamCityParallelTestsEnabled) {
        val gradleRootDir = repoRoot().asFile.toPath()
        project.gradle.taskGraph.whenReady {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 06 09:11:39 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top