Home / Function/ lastPartialReadCanRampUp() — netty Function Reference

lastPartialReadCanRampUp() — netty Function Reference

Architecture documentation for the lastPartialReadCanRampUp() function in IoUringAdaptiveBufferRingAllocatorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ec623a32_eef3_9037_555f_afffc4800095["lastPartialReadCanRampUp()"]
  532266ae_9a19_f7f1_79fa_00f339859d6d["IoUringAdaptiveBufferRingAllocatorTest"]
  ec623a32_eef3_9037_555f_afffc4800095 -->|defined in| 532266ae_9a19_f7f1_79fa_00f339859d6d
  736fe095_d68b_e38f_fd45_287d9989d67f["allocReadExpected()"]
  ec623a32_eef3_9037_555f_afffc4800095 -->|calls| 736fe095_d68b_e38f_fd45_287d9989d67f
  cf42edfa_132a_3dd8_b2d2_a0241b7b8d39["allocRead()"]
  ec623a32_eef3_9037_555f_afffc4800095 -->|calls| cf42edfa_132a_3dd8_b2d2_a0241b7b8d39
  style ec623a32_eef3_9037_555f_afffc4800095 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringAdaptiveBufferRingAllocatorTest.java lines 48–56

    @Test
    public void lastPartialReadCanRampUp() {
        IoUringAdaptiveBufferRingAllocator allocator = new IoUringAdaptiveBufferRingAllocator(
                UnpooledByteBufAllocator.DEFAULT, 64, 512, 1024 * 1024 * 10);
        allocReadExpected(allocator, 512);
        // We simulate there is just 1 less byte than we try to read, but because of the adaptive steps the total amount
        // of bytes read for this read cycle steps up to prepare for the next read cycle.
        allocRead(allocator, 8192, 8191);
    }

Domain

Subdomains

Frequently Asked Questions

What does lastPartialReadCanRampUp() do?
lastPartialReadCanRampUp() is a function in the netty codebase, defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringAdaptiveBufferRingAllocatorTest.java.
Where is lastPartialReadCanRampUp() defined?
lastPartialReadCanRampUp() is defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringAdaptiveBufferRingAllocatorTest.java at line 48.
What does lastPartialReadCanRampUp() call?
lastPartialReadCanRampUp() 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