MCPcopy Create free account
hub / github.com/Peergos/Peergos / plugHole

Method plugHole

src/peergos/shared/util/EfficientHashMap.java:734–772  ·  view source on GitHub ↗

Tricky, we left a hole in the map, which we have to fill. The only way to do this is to search forwards through the map shuffling back values that match this index until we hit a null.

(int hole)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

internalRemoveMethod · 0.95

Calls 2

getKeyIndexMethod · 0.95
unmaskNullKeyMethod · 0.95

Tested by

no test coverage detected