byteBufUtilWriteUtf8CommonCharSequences() — netty Function Reference
Architecture documentation for the byteBufUtilWriteUtf8CommonCharSequences() function in Utf8EncodingBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d1ca9a50_080a_db90_8782_6bc03c445649["byteBufUtilWriteUtf8CommonCharSequences()"] 14a7a416_5aef_2dc8_262c_52585d9f0cac["Utf8EncodingBenchmark"] d1ca9a50_080a_db90_8782_6bc03c445649 -->|defined in| 14a7a416_5aef_2dc8_262c_52585d9f0cac 640e9533_bf6a_ebdd_f7f7_e4a05ca30d8a["length()"] d1ca9a50_080a_db90_8782_6bc03c445649 -->|calls| 640e9533_bf6a_ebdd_f7f7_e4a05ca30d8a style d1ca9a50_080a_db90_8782_6bc03c445649 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/buffer/Utf8EncodingBenchmark.java lines 231–250
@Benchmark
@CompilerControl(Mode.DONT_INLINE)
public int byteBufUtilWriteUtf8CommonCharSequences() {
int countBytes = 0;
for (int i = 0, size = dataSetLength; i < size; i++) {
final StringBuilder stringBuilder = stringBuilders[i];
final String string = strings[i];
final AsciiString asciiString = asciiStrings[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();
buffer.resetWriterIndex();
ByteBufUtil.writeUtf8(buffer, asciiString, 0, asciiString.length());
countBytes += buffer.writerIndex();
}
return countBytes;
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does byteBufUtilWriteUtf8CommonCharSequences() do?
byteBufUtilWriteUtf8CommonCharSequences() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/buffer/Utf8EncodingBenchmark.java.
Where is byteBufUtilWriteUtf8CommonCharSequences() defined?
byteBufUtilWriteUtf8CommonCharSequences() is defined in microbench/src/main/java/io/netty/microbench/buffer/Utf8EncodingBenchmark.java at line 231.
What does byteBufUtilWriteUtf8CommonCharSequences() call?
byteBufUtilWriteUtf8CommonCharSequences() 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