Home / Function/ hexDigits() — netty Function Reference

hexDigits() — netty Function Reference

Architecture documentation for the hexDigits() function in DecodeHexBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ddcbd000_b7c4_9660_6917_1dad06c10102["hexDigits()"]
  5c3828dc_c4a2_3a97_8b53_37a9c4e8cecf["DecodeHexBenchmark"]
  ddcbd000_b7c4_9660_6917_1dad06c10102 -->|defined in| 5c3828dc_c4a2_3a97_8b53_37a9c4e8cecf
  dedc7f04_282f_b427_184d_ab9ed5b7d5c2["nextHexDigits()"]
  ddcbd000_b7c4_9660_6917_1dad06c10102 -->|calls| dedc7f04_282f_b427_184d_ab9ed5b7d5c2
  6d519e34_548d_1ed1_0ebf_25a878b038c9["decodeHexNibble()"]
  ddcbd000_b7c4_9660_6917_1dad06c10102 -->|calls| 6d519e34_548d_1ed1_0ebf_25a878b038c9
  style ddcbd000_b7c4_9660_6917_1dad06c10102 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/handler/codec/http/DecodeHexBenchmark.java lines 92–101

    @Benchmark
    @CompilerControl(Mode.DONT_INLINE)
    public long hexDigits() {
        long v = 0;
        final char[] hexDigits = this.hexDigits[nextHexDigits()];
        for (int i = 0, size = hexDigits.length; i < size; i++) {
            v += StringUtil.decodeHexNibble(hexDigits[i]);
        }
        return v;
    }

Domain

Subdomains

Frequently Asked Questions

What does hexDigits() do?
hexDigits() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/http/DecodeHexBenchmark.java.
Where is hexDigits() defined?
hexDigits() is defined in microbench/src/main/java/io/netty/handler/codec/http/DecodeHexBenchmark.java at line 92.
What does hexDigits() call?
hexDigits() calls 2 function(s): decodeHexNibble, nextHexDigits.

Analyze Your Own Codebase

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

Try Supermodel Free