MCPcopy Create free account
hub / github.com/bnyeggen/lash / idxForHash

Method idxForHash

src/main/java/com/nyeggen/lash/ADiskMap.java:100–104  ·  view source on GitHub ↗

Returns the bucket index for the given hash. This doesn't lock - because it depends on tableLength, callers should establish some lock that precludes a full rehash (read or write lock on any of the locks).

(long hash)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

locateRecordMethod · 0.80
getMethod · 0.80
putIfAbsentMethod · 0.80
putMethod · 0.80
removeMethod · 0.80
replaceMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected