lastPartialReadDoesNotRampDown() — netty Function Reference
Architecture documentation for the lastPartialReadDoesNotRampDown() function in IoUringAdaptiveBufferRingAllocatorTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 24515e64_f051_0dee_37e3_0e6a53888236["lastPartialReadDoesNotRampDown()"] 532266ae_9a19_f7f1_79fa_00f339859d6d["IoUringAdaptiveBufferRingAllocatorTest"] 24515e64_f051_0dee_37e3_0e6a53888236 -->|defined in| 532266ae_9a19_f7f1_79fa_00f339859d6d 736fe095_d68b_e38f_fd45_287d9989d67f["allocReadExpected()"] 24515e64_f051_0dee_37e3_0e6a53888236 -->|calls| 736fe095_d68b_e38f_fd45_287d9989d67f cf42edfa_132a_3dd8_b2d2_a0241b7b8d39["allocRead()"] 24515e64_f051_0dee_37e3_0e6a53888236 -->|calls| cf42edfa_132a_3dd8_b2d2_a0241b7b8d39 style 24515e64_f051_0dee_37e3_0e6a53888236 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringAdaptiveBufferRingAllocatorTest.java lines 38–46
@Test
public void lastPartialReadDoesNotRampDown() {
IoUringAdaptiveBufferRingAllocator allocator = new IoUringAdaptiveBufferRingAllocator(
UnpooledByteBufAllocator.DEFAULT, 64, 512, 1024 * 1024 * 10);
allocReadExpected(allocator, 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(allocator, 8192, 1);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does lastPartialReadDoesNotRampDown() do?
lastPartialReadDoesNotRampDown() is a function in the netty codebase, defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringAdaptiveBufferRingAllocatorTest.java.
Where is lastPartialReadDoesNotRampDown() defined?
lastPartialReadDoesNotRampDown() is defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringAdaptiveBufferRingAllocatorTest.java at line 38.
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