Home / Function/ bucket() — netty Function Reference

bucket() — netty Function Reference

Architecture documentation for the bucket() function in HpackStaticTable.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  d67752bb_0811_252f_6036_ae77dd24095a["bucket()"]
  91d93899_a88f_0dfd_4a8f_513779e69441["HpackStaticTable"]
  d67752bb_0811_252f_6036_ae77dd24095a -->|defined in| 91d93899_a88f_0dfd_4a8f_513779e69441
  cfaabf0d_cd73_1f85_5a69_c6f4a07554e4["headerNameBucket()"]
  cfaabf0d_cd73_1f85_5a69_c6f4a07554e4 -->|calls| d67752bb_0811_252f_6036_ae77dd24095a
  dc8e3a71_b5f2_9f33_c378_bcda1c8ff70b["headerBucket()"]
  dc8e3a71_b5f2_9f33_c378_bcda1c8ff70b -->|calls| d67752bb_0811_252f_6036_ae77dd24095a
  style d67752bb_0811_252f_6036_ae77dd24095a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/HpackStaticTable.java lines 250–252

    private static int bucket(CharSequence s, int shift, int mask) {
        return (AsciiString.hashCode(s) >> shift) & mask;
    }

Domain

Subdomains

Frequently Asked Questions

What does bucket() do?
bucket() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HpackStaticTable.java.
Where is bucket() defined?
bucket() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HpackStaticTable.java at line 250.
What calls bucket()?
bucket() is called by 2 function(s): headerBucket, headerNameBucket.

Analyze Your Own Codebase

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

Try Supermodel Free