- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IntArray (0.38 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt
* Settings are [connection][Http2Connection] scoped. */ class Settings { /** Bitfield of which flags that values. */ private var set: Int = 0 /** Flag values. */ private val values = IntArray(COUNT) /** Returns -1 if unset. */ val headerTableSize: Int get() { val bit = 1 shl HEADER_TABLE_SIZE return if (bit and set != 0) values[HEADER_TABLE_SIZE] else -1 }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
val expected = intArrayToByteArray(bytes) val actual = bytesOut.readByteString() assertThat(actual).isEqualTo(expected) } private fun intArrayToByteArray(bytes: IntArray): ByteString { val data = ByteArray(bytes.size) for (i in bytes.indices) { data[i] = bytes[i].toByte() } return ByteString.of(*data) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0)