Home / Function/ testSetTableSizeWithMaxUnsigned32BitValueSucceeds() — netty Function Reference

testSetTableSizeWithMaxUnsigned32BitValueSucceeds() — netty Function Reference

Architecture documentation for the testSetTableSizeWithMaxUnsigned32BitValueSucceeds() function in HpackDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b459b2a7_e481_0f75_8cab_8f7b3a4be028["testSetTableSizeWithMaxUnsigned32BitValueSucceeds()"]
  499468ca_3853_024b_2b80_17090ef6cd43["HpackDecoderTest"]
  b459b2a7_e481_0f75_8cab_8f7b3a4be028 -->|defined in| 499468ca_3853_024b_2b80_17090ef6cd43
  47ac4151_0b50_9884_0d18_472d1c51065d["decode()"]
  b459b2a7_e481_0f75_8cab_8f7b3a4be028 -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  style b459b2a7_e481_0f75_8cab_8f7b3a4be028 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java lines 187–199

    @Test
    public void testSetTableSizeWithMaxUnsigned32BitValueSucceeds() throws Http2Exception {
        byte[] input = {(byte) 0x3F, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x0E};
        ByteBuf in = Unpooled.wrappedBuffer(input);
        try {
            final long expectedHeaderSize = 4026531870L; // based on the input above
            hpackDecoder.setMaxHeaderTableSize(expectedHeaderSize);
            hpackDecoder.decode(0, in, mockHeaders, true);
            assertEquals(expectedHeaderSize, hpackDecoder.getMaxHeaderTableSize());
        } finally {
            in.release();
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does testSetTableSizeWithMaxUnsigned32BitValueSucceeds() do?
testSetTableSizeWithMaxUnsigned32BitValueSucceeds() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java.
Where is testSetTableSizeWithMaxUnsigned32BitValueSucceeds() defined?
testSetTableSizeWithMaxUnsigned32BitValueSucceeds() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java at line 187.
What does testSetTableSizeWithMaxUnsigned32BitValueSucceeds() call?
testSetTableSizeWithMaxUnsigned32BitValueSucceeds() calls 1 function(s): decode.

Analyze Your Own Codebase

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

Try Supermodel Free