Home / Function/ shuffleArray() — netty Function Reference

shuffleArray() — netty Function Reference

Architecture documentation for the shuffleArray() function in SWARUtilTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  764a7bba_90e6_f89c_eb25_5b8e3334837c["shuffleArray()"]
  f8708bc1_cb99_2db5_e587_516d1dfe420a["SWARUtilTest"]
  764a7bba_90e6_f89c_eb25_5b8e3334837c -->|defined in| f8708bc1_cb99_2db5_e587_516d1dfe420a
  e895828f_6804_eb63_ea65_bd8e78fafc98["containsUpperCaseLong()"]
  e895828f_6804_eb63_ea65_bd8e78fafc98 -->|calls| 764a7bba_90e6_f89c_eb25_5b8e3334837c
  613adaa3_468f_f707_0011_8af488216e99["containsUpperCaseInt()"]
  613adaa3_468f_f707_0011_8af488216e99 -->|calls| 764a7bba_90e6_f89c_eb25_5b8e3334837c
  c124bd61_8fa9_05e6_6a63_d2858c61c423["containsLowerCaseLong()"]
  c124bd61_8fa9_05e6_6a63_d2858c61c423 -->|calls| 764a7bba_90e6_f89c_eb25_5b8e3334837c
  09cda01e_f010_f76b_cb99_bc57cc4896e0["containsLowerCaseInt()"]
  09cda01e_f010_f76b_cb99_bc57cc4896e0 -->|calls| 764a7bba_90e6_f89c_eb25_5b8e3334837c
  04cc8dbc_89a3_be5f_5965_724db45c5e13["toUpperCaseLong()"]
  04cc8dbc_89a3_be5f_5965_724db45c5e13 -->|calls| 764a7bba_90e6_f89c_eb25_5b8e3334837c
  ac25e56f_2dd0_77d5_1a7c_972619044352["toUpperCaseInt()"]
  ac25e56f_2dd0_77d5_1a7c_972619044352 -->|calls| 764a7bba_90e6_f89c_eb25_5b8e3334837c
  4b5005f3_89c1_1d03_3f21_a0e56236c55b["toLowerCaseLong()"]
  4b5005f3_89c1_1d03_3f21_a0e56236c55b -->|calls| 764a7bba_90e6_f89c_eb25_5b8e3334837c
  a1ba8275_80a5_ca1d_9e63_fb1914bd6459["toLowerCaseInt()"]
  a1ba8275_80a5_ca1d_9e63_fb1914bd6459 -->|calls| 764a7bba_90e6_f89c_eb25_5b8e3334837c
  style 764a7bba_90e6_f89c_eb25_5b8e3334837c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/SWARUtilTest.java lines 184–191

    private static void shuffleArray(byte[] array, Random random) {
        for (int i = array.length - 1; i > 0; i--) {
            final int index = random.nextInt(i + 1);
            final byte tmp = array[index];
            array[index] = array[i];
            array[i] = tmp;
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does shuffleArray() do?
shuffleArray() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/SWARUtilTest.java.
Where is shuffleArray() defined?
shuffleArray() is defined in common/src/test/java/io/netty/util/internal/SWARUtilTest.java at line 184.
What calls shuffleArray()?
shuffleArray() is called by 8 function(s): containsLowerCaseInt, containsLowerCaseLong, containsUpperCaseInt, containsUpperCaseLong, toLowerCaseInt, toLowerCaseLong, toUpperCaseInt, toUpperCaseLong.

Analyze Your Own Codebase

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

Try Supermodel Free