Home / Function/ getInt() — netty Function Reference

getInt() — netty Function Reference

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

Function java Buffer Search called by 4

Entity Profile

Dependency Diagram

graph TD
  71ec7790_af7a_867d_0298_cc71cf028fc8["getInt()"]
  f8708bc1_cb99_2db5_e587_516d1dfe420a["SWARUtilTest"]
  71ec7790_af7a_867d_0298_cc71cf028fc8 -->|defined in| f8708bc1_cb99_2db5_e587_516d1dfe420a
  613adaa3_468f_f707_0011_8af488216e99["containsUpperCaseInt()"]
  613adaa3_468f_f707_0011_8af488216e99 -->|calls| 71ec7790_af7a_867d_0298_cc71cf028fc8
  09cda01e_f010_f76b_cb99_bc57cc4896e0["containsLowerCaseInt()"]
  09cda01e_f010_f76b_cb99_bc57cc4896e0 -->|calls| 71ec7790_af7a_867d_0298_cc71cf028fc8
  ac25e56f_2dd0_77d5_1a7c_972619044352["toUpperCaseInt()"]
  ac25e56f_2dd0_77d5_1a7c_972619044352 -->|calls| 71ec7790_af7a_867d_0298_cc71cf028fc8
  a1ba8275_80a5_ca1d_9e63_fb1914bd6459["toLowerCaseInt()"]
  a1ba8275_80a5_ca1d_9e63_fb1914bd6459 -->|calls| 71ec7790_af7a_867d_0298_cc71cf028fc8
  style 71ec7790_af7a_867d_0298_cc71cf028fc8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/SWARUtilTest.java lines 213–219

    private static int getInt(byte[] bytes, int idx) {
        assert idx >= 0 && bytes.length >= idx + 4;
        return bytes[idx] << 24 |
               (bytes[idx + 1] & 0xff) << 16 |
               (bytes[idx + 2] & 0xff) << 8 |
               bytes[idx + 3] & 0xff;
    }

Domain

Subdomains

Frequently Asked Questions

What does getInt() do?
getInt() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/SWARUtilTest.java.
Where is getInt() defined?
getInt() is defined in common/src/test/java/io/netty/util/internal/SWARUtilTest.java at line 213.
What calls getInt()?
getInt() is called by 4 function(s): containsLowerCaseInt, containsUpperCaseInt, toLowerCaseInt, toUpperCaseInt.

Analyze Your Own Codebase

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

Try Supermodel Free