Home / Function/ testMaskChecksum() — netty Function Reference

testMaskChecksum() — netty Function Reference

Architecture documentation for the testMaskChecksum() function in SnappyTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  110f182b_bc33_ee0a_d09b_8aef6248de95["testMaskChecksum()"]
  1a449087_fef9_c1b9_33e3_88b8aff8d675["SnappyTest"]
  110f182b_bc33_ee0a_d09b_8aef6248de95 -->|defined in| 1a449087_fef9_c1b9_33e3_88b8aff8d675
  style 110f182b_bc33_ee0a_d09b_8aef6248de95 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/SnappyTest.java lines 260–269

    @Test
    public void testMaskChecksum() {
        ByteBuf input = Unpooled.wrappedBuffer(new byte[] {
                0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x00,
                0x5f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65,
                0x61, 0x74, 0x5f,
        });
        assertEquals(0x44a4301f, calculateChecksum(input));
        input.release();
    }

Domain

Subdomains

Frequently Asked Questions

What does testMaskChecksum() do?
testMaskChecksum() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/SnappyTest.java.
Where is testMaskChecksum() defined?
testMaskChecksum() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/SnappyTest.java at line 260.

Analyze Your Own Codebase

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

Try Supermodel Free