Home / Function/ setup() — netty Function Reference

setup() — netty Function Reference

Architecture documentation for the setup() function in HpackDecoderULE128Benchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  90d209db_8f50_8af2_1d14_4cf49cc039a0["setup()"]
  de40d68e_4a6c_694e_c920_73882d2bb6c0["HpackDecoderULE128Benchmark"]
  90d209db_8f50_8af2_1d14_4cf49cc039a0 -->|defined in| de40d68e_4a6c_694e_c920_73882d2bb6c0
  style 90d209db_8f50_8af2_1d14_4cf49cc039a0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/handler/codec/http2/HpackDecoderULE128Benchmark.java lines 52–59

    @Setup
    public void setup() {
        byte[] longMax = {(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
                          (byte) 0xFF, (byte) 0x7F};
        longMaxBuf = Unpooled.wrappedBuffer(longMax);
        byte[] intMax = {(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x07};
        intMaxBuf = Unpooled.wrappedBuffer(intMax);
    }

Domain

Subdomains

Frequently Asked Questions

What does setup() do?
setup() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/http2/HpackDecoderULE128Benchmark.java.
Where is setup() defined?
setup() is defined in microbench/src/main/java/io/netty/handler/codec/http2/HpackDecoderULE128Benchmark.java at line 52.

Analyze Your Own Codebase

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

Try Supermodel Free