testUpdate() — netty Function Reference
Architecture documentation for the testUpdate() function in ByteBufChecksumTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 2a0863fd_970f_c06b_d5c7_c29e80b65317["testUpdate()"] 03780e5e_15f9_cd44_a0a4_a5867c41c73a["ByteBufChecksumTest"] 2a0863fd_970f_c06b_d5c7_c29e80b65317 -->|defined in| 03780e5e_15f9_cd44_a0a4_a5867c41c73a e2eddb52_9c0d_8dde_ddd8_f2879d52ba8f["testHeapByteBufUpdate()"] e2eddb52_9c0d_8dde_ddd8_f2879d52ba8f -->|calls| 2a0863fd_970f_c06b_d5c7_c29e80b65317 7e110919_88ca_6c56_80e0_c3a02565e883["testDirectByteBufUpdate()"] 7e110919_88ca_6c56_80e0_c3a02565e883 -->|calls| 2a0863fd_970f_c06b_d5c7_c29e80b65317 style 2a0863fd_970f_c06b_d5c7_c29e80b65317 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/test/java/io/netty/handler/codec/compression/ByteBufChecksumTest.java lines 53–68
private static void testUpdate(ByteBuf buf) {
try {
// all variations of xxHash32: slow and naive, optimised, wrapped optimised;
// the last two should be literally identical, but it's best to guard against
// an accidental regression in ByteBufChecksum#wrapChecksum(Checksum)
testUpdate(xxHash32(DEFAULT_SEED), ByteBufChecksum.wrapChecksum(xxHash32(DEFAULT_SEED)), buf);
testUpdate(xxHash32(DEFAULT_SEED), new Lz4XXHash32(DEFAULT_SEED), buf);
testUpdate(xxHash32(DEFAULT_SEED), ByteBufChecksum.wrapChecksum(new Lz4XXHash32(DEFAULT_SEED)), buf);
// CRC32 and Adler32, special-cased to use ReflectiveByteBufChecksum
testUpdate(new CRC32(), ByteBufChecksum.wrapChecksum(new CRC32()), buf);
testUpdate(new Adler32(), ByteBufChecksum.wrapChecksum(new Adler32()), buf);
} finally {
buf.release();
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testUpdate() do?
testUpdate() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/ByteBufChecksumTest.java.
Where is testUpdate() defined?
testUpdate() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/ByteBufChecksumTest.java at line 53.
What calls testUpdate()?
testUpdate() is called by 2 function(s): testDirectByteBufUpdate, testHeapByteBufUpdate.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free