Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 138 for toPatch (0.06 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestApiTask.java

            try {
                // check source folder for tests
                if (sourceResourceDir != null && new File(sourceResourceDir, REST_TEST_PREFIX).exists()) {
                    return Files.walk(sourceResourceDir.toPath().resolve(REST_TEST_PREFIX))
                        .anyMatch(p -> p.getFileName().toString().endsWith("yml"));
                }
                // check output for cases where tests are copied programmatically
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.4K bytes
    - Click Count (0)
  2. 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 =
      Client(
        userAgent = "OkHttp",
        version = OkHttp.VERSION,
        enabled =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

            val classGraph = classGraph()
    
            val jarUri = URI.create("jar:${jarFile.toPath().toUri()}")
            FileSystems.newFileSystem(jarUri, emptyMap<String, Any>()).use { jarFileSystem ->
                jarFileSystem.rootDirectories.forEach {
                    visitClassDirectory(it, classGraph, classesDir, manifestFile.toPath(), buildReceipt.toPath())
                }
            }
            return classGraph
        }
    
        private
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Mar 22 03:48:38 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt

    
    @DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly")
    abstract class SubprojectsInfo : DefaultTask() {
    
        private
        val rootPath = project.layout.projectDirectory.asFile.toPath()
    
        private
        val platformsFolder = project.layout.projectDirectory.dir("platforms")
    
        private
        val subprojectsFolder = project.layout.projectDirectory.dir("subprojects")
    
        private
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 10 01:32:13 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy

                        def outputDir = shortName.startsWith('gradle-') ? gradleJars : dependencies
                        def out = new File(outputDir, shortName)
                        Files.copy(zin, out.toPath())
                        zin.closeEntry()
                    }
                }
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jul 08 13:44:59 GMT 2021
    - 2.4K bytes
    - Click Count (0)
  6. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

    import okhttp3.survey.types.SuiteId
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.conscrypt.Conscrypt
    
    @Suppress("ktlint:standard:property-naming")
    suspend fun main() {
      val includeConscrypt = false
    
      val client =
        OkHttpClient
          .Builder()
          .cache(Cache(FileSystem.SYSTEM, "build/okhttp_cache".toPath(), 100_000_000))
          .build()
    
      val sslLabsClients = SslLabsClient(client).clients()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

      }
    
      private void doTestGeneral(CharMatcher matcher, char match, char noMatch) {
        doTestOneCharMatch(matcher, "" + match);
        doTestOneCharNoMatch(matcher, "" + noMatch);
        doTestMatchThenNoMatch(matcher, "" + match + noMatch);
        doTestNoMatchThenMatch(matcher, "" + noMatch + match);
      }
    
      private void doTestOneCharMatch(CharMatcher matcher, String s) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ReleaseHighlightsGenerator.java

            try (FileWriter output = new FileWriter(outputFile)) {
                output.write(
                    generateFile(QualifiedVersion.of(VersionProperties.getElasticsearch()), Files.readString(templateFile.toPath()), entries)
                );
            }
        }
    
        @VisibleForTesting
        static String generateFile(QualifiedVersion version, String template, List<ChangelogEntry> entries) throws IOException {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesInfoTask.java

                output.append(dep.getGroup() + ":" + dep.getName() + "," + dep.getVersion() + "," + url + "," + licenseType + "\n");
            }
    
            Files.write(outputFile.toPath(), output.toString().getBytes("UTF-8"), StandardOpenOption.CREATE);
        }
    
        @Input
        public LinkedHashMap<String, String> getMappings() {
            return mappings;
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

        @Override
        public Metadata read(File input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            return read(Files.newInputStream(input.toPath()), options);
        }
    
        @Override
        public Metadata read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top