Home / Function/ testHuffman() — netty Function Reference

testHuffman() — netty Function Reference

Architecture documentation for the testHuffman() function in HpackHuffmanTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  50a94b8c_1b90_1deb_a608_c0b19a7da5fd["testHuffman()"]
  0e9c37ed_3d42_0ea4_35fa_9ba9ae495d19["HpackHuffmanTest"]
  50a94b8c_1b90_1deb_a608_c0b19a7da5fd -->|defined in| 0e9c37ed_3d42_0ea4_35fa_9ba9ae495d19
  a5160cd1_45e2_8a78_1aa4_61fe3c7c57ab["roundTrip()"]
  50a94b8c_1b90_1deb_a608_c0b19a7da5fd -->|calls| a5160cd1_45e2_8a78_1aa4_61fe3c7c57ab
  style 50a94b8c_1b90_1deb_a608_c0b19a7da5fd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/HpackHuffmanTest.java lines 50–61

    @Test
    public void testHuffman() throws Http2Exception {
        String s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
        for (int i = 0; i < s.length(); i++) {
            roundTrip(s.substring(0, i));
        }

        Random random = new Random(123456789L);
        byte[] buf = new byte[4096];
        random.nextBytes(buf);
        roundTrip(buf);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free