- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for dynamicTable (0.09 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt
if (headerCount + 1 > dynamicTable.size) { // Need to grow the dynamic table. val doubled = arrayOfNulls<Header>(dynamicTable.size * 2) System.arraycopy(dynamicTable, 0, doubled, dynamicTable.size, dynamicTable.size) nextHeaderIndex = dynamicTable.size - 1 dynamicTable = doubled } index = nextHeaderIndex--
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 22.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
assertThat(bytesOut).isEqualTo(bytesIn) assertThat(writer.headerCount).isEqualTo(2) val tableLength = writer.dynamicTable.size var entry = writer.dynamicTable[tableLength - 1]!! checkEntry(entry, "custom-bar", "custom-header", 55) entry = writer.dynamicTable[tableLength - 2]!! checkEntry(entry, "custom-baz", "custom-header", 55) } @Test fun readerEviction() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 38.2K bytes - Viewed (0)