Home / Function/ rampUpBeforeReadCompleteWhenLargeDataPending() — netty Function Reference

rampUpBeforeReadCompleteWhenLargeDataPending() — netty Function Reference

Architecture documentation for the rampUpBeforeReadCompleteWhenLargeDataPending() function in AdaptiveRecvByteBufAllocatorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  017fec3b_bf20_e9e5_7120_482a58b464f0["rampUpBeforeReadCompleteWhenLargeDataPending()"]
  5011819c_2beb_6635_01ff_c14382c1d5a5["AdaptiveRecvByteBufAllocatorTest"]
  017fec3b_bf20_e9e5_7120_482a58b464f0 -->|defined in| 5011819c_2beb_6635_01ff_c14382c1d5a5
  1c4fca03_b029_5a21_08c8_7ddda96ef416["allocReadExpected()"]
  017fec3b_bf20_e9e5_7120_482a58b464f0 -->|calls| 1c4fca03_b029_5a21_08c8_7ddda96ef416
  style 017fec3b_bf20_e9e5_7120_482a58b464f0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/AdaptiveRecvByteBufAllocatorTest.java lines 46–57

    @Test
    public void rampUpBeforeReadCompleteWhenLargeDataPending() {
        // Simulate that there is always more data when we attempt to read so we should always ramp up.
        allocReadExpected(handle, alloc, 512);
        allocReadExpected(handle, alloc, 8192);
        allocReadExpected(handle, alloc, 131072);
        allocReadExpected(handle, alloc, 2097152);
        handle.readComplete();

        handle.reset(config);
        allocReadExpected(handle, alloc, 8388608);
    }

Domain

Subdomains

Frequently Asked Questions

What does rampUpBeforeReadCompleteWhenLargeDataPending() do?
rampUpBeforeReadCompleteWhenLargeDataPending() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/AdaptiveRecvByteBufAllocatorTest.java.
Where is rampUpBeforeReadCompleteWhenLargeDataPending() defined?
rampUpBeforeReadCompleteWhenLargeDataPending() is defined in transport/src/test/java/io/netty/channel/AdaptiveRecvByteBufAllocatorTest.java at line 46.
What does rampUpBeforeReadCompleteWhenLargeDataPending() call?
rampUpBeforeReadCompleteWhenLargeDataPending() calls 1 function(s): allocReadExpected.

Analyze Your Own Codebase

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

Try Supermodel Free