MCPcopy Index your code
hub / github.com/clojure/clojure / add

Method add

src/jvm/clojure/asm/SymbolTable.java:450–455  ·  view source on GitHub ↗

Adds the given entry in the #entries hash set. This method does not check whether #entries already contains a similar entry or not, and does not resize #entries if necessary. @param entry an Entry (which must not already be contained in #entries).

(final Entry entry)

Source from the content-addressed store, hash-verified

448 * @param entry an Entry (which must not already be contained in {@link #entries}).
449 */
450 private void add(final Entry entry) {
451 entryCount++;
452 int index = entry.hashCode % entries.length;
453 entry.next = entries[index];
454 entries[index] = entry;
455 }
456
457 // -----------------------------------------------------------------------------------------------
458 // Constant pool entries management.

Callers 9

SymbolTableMethod · 0.95
addConstantIntegerMethod · 0.95
addConstantLongMethod · 0.95
addConstantUtf8Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected