Home / Function/ toHandle() — netty Function Reference

toHandle() — netty Function Reference

Architecture documentation for the toHandle() function in PoolSubpage.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  d5c6d0c4_a94d_8d37_d027_53b9442f2238["toHandle()"]
  a6a571ea_fcf9_6eda_c073_f8d61fa999a3["PoolSubpage"]
  d5c6d0c4_a94d_8d37_d027_53b9442f2238 -->|defined in| a6a571ea_fcf9_6eda_c073_f8d61fa999a3
  a871ec93_3c33_5694_cdf3_d9e756a2556c["allocate()"]
  a871ec93_3c33_5694_cdf3_d9e756a2556c -->|calls| d5c6d0c4_a94d_8d37_d027_53b9442f2238
  style d5c6d0c4_a94d_8d37_d027_53b9442f2238 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/PoolSubpage.java lines 208–215

    private long toHandle(int bitmapIdx) {
        int pages = runSize >> pageShifts;
        return (long) runOffset << RUN_OFFSET_SHIFT
               | (long) pages << SIZE_SHIFT
               | 1L << IS_USED_SHIFT
               | 1L << IS_SUBPAGE_SHIFT
               | bitmapIdx;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does toHandle() do?
toHandle() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PoolSubpage.java.
Where is toHandle() defined?
toHandle() is defined in buffer/src/main/java/io/netty/buffer/PoolSubpage.java at line 208.
What calls toHandle()?
toHandle() is called by 1 function(s): allocate.

Analyze Your Own Codebase

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

Try Supermodel Free