Home / Function/ isOutOfBounds() — netty Function Reference

isOutOfBounds() — netty Function Reference

Architecture documentation for the isOutOfBounds() function in MathUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  62b88388_3b25_38a8_1549_ef9f06d0d6ca["isOutOfBounds()"]
  5b445184_30a8_2bb4_c4a5_5d15a9e41b3e["MathUtil"]
  62b88388_3b25_38a8_1549_ef9f06d0d6ca -->|defined in| 5b445184_30a8_2bb4_c4a5_5d15a9e41b3e
  style 62b88388_3b25_38a8_1549_ef9f06d0d6ca fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/MathUtil.java lines 63–65

    public static boolean isOutOfBounds(int index, int length, int capacity) {
        return (index | length | capacity | index + length) < 0 || index + length > capacity;
    }

Domain

Subdomains

Frequently Asked Questions

What does isOutOfBounds() do?
isOutOfBounds() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/MathUtil.java.
Where is isOutOfBounds() defined?
isOutOfBounds() is defined in common/src/main/java/io/netty/util/internal/MathUtil.java at line 63.

Analyze Your Own Codebase

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

Try Supermodel Free