Home / Function/ pooledByteBuf() — netty Function Reference

pooledByteBuf() — netty Function Reference

Architecture documentation for the pooledByteBuf() function in AlignedPooledByteBufAllocatorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  7544fc70_1ef8_cfbc_0e8a_918b0ce362ee["pooledByteBuf()"]
  c9134dc8_fd93_c39d_23b0_5a7607e27734["AlignedPooledByteBufAllocatorTest"]
  7544fc70_1ef8_cfbc_0e8a_918b0ce362ee -->|defined in| c9134dc8_fd93_c39d_23b0_5a7607e27734
  894fa3c1_f240_ab16_8e00_0f1104ec04a9["testDirectSubpageReleaseLock()"]
  894fa3c1_f240_ab16_8e00_0f1104ec04a9 -->|calls| 7544fc70_1ef8_cfbc_0e8a_918b0ce362ee
  style 7544fc70_1ef8_cfbc_0e8a_918b0ce362ee fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/AlignedPooledByteBufAllocatorTest.java lines 129–135

    private static PooledByteBuf<?> pooledByteBuf(ByteBuf buffer) {
        // might need to unwrap if swapped (LE) and/or leak-aware-wrapped
        while (!(buffer instanceof PooledByteBuf)) {
            buffer = buffer.unwrap();
        }
        return (PooledByteBuf<?>) buffer;
    }

Domain

Subdomains

Frequently Asked Questions

What does pooledByteBuf() do?
pooledByteBuf() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/AlignedPooledByteBufAllocatorTest.java.
Where is pooledByteBuf() defined?
pooledByteBuf() is defined in buffer/src/test/java/io/netty/buffer/AlignedPooledByteBufAllocatorTest.java at line 129.
What calls pooledByteBuf()?
pooledByteBuf() is called by 1 function(s): testDirectSubpageReleaseLock.

Analyze Your Own Codebase

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

Try Supermodel Free