Home / Function/ getInt() — netty Function Reference

getInt() — netty Function Reference

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

Function java Buffer Search called by 2

Entity Profile

Dependency Diagram

graph TD
  073f69f0_5e47_5ce7_dfc0_684c440d9f9a["getInt()"]
  db2d0c9c_9d0d_4140_7bf8_37125c131269["EpollEventArray"]
  073f69f0_5e47_5ce7_dfc0_684c440d9f9a -->|defined in| db2d0c9c_9d0d_4140_7bf8_37125c131269
  80641ba8_de7b_407c_1297_3534dce44ff9["events()"]
  80641ba8_de7b_407c_1297_3534dce44ff9 -->|calls| 073f69f0_5e47_5ce7_dfc0_684c440d9f9a
  6d33aa1f_44ca_c4b1_323d_57714a803600["fd()"]
  6d33aa1f_44ca_c4b1_323d_57714a803600 -->|calls| 073f69f0_5e47_5ce7_dfc0_684c440d9f9a
  style 073f69f0_5e47_5ce7_dfc0_684c440d9f9a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollEventArray.java lines 116–122

    private int getInt(int index, int offset) {
        if (PlatformDependent.hasUnsafe()) {
            long n = (long) index * EPOLL_EVENT_SIZE;
            return PlatformDependent.getInt(memoryAddress + n + offset);
        }
        return memory.getInt(index * EPOLL_EVENT_SIZE + offset);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does getInt() do?
getInt() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollEventArray.java.
Where is getInt() defined?
getInt() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollEventArray.java at line 116.
What calls getInt()?
getInt() is called by 2 function(s): events, fd.

Analyze Your Own Codebase

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

Try Supermodel Free