Home / Function/ testRegionMatchesAsciiHandlesOutOfBounds() — netty Function Reference

testRegionMatchesAsciiHandlesOutOfBounds() — netty Function Reference

Architecture documentation for the testRegionMatchesAsciiHandlesOutOfBounds() function in AsciiStringCharacterTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e6e96f60_1f8d_d79b_279f_54d14d15d548["testRegionMatchesAsciiHandlesOutOfBounds()"]
  fd37c1f8_6129_8e57_ad6d_da01ffebceb6["AsciiStringCharacterTest"]
  e6e96f60_1f8d_d79b_279f_54d14d15d548 -->|defined in| fd37c1f8_6129_8e57_ad6d_da01ffebceb6
  style e6e96f60_1f8d_d79b_279f_54d14d15d548 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/AsciiStringCharacterTest.java lines 546–552

    @Test
    public void testRegionMatchesAsciiHandlesOutOfBounds() {
        AsciiString str = new AsciiString("Hello, World!");
        AsciiString hello = new AsciiString("Hello");
        assertFalse(AsciiString.regionMatchesAscii(str, false, -1, hello, 0, 5));
        assertFalse(AsciiString.regionMatchesAscii(str, false, 0, hello, -1, 5));
    }

Domain

Subdomains

Frequently Asked Questions

What does testRegionMatchesAsciiHandlesOutOfBounds() do?
testRegionMatchesAsciiHandlesOutOfBounds() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/AsciiStringCharacterTest.java.
Where is testRegionMatchesAsciiHandlesOutOfBounds() defined?
testRegionMatchesAsciiHandlesOutOfBounds() is defined in common/src/test/java/io/netty/util/AsciiStringCharacterTest.java at line 546.

Analyze Your Own Codebase

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

Try Supermodel Free