Home / Function/ compareUintBigEndianB() — netty Function Reference

compareUintBigEndianB() — netty Function Reference

Architecture documentation for the compareUintBigEndianB() function in ByteBufUtil.java from the netty codebase.

Function java Buffer Telemetry calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  5a8ab0b2_ccfd_2ba2_b189_988c619b7e86["compareUintBigEndianB()"]
  920454f6_25f6_4a9b_3d32_9684c3e11f6c["ByteBufUtil"]
  5a8ab0b2_ccfd_2ba2_b189_988c619b7e86 -->|defined in| 920454f6_25f6_4a9b_3d32_9684c3e11f6c
  6be7b2df_f943_8703_84b5_3a297dd217a5["compare()"]
  6be7b2df_f943_8703_84b5_3a297dd217a5 -->|calls| 5a8ab0b2_ccfd_2ba2_b189_988c619b7e86
  c28e03ff_2139_d020_2c20_9858eaa2b257["uintFromLE()"]
  5a8ab0b2_ccfd_2ba2_b189_988c619b7e86 -->|calls| c28e03ff_2139_d020_2c20_9858eaa2b257
  style 5a8ab0b2_ccfd_2ba2_b189_988c619b7e86 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/ByteBufUtil.java lines 507–518

    private static long compareUintBigEndianB(
            ByteBuf bufferA, ByteBuf bufferB, int aIndex, int bIndex, int uintCountIncrement) {
        for (int aEnd = aIndex + uintCountIncrement; aIndex < aEnd; aIndex += 4, bIndex += 4) {
            long a = uintFromLE(bufferA.getUnsignedIntLE(aIndex));
            long b = bufferB.getUnsignedInt(bIndex);
            long comp =  a - b;
            if (comp != 0) {
                return comp;
            }
        }
        return 0;
    }

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does compareUintBigEndianB() do?
compareUintBigEndianB() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/ByteBufUtil.java.
Where is compareUintBigEndianB() defined?
compareUintBigEndianB() is defined in buffer/src/main/java/io/netty/buffer/ByteBufUtil.java at line 507.
What does compareUintBigEndianB() call?
compareUintBigEndianB() calls 1 function(s): uintFromLE.
What calls compareUintBigEndianB()?
compareUintBigEndianB() is called by 1 function(s): compare.

Analyze Your Own Codebase

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

Try Supermodel Free