Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.993 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 150 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CharArrayCache.java |
2 | 9 | 120 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/ObjectCache.java |
| ||||
/** * Rehashes the content of the table into a bigger table. * This method is called automatically when the hashtable's * size exceeds the threshold. */ private void rehash() { CharArrayCache newHashtable = new CharArrayCache(this.keyTable.length * 2); for (int i = this.keyTable.length; --i >= 0;) if (this.keyTable[i] != null) newHashtable.put(this.keyTable[i], this.valueTable[i]); this.keyTable = newHashtable.keyTable; this.valueTable = newHashtable.valueTable; this.threshold = newHashtable.threshold; } |
| ||||
/** * Rehashes the content of the table into a bigger table. * This method is called automatically when the hashtable's * size exceeds the threshold. */ private void rehash() { ObjectCache newHashtable = new ObjectCache(this.keyTable.length * 2); for (int i = this.keyTable.length; --i >= 0;) if (this.keyTable[i] != null) newHashtable.put(this.keyTable[i], this.valueTable[i]); this.keyTable = newHashtable.keyTable; this.valueTable = newHashtable.valueTable; this.threshold = newHashtable.threshold; } |
| |||
/** * Rehashes the content of the table into a bigger table. * This method is called automatically when the hashtable's * size exceeds the threshold. */ private void rehash() { [[#variable99006880]] newHashtable = new [[#variable99006880]](this.keyTable.length * 2); for (int i = this.keyTable.length; --i >= 0;) if (this.keyTable[i] != null) newHashtable.put(this.keyTable[i], this.valueTable[i]); this.keyTable = newHashtable.keyTable; this.valueTable = newHashtable.valueTable; this.threshold = newHashtable.threshold; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#99006880]] | ObjectCache |
1 | 2 | [[#99006880]] | CharArrayCache |