Home / Function/ compareUintLittleEndian() — netty Function Reference

compareUintLittleEndian() — netty Function Reference

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

Function java Buffer Telemetry calls 1 called by 1

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/ByteBufUtil.java lines 483–492

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

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does compareUintLittleEndian() do?
compareUintLittleEndian() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/ByteBufUtil.java.
Where is compareUintLittleEndian() defined?
compareUintLittleEndian() is defined in buffer/src/main/java/io/netty/buffer/ByteBufUtil.java at line 483.
What does compareUintLittleEndian() call?
compareUintLittleEndian() calls 1 function(s): uintFromLE.
What calls compareUintLittleEndian()?
compareUintLittleEndian() 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