testFieldNameRefForEmptyField() — netty Function Reference
Architecture documentation for the testFieldNameRefForEmptyField() function in QpackStaticTableTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7c8eda71_d4db_ab65_a7d4_65df4a23a79c["testFieldNameRefForEmptyField()"] 8270dadf_b1e3_06ff_276f_d66f7d7a1bc7["QpackStaticTableTest"] 7c8eda71_d4db_ab65_a7d4_65df4a23a79c -->|defined in| 8270dadf_b1e3_06ff_276f_d66f7d7a1bc7 style 7c8eda71_d4db_ab65_a7d4_65df4a23a79c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/test/java/io/netty/handler/codec/http3/QpackStaticTableTest.java lines 41–54
@Test
public void testFieldNameRefForEmptyField() {
int nameIndex1 = QpackStaticTable.findFieldIndex("cookie", "netty.io");
int nameIndex2 = QpackStaticTable.findFieldIndex("cookie", "quic.io");
// should give the same name ref for any values
assertNotEquals(QpackStaticTable.NOT_FOUND, nameIndex1);
assertNotEquals(QpackStaticTable.NOT_FOUND, nameIndex2);
assertEquals(nameIndex1, nameIndex2);
// index should be masked
assertEquals(nameIndex1 & QpackStaticTable.MASK_NAME_REF, QpackStaticTable.MASK_NAME_REF);
assertEquals(5, nameIndex1 ^ QpackStaticTable.MASK_NAME_REF);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testFieldNameRefForEmptyField() do?
testFieldNameRefForEmptyField() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackStaticTableTest.java.
Where is testFieldNameRefForEmptyField() defined?
testFieldNameRefForEmptyField() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackStaticTableTest.java at line 41.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free