Home / Function/ lastPartialReadDoesNotRampDown() — netty Function Reference

lastPartialReadDoesNotRampDown() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  4d09daaf_19e6_d91b_b08d_0d8958843b49["lastPartialReadDoesNotRampDown()"]
  5011819c_2beb_6635_01ff_c14382c1d5a5["AdaptiveRecvByteBufAllocatorTest"]
  4d09daaf_19e6_d91b_b08d_0d8958843b49 -->|defined in| 5011819c_2beb_6635_01ff_c14382c1d5a5
  1c4fca03_b029_5a21_08c8_7ddda96ef416["allocReadExpected()"]
  4d09daaf_19e6_d91b_b08d_0d8958843b49 -->|calls| 1c4fca03_b029_5a21_08c8_7ddda96ef416
  f1b65935_c236_8693_58bc_5537b238709a["allocRead()"]
  4d09daaf_19e6_d91b_b08d_0d8958843b49 -->|calls| f1b65935_c236_8693_58bc_5537b238709a
  style 4d09daaf_19e6_d91b_b08d_0d8958843b49 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/AdaptiveRecvByteBufAllocatorTest.java lines 79–89

    @Test
    public void lastPartialReadDoesNotRampDown() {
        allocReadExpected(handle, alloc, 512);
        // Simulate there is just 1 byte remaining which is unread. However the total bytes in the current read cycle
        // means that we should stay at the current step for the next ready cycle.
        allocRead(handle, alloc, 8192, 1);
        handle.readComplete();

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free