MCPcopy Create free account
hub / github.com/BaseXdb/basex / checkCapacity

Method checkCapacity

basex-core/src/main/java/org/basex/util/hash/ASet.java:70–72  ·  view source on GitHub ↗

Checks the capacity of the hash table and resizes it if necessary. @return true if the hash table was resized

()

Source from the content-addressed store, hash-verified

68 * @return {@code true} if the hash table was resized
69 */
70 protected final boolean checkCapacity() {
71 return checkCapacity((index, bucket) -> { });
72 }
73
74 /**
75 * Checks the capacity of the hash table and resizes it if necessary.

Callers 3

storeMethod · 0.45
putMethod · 0.45
storeMethod · 0.45

Calls 5

capacityMethod · 0.95
hashCodeMethod · 0.95
rehashMethod · 0.95
copyOfMethod · 0.80
acceptMethod · 0.65

Tested by

no test coverage detected