testCompressionOfLargeDataBatchedFlow() — netty Function Reference
Architecture documentation for the testCompressionOfLargeDataBatchedFlow() function in ZstdEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 29ca51d5_6387_64d2_dd4b_ad49a6d7e88d["testCompressionOfLargeDataBatchedFlow()"] c729df56_e52a_35d9_ae50_4104aa9af83d["ZstdEncoderTest"] 29ca51d5_6387_64d2_dd4b_ad49a6d7e88d -->|defined in| c729df56_e52a_35d9_ae50_4104aa9af83d 17681beb_5178_7d26_d32d_adaa60a66fad["testCompressionOfLargeBatchedFlow()"] 17681beb_5178_7d26_d32d_adaa60a66fad -->|calls| 29ca51d5_6387_64d2_dd4b_ad49a6d7e88d de878df2_aa0c_d891_15d9_15df57372eaf["testCompressionOfHugeBatchedFlow()"] de878df2_aa0c_d891_15d9_15df57372eaf -->|calls| 29ca51d5_6387_64d2_dd4b_ad49a6d7e88d style 29ca51d5_6387_64d2_dd4b_ad49a6d7e88d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/test/java/io/netty/handler/codec/compression/ZstdEncoderTest.java lines 75–92
private void testCompressionOfLargeDataBatchedFlow(final ByteBuf data) throws Exception {
final int dataLength = data.readableBytes();
int written = 0;
ByteBuf in = data.retainedSlice(written, 65535);
assertTrue(channel.writeOutbound(in));
ByteBuf in2 = data.retainedSlice(65535, dataLength - 65535);
assertTrue(channel.writeOutbound(in2));
assertTrue(channel.finish());
ByteBuf decompressed = readDecompressed(dataLength);
assertEquals(data, decompressed);
decompressed.release();
data.release();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testCompressionOfLargeDataBatchedFlow() do?
testCompressionOfLargeDataBatchedFlow() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/ZstdEncoderTest.java.
Where is testCompressionOfLargeDataBatchedFlow() defined?
testCompressionOfLargeDataBatchedFlow() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/ZstdEncoderTest.java at line 75.
What calls testCompressionOfLargeDataBatchedFlow()?
testCompressionOfLargeDataBatchedFlow() is called by 2 function(s): testCompressionOfHugeBatchedFlow, testCompressionOfLargeBatchedFlow.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free