Home / Function/ calculateNextBufferBatch() — netty Function Reference

calculateNextBufferBatch() — netty Function Reference

Architecture documentation for the calculateNextBufferBatch() function in IoUringBufferRing.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  87db609e_20fd_3805_6364_ac492e213003["calculateNextBufferBatch()"]
  f317c5ef_c638_0e8e_3895_73aa2a88fdad["IoUringBufferRing"]
  87db609e_20fd_3805_6364_ac492e213003 -->|defined in| f317c5ef_c638_0e8e_3895_73aa2a88fdad
  7239275a_8363_2f7a_8f34_d001615b1b74["ByteBuf()"]
  7239275a_8363_2f7a_8f34_d001615b1b74 -->|calls| 87db609e_20fd_3805_6364_ac492e213003
  style 87db609e_20fd_3805_6364_ac492e213003 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringBufferRing.java lines 206–208

    private int calculateNextBufferBatch() {
        return Math.min(batchSize, entries - allocatedBuffers);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does calculateNextBufferBatch() do?
calculateNextBufferBatch() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringBufferRing.java.
Where is calculateNextBufferBatch() defined?
calculateNextBufferBatch() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringBufferRing.java at line 206.
What calls calculateNextBufferBatch()?
calculateNextBufferBatch() is called by 1 function(s): ByteBuf.

Analyze Your Own Codebase

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

Try Supermodel Free