Home / Function/ rampUpWhenLargeDataPending() — netty Function Reference

rampUpWhenLargeDataPending() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

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

    @Test
    public void rampUpWhenLargeDataPending() {
        IoUringAdaptiveBufferRingAllocator allocator = new IoUringAdaptiveBufferRingAllocator(
                UnpooledByteBufAllocator.DEFAULT, 64, 512, 1024 * 1024 * 10);
        // Simulate that there is always more data when we attempt to read so we should always ramp up.
        allocReadExpected(allocator, 512);
        allocReadExpected(allocator, 8192);
        allocReadExpected(allocator, 131072);
        allocReadExpected(allocator, 2097152);
    }

Domain

Subdomains

Frequently Asked Questions

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