Home / Function/ getHashTableFastThreadLocalArrayFill() — netty Function Reference

getHashTableFastThreadLocalArrayFill() — netty Function Reference

Architecture documentation for the getHashTableFastThreadLocalArrayFill() function in Snappy.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e21877d1_2b7f_3910_49c1_4b51e6159fcd["getHashTableFastThreadLocalArrayFill()"]
  6a7984ff_ded6_5ba2_b4bb_f92d0d3986f8["Snappy"]
  e21877d1_2b7f_3910_49c1_4b51e6159fcd -->|defined in| 6a7984ff_ded6_5ba2_b4bb_f92d0d3986f8
  bd5271ad_e0a7_6fc1_fedc_8d83fb7e74b5["getHashTable()"]
  bd5271ad_e0a7_6fc1_fedc_8d83fb7e74b5 -->|calls| e21877d1_2b7f_3910_49c1_4b51e6159fcd
  style e21877d1_2b7f_3910_49c1_4b51e6159fcd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/main/java/io/netty/handler/codec/compression/Snappy.java lines 201–211

    public static short[] getHashTableFastThreadLocalArrayFill(int hashTableSize) {
        short[] hashTable = HASH_TABLE.get();
        if (hashTable == null || hashTable.length < hashTableSize) {
            hashTable = new short[hashTableSize];
            HASH_TABLE.set(hashTable);
            return hashTable;
        }

        Arrays.fill(hashTable, 0, hashTableSize, (short) 0);
        return hashTable;
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does getHashTableFastThreadLocalArrayFill() do?
getHashTableFastThreadLocalArrayFill() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Snappy.java.
Where is getHashTableFastThreadLocalArrayFill() defined?
getHashTableFastThreadLocalArrayFill() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Snappy.java at line 201.
What calls getHashTableFastThreadLocalArrayFill()?
getHashTableFastThreadLocalArrayFill() is called by 1 function(s): getHashTable.

Analyze Your Own Codebase

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

Try Supermodel Free