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