CloneSet2582


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.951statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1656
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CharArrayCache.java
2673
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CharArrayCache.java
Clone Instance
1
Line Count
6
Source Line
56
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CharArrayCache.java

        int index = hashCodeChar(key), length = this.keyTable.length;
        while (this.keyTable[index] != null) {
                if (CharOperation.equals(this.keyTable[index], key))
                        return true;
                if ( ++index == length) { // faster than modulo
                        index = 0;
                }
        }


Clone Instance
2
Line Count
6
Source Line
73
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CharArrayCache.java

        int index = hashCodeChar(key), length = this.keyTable.length;
        while (this.keyTable[index] != null) {
                if (CharOperation.equals(this.keyTable[index], key))
                        return this.valueTable[index];
                if ( ++index == length) { // faster than modulo
                        index = 0;
                }
        }


Clone AbstractionParameter Count: 1Parameter Bindings

int index = hashCodeChar(key), length = this.keyTable.length;
while (this.keyTable[index] != null) {
  if (CharOperation.equals(this.keyTable[index], key))
    return [[#variablea0836d40]];
  if ( ++index == length) { // faster than modulo
    index = 0;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0836d40]]
true 
12[[#a0836d40]]
this.valueTable[index]