Home / Function/ versionEqOrGt() — netty Function Reference

versionEqOrGt() — netty Function Reference

Architecture documentation for the versionEqOrGt() function in EpollReuseAddrTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  2cb5d0a8_8e51_b815_9f07_7fbf35f11bf5["versionEqOrGt()"]
  872e58d8_72a4_04f4_f4a3_a86fb110f538["EpollReuseAddrTest"]
  2cb5d0a8_8e51_b815_9f07_7fbf35f11bf5 -->|defined in| 872e58d8_72a4_04f4_f4a3_a86fb110f538
  db502e8a_8e69_34b7_3054_d4725ec9080e["testMultipleBindSocketChannelWithoutReusePortFails()"]
  db502e8a_8e69_34b7_3054_d4725ec9080e -->|calls| 2cb5d0a8_8e51_b815_9f07_7fbf35f11bf5
  09ae229f_6cc2_3ad2_8aa5_2c734d8add37["testMultipleBindDatagramChannelWithoutReusePortFails()"]
  09ae229f_6cc2_3ad2_8aa5_2c734d8add37 -->|calls| 2cb5d0a8_8e51_b815_9f07_7fbf35f11bf5
  a01a7156_56b9_340b_9199_4950aa101ca9["testMultipleBindSocketChannel()"]
  a01a7156_56b9_340b_9199_4950aa101ca9 -->|calls| 2cb5d0a8_8e51_b815_9f07_7fbf35f11bf5
  f3e2e7fd_7460_739d_9cb6_36351cbde902["testMultipleBindDatagramChannel()"]
  f3e2e7fd_7460_739d_9cb6_36351cbde902 -->|calls| 2cb5d0a8_8e51_b815_9f07_7fbf35f11bf5
  style 2cb5d0a8_8e51_b815_9f07_7fbf35f11bf5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollReuseAddrTest.java lines 215–229

    private static boolean versionEqOrGt(int major, int minor, int bugfix)  {
        if (MAJOR > major) {
            return true;
        }
        if (MAJOR == major) {
            if (MINOR > minor) {
                return true;
            } else if (MINOR == minor) {
                if (BUGFIX >= bugfix) {
                    return true;
                }
            }
        }
        return false;
    }

Domain

Subdomains

Frequently Asked Questions

What does versionEqOrGt() do?
versionEqOrGt() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollReuseAddrTest.java.
Where is versionEqOrGt() defined?
versionEqOrGt() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollReuseAddrTest.java at line 215.
What calls versionEqOrGt()?
versionEqOrGt() is called by 4 function(s): testMultipleBindDatagramChannel, testMultipleBindDatagramChannelWithoutReusePortFails, testMultipleBindSocketChannel, testMultipleBindSocketChannelWithoutReusePortFails.

Analyze Your Own Codebase

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

Try Supermodel Free