makeSmallChunks() — netty Function Reference
Architecture documentation for the makeSmallChunks() function in CompositeByteBufWriteOutBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a1c07999_8d8e_f181_9363_06281426af81["makeSmallChunks()"] c79b51b6_5774_48a2_56c0_7734c395523c["CompositeByteBufWriteOutBenchmark"] a1c07999_8d8e_f181_9363_06281426af81 -->|defined in| c79b51b6_5774_48a2_56c0_7734c395523c style a1c07999_8d8e_f181_9363_06281426af81 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/buffer/CompositeByteBufWriteOutBenchmark.java lines 98–108
private static ByteBuf[] makeSmallChunks(int length) {
List<ByteBuf> buffers = new ArrayList<ByteBuf>(((length + 1) / 48) * 9);
for (int i = 0; i < length + 48; i += 48) {
for (int j = 4; j <= 12; j++) {
buffers.add(wrappedBuffer(new byte[j]));
}
}
return buffers.toArray(new ByteBuf[0]);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does makeSmallChunks() do?
makeSmallChunks() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/buffer/CompositeByteBufWriteOutBenchmark.java.
Where is makeSmallChunks() defined?
makeSmallChunks() is defined in microbench/src/main/java/io/netty/buffer/CompositeByteBufWriteOutBenchmark.java at line 98.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free