Home / Function/ allocReadExpected() — netty Function Reference

allocReadExpected() — netty Function Reference

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

Function java Buffer Search calls 1 called by 5

Entity Profile

Dependency Diagram

graph TD
  1c4fca03_b029_5a21_08c8_7ddda96ef416["allocReadExpected()"]
  5011819c_2beb_6635_01ff_c14382c1d5a5["AdaptiveRecvByteBufAllocatorTest"]
  1c4fca03_b029_5a21_08c8_7ddda96ef416 -->|defined in| 5011819c_2beb_6635_01ff_c14382c1d5a5
  017fec3b_bf20_e9e5_7120_482a58b464f0["rampUpBeforeReadCompleteWhenLargeDataPending()"]
  017fec3b_bf20_e9e5_7120_482a58b464f0 -->|calls| 1c4fca03_b029_5a21_08c8_7ddda96ef416
  4d09daaf_19e6_d91b_b08d_0d8958843b49["lastPartialReadDoesNotRampDown()"]
  4d09daaf_19e6_d91b_b08d_0d8958843b49 -->|calls| 1c4fca03_b029_5a21_08c8_7ddda96ef416
  2f3076f0_ee77_2120_4c99_02a0890d4925["lastPartialReadCanRampUp()"]
  2f3076f0_ee77_2120_4c99_02a0890d4925 -->|calls| 1c4fca03_b029_5a21_08c8_7ddda96ef416
  33c1adff_8ea2_727e_0d9d_9f71cbaa89a4["doesNotExceedMaximum()"]
  33c1adff_8ea2_727e_0d9d_9f71cbaa89a4 -->|calls| 1c4fca03_b029_5a21_08c8_7ddda96ef416
  423a2a76_951e_d63f_81eb_a18638e9ebe1["doesSetCorrectMinBounds()"]
  423a2a76_951e_d63f_81eb_a18638e9ebe1 -->|calls| 1c4fca03_b029_5a21_08c8_7ddda96ef416
  f1b65935_c236_8693_58bc_5537b238709a["allocRead()"]
  1c4fca03_b029_5a21_08c8_7ddda96ef416 -->|calls| f1b65935_c236_8693_58bc_5537b238709a
  style 1c4fca03_b029_5a21_08c8_7ddda96ef416 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/AdaptiveRecvByteBufAllocatorTest.java lines 151–155

    private static void allocReadExpected(RecvByteBufAllocator.ExtendedHandle handle,
                                          ByteBufAllocator alloc,
                                          int expectedSize) {
        allocRead(handle, alloc, expectedSize, expectedSize);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does allocReadExpected() do?
allocReadExpected() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/AdaptiveRecvByteBufAllocatorTest.java.
Where is allocReadExpected() defined?
allocReadExpected() is defined in transport/src/test/java/io/netty/channel/AdaptiveRecvByteBufAllocatorTest.java at line 151.
What does allocReadExpected() call?
allocReadExpected() calls 1 function(s): allocRead.
What calls allocReadExpected()?
allocReadExpected() is called by 5 function(s): doesNotExceedMaximum, doesSetCorrectMinBounds, lastPartialReadCanRampUp, lastPartialReadDoesNotRampDown, rampUpBeforeReadCompleteWhenLargeDataPending.

Analyze Your Own Codebase

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

Try Supermodel Free