- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 107 for some (0.17 sec)
-
okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt
@RegisterExtension val clientTestRule = OkHttpClientTestRule() private lateinit var server: MockWebServer private lateinit var client: OkHttpClient @BeforeEach fun setUp() { // Sockets on some platforms can have large buffers that mean writes do not block when // required. These socket factories explicitly set the buffer sizes on sockets created. server = MockWebServer() server.serverSocketFactory =
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
/** * Returns the effective top-level domain plus one (eTLD+1) by referencing the public suffix list. * Returns null if the domain is a public suffix or a private address. * * Here are some examples: * * ```java * assertEquals("google.com", getEffectiveTldPlusOne("google.com")); * assertEquals("google.com", getEffectiveTldPlusOne("www.google.com")); * assertNull(getEffectiveTldPlusOne("com"));
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.7K bytes - Viewed (0) -
CONTRIBUTING.md
squash all pull requests on merge. Gradle Setup ------------ ``` $ cat local.properties sdk.dir=PATH_TO_ANDROID_HOME/sdk org.gradle.caching=true ``` Running Android Tests --------------------- $ ANDROID_SDK_ROOT=PATH_TO_ANDROID_HOME/sdk ./gradlew :android-test:connectedCheck -PandroidBuild=true Committer's Guides ------------------ * [Concurrency][concurrency]
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Tue Feb 14 08:26:50 GMT 2023 - 2K bytes - Viewed (0) -
docs/contribute/contributing.md
squash all pull requests on merge. Gradle Setup ------------ ``` $ cat local.properties sdk.dir=PATH_TO_ANDROID_HOME/sdk org.gradle.caching=true ``` Running Android Tests --------------------- $ ANDROID_SDK_ROOT=PATH_TO_ANDROID_HOME/sdk ./gradlew :android-test:connectedCheck -PandroidBuild=true Committer's Guides ------------------ * [Concurrency][concurrency]
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Tue Feb 14 08:26:50 GMT 2023 - 2K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
* The cache stores its data in a directory on the filesystem. This directory must be exclusive to * the cache; the cache may delete or overwrite files from its directory. It is an error for * multiple processes to use the same cache directory at the same time. * * This cache limits the number of bytes that it will store on the filesystem. When the number of * stored bytes exceeds the limit, the cache will remove entries in the background until the limit
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 34.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Connection.kt
* one or more streams, and then released. An allocated connection won't be stolen by other calls * while a redirect or authorization challenge is being handled. * * When the maximum concurrent streams limit is reduced, some allocations will be rescinded. * Attempting to create new streams on these allocations will fail. * * Note that an allocation may be released before its stream is completed. This is intended to make
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 4.3K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt
val inetAddress = socket.localAddress var hostname = inetAddress.hostName if (inetAddress is Inet6Address && hostname.contains(':')) { // hostname is likely some form representing the IPv6 bytes // 2001:0db8:85a3:0000:0000:8a2e:0370:7334 // 2001:db8:85a3::8a2e:370:7334 // ::1 hostname = "[$hostname]" }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt
this.cancelMode = mode.first this.connectionType = mode.second if (connectionType == H2) { platform.assumeHttp2Support() } // Sockets on some platforms can have large buffers that mean writes do not block when // required. These socket factories explicitly set the buffer sizes on sockets created. server = MockWebServer() server.serverSocketFactory =
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 9.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
.build() assertThat(get(url).body.string()).isEqualTo("A") } @Test fun iterateCache() { // Put some responses in the cache. server.enqueue( MockResponse.Builder() .body("a") .build(), ) val urlA = server.url("/a") assertThat(get(urlA).body.string()).isEqualTo("a")
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
checkPublicSuffix("biz", null) checkPublicSuffix("domain.biz", "domain.biz") checkPublicSuffix("b.domain.biz", "domain.biz") checkPublicSuffix("a.b.domain.biz", "domain.biz") // TLD with some 2-level rules. checkPublicSuffix("com", null) checkPublicSuffix("example.com", "example.com") checkPublicSuffix("b.example.com", "example.com") checkPublicSuffix("a.b.example.com", "example.com")
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.3K bytes - Viewed (0)