Home / Function/ caseInsensitiveHasherCharBuffer() — netty Function Reference

caseInsensitiveHasherCharBuffer() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

common/src/test/java/io/netty/util/AsciiStringCharacterTest.java lines 223–233

    @Test
    public void caseInsensitiveHasherCharBuffer() {
        String s1 = new String("TRANSFER-ENCODING");
        char[] array = new char[128];
        final int offset = 100;
        for (int i = 0; i < s1.length(); ++i) {
            array[offset + i] = s1.charAt(i);
        }
        CharBuffer buffer = CharBuffer.wrap(array, offset, s1.length());
        assertEquals(AsciiString.hashCode(s1), AsciiString.hashCode(buffer));
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free