Home / Function/ checkRangeBounds() — netty Function Reference

checkRangeBounds() — netty Function Reference

Architecture documentation for the checkRangeBounds() function in AbstractByteBuf.java from the netty codebase.

Function java Buffer Telemetry calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  15cf424b_5e92_41d8_3c0a_765fd2a2ea68["checkRangeBounds()"]
  bbab270f_457a_3319_83a8_0a0540484666["AbstractByteBuf"]
  15cf424b_5e92_41d8_3c0a_765fd2a2ea68 -->|defined in| bbab270f_457a_3319_83a8_0a0540484666
  3a045d76_9a53_4c0e_ad42_1a2ae0561a8d["checkSrcIndex()"]
  3a045d76_9a53_4c0e_ad42_1a2ae0561a8d -->|calls| 15cf424b_5e92_41d8_3c0a_765fd2a2ea68
  3389dda1_6e99_7ea1_8197_a73d6d58d0f3["checkDstIndex()"]
  3389dda1_6e99_7ea1_8197_a73d6d58d0f3 -->|calls| 15cf424b_5e92_41d8_3c0a_765fd2a2ea68
  a1865b50_9e3f_a70e_eb82_9b361caa66f7["rangeBoundsCheckFailed()"]
  15cf424b_5e92_41d8_3c0a_765fd2a2ea68 -->|calls| a1865b50_9e3f_a70e_eb82_9b361caa66f7
  style 15cf424b_5e92_41d8_3c0a_765fd2a2ea68 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java lines 1409–1414

    private static void checkRangeBounds(final String indexName, final int index,
            final int fieldLength, final int capacity) {
        if (isOutOfBounds(index, fieldLength, capacity)) {
            rangeBoundsCheckFailed(indexName, index, fieldLength, capacity);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does checkRangeBounds() do?
checkRangeBounds() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java.
Where is checkRangeBounds() defined?
checkRangeBounds() is defined in buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java at line 1409.
What does checkRangeBounds() call?
checkRangeBounds() calls 1 function(s): rangeBoundsCheckFailed.
What calls checkRangeBounds()?
checkRangeBounds() is called by 2 function(s): checkDstIndex, checkSrcIndex.

Analyze Your Own Codebase

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

Try Supermodel Free