Home / Function/ appendCheckBeforeCopy() — netty Function Reference

appendCheckBeforeCopy() — netty Function Reference

Architecture documentation for the appendCheckBeforeCopy() function in AppendableCharSequenceBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  bd8fc4fd_968b_4548_5e93_b559925bd826["appendCheckBeforeCopy()"]
  a2f3b91a_9f96_cb74_48f7_69352371a5b0["AppendableCharSequenceBenchmark"]
  bd8fc4fd_968b_4548_5e93_b559925bd826 -->|defined in| a2f3b91a_9f96_cb74_48f7_69352371a5b0
  849927dd_3af4_a929_39a1_87103e3c3526["checkReset()"]
  bd8fc4fd_968b_4548_5e93_b559925bd826 -->|calls| 849927dd_3af4_a929_39a1_87103e3c3526
  3e478c86_6ed0_8712_9805_c9b9733d3636["expand()"]
  bd8fc4fd_968b_4548_5e93_b559925bd826 -->|calls| 3e478c86_6ed0_8712_9805_c9b9733d3636
  style bd8fc4fd_968b_4548_5e93_b559925bd826 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbenchmark/common/AppendableCharSequenceBenchmark.java lines 50–57

    @Benchmark
    public void appendCheckBeforeCopy() {
        checkReset();
        if (pos == chars.length) {
            expand();
        }
        chars[pos++] = simulatedData;
    }

Domain

Subdomains

Frequently Asked Questions

What does appendCheckBeforeCopy() do?
appendCheckBeforeCopy() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbenchmark/common/AppendableCharSequenceBenchmark.java.
Where is appendCheckBeforeCopy() defined?
appendCheckBeforeCopy() is defined in microbench/src/main/java/io/netty/microbenchmark/common/AppendableCharSequenceBenchmark.java at line 50.
What does appendCheckBeforeCopy() call?
appendCheckBeforeCopy() calls 2 function(s): checkReset, expand.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free