getWithRelativeIndex() — netty Function Reference
Architecture documentation for the getWithRelativeIndex() function in QpackDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6973559d_619b_85fb_3e6a_3ea043f41865["getWithRelativeIndex()"] 306cb9ff_c699_c029_57de_27fe788cc819["QpackDecoderTest"] 6973559d_619b_85fb_3e6a_3ea043f41865 -->|defined in| 306cb9ff_c699_c029_57de_27fe788cc819 26498b22_5caf_40c2_1f0f_1adf07905522["setup()"] 6973559d_619b_85fb_3e6a_3ea043f41865 -->|calls| 26498b22_5caf_40c2_1f0f_1adf07905522 cc508620_cb23_3737_9a3d_66fd1ac40163["insertLiterals()"] 6973559d_619b_85fb_3e6a_3ea043f41865 -->|calls| cc508620_cb23_3737_9a3d_66fd1ac40163 bb203c61_52d2_6d5b_5e2a_0658e75b10ae["encodeDecodeRequiredInsertCount()"] 6973559d_619b_85fb_3e6a_3ea043f41865 -->|calls| bb203c61_52d2_6d5b_5e2a_0658e75b10ae 3e74e630_7c00_e616_c374_92c6cc644da9["encodeDecodeDeltaBase()"] 6973559d_619b_85fb_3e6a_3ea043f41865 -->|calls| 3e74e630_7c00_e616_c374_92c6cc644da9 5a65d2e9_49c2_2394_b3ec_068bc4009406["verifyField()"] 6973559d_619b_85fb_3e6a_3ea043f41865 -->|calls| 5a65d2e9_49c2_2394_b3ec_068bc4009406 style 6973559d_619b_85fb_3e6a_3ea043f41865 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderTest.java lines 89–101
@ParameterizedTest(name = "capacity: {0}, inserts: {1}")
@MethodSource("data")
public void getWithRelativeIndex(int capacity, int insertionCount) throws Exception {
setup(capacity);
assumeTrue(insertionCount > 3);
insertLiterals(insertionCount);
int requiredInsertCount = encodeDecodeRequiredInsertCount(insertionCount);
int base = encodeDecodeDeltaBase(requiredInsertCount, false, 1);
int relativeIndex = 1;
final QpackHeaderField entry = table.getEntryRelativeEncodedField(base - relativeIndex);
verifyField(entry, insertionCount - 2);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getWithRelativeIndex() do?
getWithRelativeIndex() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderTest.java.
Where is getWithRelativeIndex() defined?
getWithRelativeIndex() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderTest.java at line 89.
What does getWithRelativeIndex() call?
getWithRelativeIndex() 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