Home / Function/ getWithPostBaseRelativeIndex() — netty Function Reference

getWithPostBaseRelativeIndex() — netty Function Reference

Architecture documentation for the getWithPostBaseRelativeIndex() function in QpackDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  7e5aa6e0_4594_4d29_9af7_d13e12bbdd5c["getWithPostBaseRelativeIndex()"]
  306cb9ff_c699_c029_57de_27fe788cc819["QpackDecoderTest"]
  7e5aa6e0_4594_4d29_9af7_d13e12bbdd5c -->|defined in| 306cb9ff_c699_c029_57de_27fe788cc819
  26498b22_5caf_40c2_1f0f_1adf07905522["setup()"]
  7e5aa6e0_4594_4d29_9af7_d13e12bbdd5c -->|calls| 26498b22_5caf_40c2_1f0f_1adf07905522
  cc508620_cb23_3737_9a3d_66fd1ac40163["insertLiterals()"]
  7e5aa6e0_4594_4d29_9af7_d13e12bbdd5c -->|calls| cc508620_cb23_3737_9a3d_66fd1ac40163
  bb203c61_52d2_6d5b_5e2a_0658e75b10ae["encodeDecodeRequiredInsertCount()"]
  7e5aa6e0_4594_4d29_9af7_d13e12bbdd5c -->|calls| bb203c61_52d2_6d5b_5e2a_0658e75b10ae
  3e74e630_7c00_e616_c374_92c6cc644da9["encodeDecodeDeltaBase()"]
  7e5aa6e0_4594_4d29_9af7_d13e12bbdd5c -->|calls| 3e74e630_7c00_e616_c374_92c6cc644da9
  5a65d2e9_49c2_2394_b3ec_068bc4009406["verifyField()"]
  7e5aa6e0_4594_4d29_9af7_d13e12bbdd5c -->|calls| 5a65d2e9_49c2_2394_b3ec_068bc4009406
  style 7e5aa6e0_4594_4d29_9af7_d13e12bbdd5c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderTest.java lines 103–115

    @ParameterizedTest(name = "capacity: {0}, inserts: {1}")
    @MethodSource("data")
    public void getWithPostBaseRelativeIndex(int capacity, int insertionCount) throws Exception {
        setup(capacity);
        assumeTrue(insertionCount > 2);

        insertLiterals(insertionCount);
        int requiredInsertCount = encodeDecodeRequiredInsertCount(insertionCount - 1);
        int base = encodeDecodeDeltaBase(requiredInsertCount, true, 0);
        int relativeIndex = 1;
        final QpackHeaderField entry = table.getEntryRelativeEncodedField(base - relativeIndex);
        verifyField(entry, insertionCount - 1);
    }

Domain

Subdomains

Frequently Asked Questions

What does getWithPostBaseRelativeIndex() do?
getWithPostBaseRelativeIndex() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderTest.java.
Where is getWithPostBaseRelativeIndex() defined?
getWithPostBaseRelativeIndex() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderTest.java at line 103.
What does getWithPostBaseRelativeIndex() call?
getWithPostBaseRelativeIndex() calls 5 function(s): encodeDecodeDeltaBase, encodeDecodeRequiredInsertCount, insertLiterals, setup, verifyField.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free