Home / Function/ testAllocateDirectBuffer() — netty Function Reference

testAllocateDirectBuffer() — netty Function Reference

Architecture documentation for the testAllocateDirectBuffer() function in Lz4FrameEncoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5d65cf45_9814_95d1_0f8d_2f37ba79bf9a["testAllocateDirectBuffer()"]
  16452743_407c_c5f6_ee9f_baa8b84020f0["Lz4FrameEncoderTest"]
  5d65cf45_9814_95d1_0f8d_2f37ba79bf9a -->|defined in| 16452743_407c_c5f6_ee9f_baa8b84020f0
  d53150d4_a5fb_32f4_fc51_9c98d577a401["testAllocateBuffer()"]
  5d65cf45_9814_95d1_0f8d_2f37ba79bf9a -->|calls| d53150d4_a5fb_32f4_fc51_9c98d577a401
  style 5d65cf45_9814_95d1_0f8d_2f37ba79bf9a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/Lz4FrameEncoderTest.java lines 107–113

    @Test
    public void testAllocateDirectBuffer() {
        final int blockSize = 100;
        testAllocateBuffer(blockSize, blockSize - 13, true);
        testAllocateBuffer(blockSize, blockSize * 5, true);
        testAllocateBuffer(blockSize, NONALLOCATABLE_SIZE, true);
    }

Domain

Subdomains

Frequently Asked Questions

What does testAllocateDirectBuffer() do?
testAllocateDirectBuffer() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/Lz4FrameEncoderTest.java.
Where is testAllocateDirectBuffer() defined?
testAllocateDirectBuffer() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/Lz4FrameEncoderTest.java at line 107.
What does testAllocateDirectBuffer() call?
testAllocateDirectBuffer() calls 1 function(s): testAllocateBuffer.

Analyze Your Own Codebase

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

Try Supermodel Free