- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for Fpack (0.04 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt
import okio.buffer /** * Read and write HPACK v10. * * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12 * * This implementation uses an array for the dynamic table and a list for indexed entries. Dynamic * entries are added to the array, starting in the last position moving forward. When the array * fills, it is doubled. */ @Suppress("NAME_SHADOWING") object Hpack { private const val PREFIX_4_BITS = 0x0f
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-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt
import org.junit.jupiter.api.Assumptions.assumeFalse import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource /** * Tests for round-tripping headers through hpack. * * TODO: update hpack-test-case with the output of our encoder. * This test will hide complementary bugs in the encoder and decoder, * We should test that the encoder is producing responses that are */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
import okhttp3.internal.http2.hpackjson.HpackJsonUtil import okhttp3.internal.http2.hpackjson.Story import okio.Buffer /** * Tests Hpack implementation using https://github.com/http2jp/hpack-test-case/ */ open class HpackDecodeTestBase { private val bytesIn = Buffer() private val hpackReader = Hpack.Reader(bytesIn, 4096) protected fun testDecoder(story: Story) { for (testCase in story.cases) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt
import okio.ByteString /** * This class was originally composed from the following classes in * [Twitter Hpack][twitter_hpack]. * * * `com.twitter.hpack.HuffmanEncoder` * * `com.twitter.hpack.HuffmanDecoder` * * `com.twitter.hpack.HpackUtil` * * [twitter_hpack]: https://github.com/twitter/hpack */ object Huffman { // Appendix C: Huffman Codes
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.3K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
fileSystem.read(file) { return readStory(this) } } /** Iterate through the hpack-test-case resources, only picking stories for the current draft. */ fun storiesForCurrentDraft(): Array<String> { val resource = HpackJsonUtil::class.java.getResource("/hpack-test-case") ?: return arrayOf() val testCaseDirectory = File(resource.toURI()).toOkioPath()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.3K bytes - Viewed (0) -
src/test/resources/plugin/repo3/index.html
<a href="fess-webapp-semantic-search/" title="fess-webapp-semantic-search/">fess-webapp-semantic-search/</a> - - <a href="fess-xpack/" title="fess-xpack/">fess-xpack/</a> - - </pre> </main> <hr/> </body>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 17 13:30:41 UTC 2024 - 6.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
import org.junit.jupiter.api.Test class HpackTest { private val bytesIn = Buffer() private var hpackReader: Hpack.Reader? = null private val bytesOut = Buffer() private var hpackWriter: Hpack.Writer? = null @BeforeEach fun reset() { hpackReader = newReader(bytesIn) hpackWriter = Hpack.Writer(4096, false, bytesOut) } /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 38.2K bytes - Viewed (0) -
ci/official/installer_wheel.sh
# error. In order to upload to PyPI, we unpack the wheel and change the tag # inside a metadata file to the one we want (e.g cp38-cp38-win_amd) and then # re-pack it to generate it as a platform specific wheel with this new wheel #tag. python3 -m wheel unpack "${pure_python_whl}" # Remove the pure python wheel. rm -rf "${pure_python_whl}"
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 25 17:28:01 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt
internal val lock: ReentrantLock = ReentrantLock() private val hpackBuffer: Buffer = Buffer() private var maxFrameSize: Int = INITIAL_MAX_FRAME_SIZE private var closed: Boolean = false val hpackWriter: Hpack.Writer = Hpack.Writer(out = hpackBuffer) @Throws(IOException::class) fun connectionPreface() { this.withLock { if (closed) throw IOException("closed")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 11.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HuffmanTest.kt
import okio.ByteString.Companion.toByteString import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test /** Original version of this class was lifted from `com.twitter.hpack.HuffmanTest`. */ class HuffmanTest { @Test fun roundTripForRequestAndResponse() { val s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" for (i in s.indices) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 04 05:32:07 UTC 2024 - 1.8K bytes - Viewed (0)