Home / Function/ checkRangeBoundsTrustedCapacity() — netty Function Reference

checkRangeBoundsTrustedCapacity() — netty Function Reference

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

Function java Buffer Telemetry calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  9d910c24_147f_215e_8873_ba90d9d6f027["checkRangeBoundsTrustedCapacity()"]
  bbab270f_457a_3319_83a8_0a0540484666["AbstractByteBuf"]
  9d910c24_147f_215e_8873_ba90d9d6f027 -->|defined in| bbab270f_457a_3319_83a8_0a0540484666
  c72c9b8b_5754_3820_9aff_a25d6d05c446["checkIndex0()"]
  c72c9b8b_5754_3820_9aff_a25d6d05c446 -->|calls| 9d910c24_147f_215e_8873_ba90d9d6f027
  5384b26c_d8bb_3d4d_9783_b90d1d7b6655["isOutOfBoundsTrustedCapacity()"]
  9d910c24_147f_215e_8873_ba90d9d6f027 -->|calls| 5384b26c_d8bb_3d4d_9783_b90d1d7b6655
  a1865b50_9e3f_a70e_eb82_9b361caa66f7["rangeBoundsCheckFailed()"]
  9d910c24_147f_215e_8873_ba90d9d6f027 -->|calls| a1865b50_9e3f_a70e_eb82_9b361caa66f7
  style 9d910c24_147f_215e_8873_ba90d9d6f027 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java lines 1394–1399

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

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free