Home / Function/ testRegionMatchesAsciiReturnsTrueForEqualRegions() — netty Function Reference

testRegionMatchesAsciiReturnsTrueForEqualRegions() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

common/src/test/java/io/netty/util/AsciiStringCharacterTest.java lines 501–508

    @Test
    public void testRegionMatchesAsciiReturnsTrueForEqualRegions() {
        AsciiString str = new AsciiString("Hello, World!");
        AsciiString hello = new AsciiString("Hello");
        AsciiString world = new AsciiString("World");
        assertTrue(AsciiString.regionMatchesAscii(str, false, 0, hello, 0, 5));
        assertTrue(AsciiString.regionMatchesAscii(str, false, 7, world, 0, 5));
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free