byteBufUtilWriteUtf8Bimorphic() — netty Function Reference
Architecture documentation for the byteBufUtilWriteUtf8Bimorphic() function in Utf8EncodingBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4a1b455a_1ec2_36c3_95d0_354210621249["byteBufUtilWriteUtf8Bimorphic()"] 14a7a416_5aef_2dc8_262c_52585d9f0cac["Utf8EncodingBenchmark"] 4a1b455a_1ec2_36c3_95d0_354210621249 -->|defined in| 14a7a416_5aef_2dc8_262c_52585d9f0cac 640e9533_bf6a_ebdd_f7f7_e4a05ca30d8a["length()"] 4a1b455a_1ec2_36c3_95d0_354210621249 -->|calls| 640e9533_bf6a_ebdd_f7f7_e4a05ca30d8a style 4a1b455a_1ec2_36c3_95d0_354210621249 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/buffer/Utf8EncodingBenchmark.java lines 193–208
@Benchmark
@CompilerControl(Mode.DONT_INLINE)
public int byteBufUtilWriteUtf8Bimorphic() {
int countBytes = 0;
for (int i = 0, size = dataSetLength; i < size; i++) {
final StringBuilder stringBuilder = stringBuilders[i];
final String string = strings[i];
buffer.resetWriterIndex();
ByteBufUtil.writeUtf8(buffer, stringBuilder, 0, stringBuilder.length());
countBytes += buffer.writerIndex();
buffer.resetWriterIndex();
ByteBufUtil.writeUtf8(buffer, string, 0, string.length());
countBytes += buffer.writerIndex();
}
return countBytes;
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does byteBufUtilWriteUtf8Bimorphic() do?
byteBufUtilWriteUtf8Bimorphic() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/buffer/Utf8EncodingBenchmark.java.
Where is byteBufUtilWriteUtf8Bimorphic() defined?
byteBufUtilWriteUtf8Bimorphic() is defined in microbench/src/main/java/io/netty/microbench/buffer/Utf8EncodingBenchmark.java at line 193.
What does byteBufUtilWriteUtf8Bimorphic() call?
byteBufUtilWriteUtf8Bimorphic() calls 1 function(s): length.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free