- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 93 for toPatch (0.2 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
import okhttp3.Headers.Companion.headersOf import okhttp3.internal.buildCache import okhttp3.java.net.cookiejar.JavaNetCookieJar import okhttp3.okio.LoggingFilesystem import okhttp3.testing.PlatformRule import okio.Path.Companion.toPath import okio.fakefilesystem.FakeFileSystem import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (0) -
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 =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt
* limitations under the License. */ package okhttp3 import okio.Buffer import okio.Path import okio.Path.Companion.toPath val okHttpRoot: Path get() = getEnv("OKHTTP_ROOT")!!.toPath() fun String(vararg codePoints: Int): String { val buffer = Buffer() for (codePoint in codePoints) { buffer.writeUtf8CodePoint(codePoint) } return buffer.readUtf8()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 931 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/ResourcePublicSuffixList.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.publicsuffix import okio.FileSystem import okio.Path import okio.Path.Companion.toPath import okio.Source internal class ResourcePublicSuffixList( override val path: Path = PUBLIC_SUFFIX_RESOURCE, val fileSystem: FileSystem = FileSystem.Companion.RESOURCES, ) : BasePublicSuffixList() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 1.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
@Override 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: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
return Objects.requireNonNull(project.getFile(), "pomPath cannot be null") .toPath(); } @Nonnull @Override public Path getBasedir() { return Objects.requireNonNull(project.getBasedir(), "basedir cannot be null") .toPath(); } @Nonnull @Override public List<DependencyCoordinates> getDependencies() {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Mar 24 22:23:23 UTC 2025 - 8.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
*/ protected FileOwnerAttributeView parseFileOwnerAttribute(final ResponseData responseData, final File file) { try { final FileOwnerAttributeView ownerAttrView = Files.getFileAttributeView(file.toPath(), FileOwnerAttributeView.class); if (ownerAttrView != null) { final UserPrincipal owner = ownerAttrView.getOwner(); if (owner != null) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 15.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java
ResponseData data = new ResponseData(); File tempFile = File.createTempFile("test", ".txt"); try { String content = "File content"; Files.write(tempFile.toPath(), content.getBytes(StandardCharsets.UTF_8)); data.setResponseBody(tempFile, false); assertTrue(data.hasResponseBody()); assertNotNull(data.getResponseBody());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.3K bytes - Viewed (0) -
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
import okio.Path import okio.Path.Companion.toPath import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test @Tag("Slow") class OsgiTest { private lateinit var testResourceDir: Path private lateinit var workspaceDir: Path @BeforeEach fun setUp() { testResourceDir = "./build/resources/test/okhttp3/osgi".toPath() workspaceDir = testResourceDir / "workspace"Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
String parentContent = new String(Files.readAllBytes(parent.toPath()), StandardCharsets.UTF_8); parentContent = parentContent.replace( "<packaging>pom</packaging>", "<packaging>pom</packaging><properties><addedProperty>addedValue</addedProperty></properties>"); Files.write(parent.toPath(), parentContent.getBytes(StandardCharsets.UTF_8)); // re-build pom with modified parent
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 17.6K bytes - Viewed (0)