- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for Natchev (2.04 sec)
-
samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt
* limitations under the License. */ package okhttp3.compare import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.matches import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.testing.PlatformRule import org.junit.jupiter.api.Test
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.8K bytes - Viewed (0) -
okhttp-brotli/src/test/java/okhttp3/brotli/BrotliBombTest.kt
* limitations under the License. */ package okhttp3.brotli import assertk.assertFailure import assertk.assertions.isInstanceOf import assertk.assertions.isNotNull import assertk.assertions.matches import assertk.assertions.message import okhttp3.Protocol import okhttp3.Request import okhttp3.Response import okhttp3.ResponseBody.Companion.toResponseBody import okhttp3.brotli.internal.uncompress
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Mon Jan 29 22:50:20 GMT 2024 - 2.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt
assertFailsWith<IllegalArgumentException> { table.map(0x110000, Buffer()) } } @Test fun binarySearchEvenSizedRange() { val table = listOf(1, 3, 5, 7, 9, 11) // Search for matches. assertEquals(0, binarySearch(0, 6) { index -> 1.compareTo(table[index]) }) assertEquals(1, binarySearch(0, 6) { index -> 3.compareTo(table[index]) })
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RecordedResponse.kt
} fun assertFailureMatches(vararg patterns: String) = apply { val message = failure!!.message!! assertThat( patterns.firstOrNull { pattern -> message.matches(pattern.toRegex()) }, ).isNotNull() } fun assertSentRequestAtMillis( minimum: Long, maximum: Long, ) = apply {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* * We define these values: * * * **b0b1s7**: (b0 << 14) + (b1 << 7) * * **b2b3s2**: (b2 << 9) + (b3 << 2) * * b0b1s7 is the section prefix. If a section is omitted, that means its ranges data exactly matches * that of the preceding section. * * b2b3s2 is the offset into the ranges data. It is shifted by 2 because ranges are 4-byte aligned. * * Mappings Data (4,719 bytes) * =========================== *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Apr 02 11:39:58 GMT 2024 - 9K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt
fun parseIanaCsvRow(s: String): SuiteId? { if (s.contains("Reserved") || s.contains("Unassigned")) return null val matcher = IANA_CSV_PATTERN.matchEntire(s) ?: return null val id = (matcher.groupValues[1] + matcher.groupValues[2]).decodeHex() return SuiteId(id, matcher.groupValues[3]) } class IanaSuites( val name: String, val suites: List<SuiteId>, ) { fun fromJavaName(javaName: String): SuiteId {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:24:38 GMT 2024 - 2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OkHttpTest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.matches import org.junit.jupiter.api.Test class OkHttpTest { @Test fun testVersion() { assertThat(OkHttp.VERSION).matches(Regex("[0-9]+\\.[0-9]+\\.[0-9]+(-.+)?")) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Dec 21 01:54:49 GMT 2023 - 848 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SocketChannelTest.kt
sniMatchers = listOf( object : SNIMatcher(StandardConstants.SNI_HOST_NAME) { override fun matches(serverName: SNIServerName): Boolean { acceptedHostName = (serverName as SNIHostName).asciiName return true }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8K bytes - Viewed (0)