Home / Function/ swap() — netty Function Reference

swap() — netty Function Reference

Architecture documentation for the swap() function in HttpRequestEncoderInsertBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f092d363_d366_7931_7abd_8b7b99baf79f["swap()"]
  ff555f9c_1d77_6f5a_cb29_37e270340371["HttpRequestEncoderInsertBenchmark"]
  f092d363_d366_7931_7abd_8b7b99baf79f -->|defined in| ff555f9c_1d77_6f5a_cb29_37e270340371
  e81c8d5f_3d2a_9f6e_3727_a618363d278c["permute()"]
  e81c8d5f_3d2a_9f6e_3727_a618363d278c -->|calls| f092d363_d366_7931_7abd_8b7b99baf79f
  style f092d363_d366_7931_7abd_8b7b99baf79f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/handler/codec/http/HttpRequestEncoderInsertBenchmark.java lines 99–103

    private static void swap(String[] a, int i, int j) {
        String t = a[i];
        a[i] = a[j];
        a[j] = t;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does swap() do?
swap() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/http/HttpRequestEncoderInsertBenchmark.java.
Where is swap() defined?
swap() is defined in microbench/src/main/java/io/netty/handler/codec/http/HttpRequestEncoderInsertBenchmark.java at line 99.
What calls swap()?
swap() is called by 1 function(s): permute.

Analyze Your Own Codebase

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

Try Supermodel Free