- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 140 for toPatch (0.17 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
import okio.BufferedSink import okio.ByteString import okio.ByteString.Companion.encodeUtf8 import okio.FileSystem import okio.Path import okio.Path.Companion.toPath import okio.buffer /** * Downloads the public suffix list from https://publicsuffix.org/list/public_suffix_list.dat and * transforms the file into an efficient format used by OkHttp. * *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Aug 06 05:33:11 GMT 2025 - 6.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java
Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE); if (Files.exists(upgradedPropertiesJson)) { Files.copy(upgradedPropertiesJson, to.getAsFile().get().toPath(), StandardCopyOption.REPLACE_EXISTING); } else { to.getAsFile().get().delete(); } } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e);
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/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 scratchCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
} return true; } final File parentFile = outputFile.getParentFile(); final Path parentPath = parentFile.toPath(); try { Files.createDirectories(parentPath); } catch (final IOException e) { logger.warn("Failed to create parent directory: {}", parentFile.getAbsolutePath(), e);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 16.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantMachine.java
public static String convertLinuxPath(Project project, String path) { return "/elasticsearch/" + project.getRootDir().toPath().relativize(Paths.get(path)); } public static String convertWindowsPath(Project project, String path) { return "C:\\elasticsearch\\" + project.getRootDir().toPath().relativize(Paths.get(path)).toString().replace('/', '\\'); } public static class VagrantExecSpec {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 7.5K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java
metadata.setVersioning(recessive.getVersioning()); } } @Deprecated @Override public MavenMetadata setFile(File file) { return new PluginsMetadata(pluginInfo, file.toPath(), timestamp); } @Override public MavenMetadata setPath(Path path) { return new PluginsMetadata(pluginInfo, path, timestamp); } @Override public String getGroupId() {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ReleaseNotesGenerator.java
} static void update(File templateFile, File outputFile, Map<QualifiedVersion, Set<ChangelogEntry>> changelogs) throws IOException { final String templateString = Files.readString(templateFile.toPath()); try (FileWriter output = new FileWriter(outputFile)) { output.write(generateFile(templateString, changelogs)); } } @VisibleForTestingCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 14:45:41 GMT 2021 - 4.5K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy
} if (line ==~ /-{4,}\s*/) { // Four dashes looks like a snippet if (snippet == null) { Path path = docs.dir.toPath().relativize(file.toPath()) snippet = new Snippet(path: path, start: lineNumber, testEnv: testEnv, name: name) if (lastLanguageLine == lineNumber - 1) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 20 10:08:26 GMT 2021 - 17.8K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
import okhttp3.internal.publicsuffix.ResourcePublicSuffixList.Companion.PUBLIC_SUFFIX_RESOURCE import okhttp3.internal.toCanonicalHost import okhttp3.okHttpRoot import okio.Buffer import okio.FileSystem import okio.Path.Companion.toPath import org.junit.Before import org.junit.Test import org.junit.runner.RunWith @RunWith(PublicSuffixTestRunner::class) class PublicSuffixDatabaseTest { private val publicSuffixDatabase = PublicSuffixDatabase.get()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 22:00:49 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
assertArgumentNotNull("fileToCheck", fileToCheck); assertArgumentNotNull("baseDirectory", baseDirectory); return isPathSafe(fileToCheck.toPath(), baseDirectory.toPath()); } /** * Returns the canonical path string for this abstract pathname. * * @param file the file (must not be {@literal null})
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0)