- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Equal (0.15 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt
"Payload size must be less than or equal to 125", ) } } @Test fun pongTooLongThrows() { assertFailsWith<IllegalArgumentException> { serverWriter.writePong((binaryData(1000))) }.also { expected -> assertThat(expected.message).isEqualTo( "Payload size must be less than or equal to 125", ) } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.3K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
val stories = HpackJsonUtil.readStories(interopTestName) result.addAll(stories) } return result } /** * Checks if `expected` and `observed` are equal when viewed as a set and headers are * deduped. * * TODO: See if duped headers should be preserved on decode and verify. */ private fun assertSetEquals( message: String,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
fun withTag( tagClass: Int = DerHeader.TAG_CLASS_CONTEXT_SPECIFIC, tag: Long, ): BasicDerAdapter<T> = copy(tagClass = tagClass, tag = tag) /** Returns a copy of this adapter that doesn't encode values equal to [defaultValue]. */ fun optional(defaultValue: T? = null): BasicDerAdapter<T> = copy(isOptional = true, defaultValue = defaultValue) /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Viewed (0) -
docs/contribute/code_of_conduct.md
the letter. Diversity Statement ------------------- We encourage everyone to participate and are committed to building a community for all. Although we may not be able to satisfy everyone, we all agree that everyone is equal. Whenever a participant has made a mistake, we expect them to take responsibility for it. If someone has been harmed or offended, it is our responsibility to listen carefully and respectfully, and do our best to right the wrong.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 5.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CipherSuiteTest.kt
* 3.7.0 this is also true. But OkHttp 3.3.1 through 3.6.0 treated these as different. */ @Test fun forJavaName_fromLegacyEnumName() { // These would have been considered equal in OkHttp 3.3.1, but now aren't. assertThat(forJavaName("SSL_RSA_EXPORT_WITH_RC4_40_MD5")) .isEqualTo(forJavaName("TLS_RSA_EXPORT_WITH_RC4_40_MD5")) assertThat(forJavaName("SSL_DH_RSA_EXPORT_WITH_DES40_CBC_SHA"))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.2K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
val sectionIndexBuffer = Buffer() var previousMappedRanges: List<MappedRange>? = null for ((section, sectionMappedRanges) in sections) { // Skip sequential ranges when they are equal. if (sectionMappedRanges == previousMappedRanges) continue previousMappedRanges = sectionMappedRanges val sectionOffset = rangesBuffer.size.toInt() / 4 // Section prefix.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
opcode: Int, payload: ByteString, ) { if (writerClosed) throw IOException("closed") val length = payload.size require(length <= PAYLOAD_BYTE_MAX) { "Payload size must be less than or equal to $PAYLOAD_BYTE_MAX" } val b0 = B0_FLAG_FIN or opcode sinkBuffer.writeByte(b0) var b1 = length if (isClient) { b1 = b1 or B1_FLAG_MASK sinkBuffer.writeByte(b1)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.9K bytes - Viewed (0)