Home / Function/ testAllocNotNull() — netty Function Reference

testAllocNotNull() — netty Function Reference

Architecture documentation for the testAllocNotNull() function in PooledByteBufAllocatorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f6101a80_2758_ec38_ba51_19b9186d8c0e["testAllocNotNull()"]
  f8855572_2abf_1bf6_a32b_5cf6d1cf4947["PooledByteBufAllocatorTest"]
  f6101a80_2758_ec38_ba51_19b9186d8c0e -->|defined in| f8855572_2abf_1bf6_a32b_5cf6d1cf4947
  4e681469_9c14_67cb_5890_46b5d4b12dd2["PooledByteBufAllocator()"]
  f6101a80_2758_ec38_ba51_19b9186d8c0e -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  style f6101a80_2758_ec38_ba51_19b9186d8c0e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java lines 236–246

    @Test
    public void testAllocNotNull() {
        PooledByteBufAllocator allocator = new PooledByteBufAllocator(true, 1, 1, 8192, 9, 0, 0, 0);
        // Huge allocation
        testAllocNotNull(allocator, allocator.metric().chunkSize() + 1);
        // Normal allocation
        testAllocNotNull(allocator, 1024);
        // Small allocation
        testAllocNotNull(allocator, 512);
        testAllocNotNull(allocator, 1);
    }

Domain

Subdomains

Frequently Asked Questions

What does testAllocNotNull() do?
testAllocNotNull() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java.
Where is testAllocNotNull() defined?
testAllocNotNull() is defined in buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java at line 236.
What does testAllocNotNull() call?
testAllocNotNull() calls 1 function(s): PooledByteBufAllocator.

Analyze Your Own Codebase

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

Try Supermodel Free