Home / Function/ data() — netty Function Reference

data() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a4da3241_dff9_6e1b_8b55_2b12d36f338c["data()"]
  306cb9ff_c699_c029_57de_27fe788cc819["QpackDecoderTest"]
  a4da3241_dff9_6e1b_8b55_2b12d36f338c -->|defined in| 306cb9ff_c699_c029_57de_27fe788cc819
  style a4da3241_dff9_6e1b_8b55_2b12d36f338c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderTest.java lines 46–58

    public static Collection<Object[]> data() {
        int capacity = 128; // maxEntries = 128/32 = 4, maxIndex = 2*4 = 8
        return asList(
                new Object[]{capacity, 0},
                new Object[]{capacity, 1},
                new Object[]{capacity, 5},
                new Object[]{capacity, 8},
                new Object[]{capacity, 16},
                new Object[]{capacity, 25},
                new Object[]{capacity, 64},
                new Object[]{capacity, 89}
        );
    }

Domain

Subdomains

Frequently Asked Questions

What does data() do?
data() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderTest.java.
Where is data() defined?
data() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderTest.java at line 46.

Analyze Your Own Codebase

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

Try Supermodel Free