Home / Function/ ssBlockSwap() — netty Function Reference

ssBlockSwap() — netty Function Reference

Architecture documentation for the ssBlockSwap() function in Bzip2DivSufSort.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  8f2018df_9270_64c3_5e3a_0e80d1e98d92["ssBlockSwap()"]
  5a60cb70_bf06_95bf_9c73_ed3a4dc24eba["Bzip2DivSufSort"]
  8f2018df_9270_64c3_5e3a_0e80d1e98d92 -->|defined in| 5a60cb70_bf06_95bf_9c73_ed3a4dc24eba
  9b4ab75c_f363_ca90_f1a9_20cc7e1e5996["ssMergeForward()"]
  9b4ab75c_f363_ca90_f1a9_20cc7e1e5996 -->|calls| 8f2018df_9270_64c3_5e3a_0e80d1e98d92
  67ff73e6_3a21_9a09_e1e6_cf6b42d443c0["ssMergeBackward()"]
  67ff73e6_3a21_9a09_e1e6_cf6b42d443c0 -->|calls| 8f2018df_9270_64c3_5e3a_0e80d1e98d92
  1a5aae65_48a0_09a4_5acf_6d87a1e5c541["ssMerge()"]
  1a5aae65_48a0_09a4_5acf_6d87a1e5c541 -->|calls| 8f2018df_9270_64c3_5e3a_0e80d1e98d92
  6cd08680_5bba_3632_1ac7_b77001ad18fa["swapElements()"]
  8f2018df_9270_64c3_5e3a_0e80d1e98d92 -->|calls| 6cd08680_5bba_3632_1ac7_b77001ad18fa
  style 8f2018df_9270_64c3_5e3a_0e80d1e98d92 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java lines 534–541

    private static void ssBlockSwap(final int[] array1, final int first1,
                                    final int[] array2, final int first2, final int size) {
        int a, b;
        int i;
        for (i = size, a = first1, b = first2; 0 < i; --i, ++a, ++b) {
            swapElements(array1, a, array2, b);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does ssBlockSwap() do?
ssBlockSwap() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java.
Where is ssBlockSwap() defined?
ssBlockSwap() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java at line 534.
What does ssBlockSwap() call?
ssBlockSwap() calls 1 function(s): swapElements.
What calls ssBlockSwap()?
ssBlockSwap() is called by 3 function(s): ssMerge, ssMergeBackward, ssMergeForward.

Analyze Your Own Codebase

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

Try Supermodel Free