CloneSet2009


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14210.996class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1144964
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
2144979
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
Clone Instance
1
Line Count
14
Source Line
4964
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

public void ldc2_w(double constant) {
        if (DEBUG) System.out.println(position + "\t\tldc2_w:" + constant); //$NON-NLS-1$
        countLabels = 0;
        int index = constantPool.literalIndex(constant);
        stackDepth += 2;
        if (stackDepth > stackMax)
                stackMax = stackDepth;
        // Generate a ldc2_w
        if (classFileOffset + 2 >= bCodeStream.length) {
                resizeByteArray();
        }
        position++;
        bCodeStream[classFileOffset++ ] = Opcodes.OPC_ldc2_w;
        writeUnsignedShort(index);
}


Clone Instance
2
Line Count
14
Source Line
4979
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java

public void ldc2_w(long constant) {
        if (DEBUG) System.out.println(position + "\t\tldc2_w:" + constant); //$NON-NLS-1$
        countLabels = 0;
        int index = constantPool.literalIndex(constant);
        stackDepth += 2;
        if (stackDepth > stackMax)
                stackMax = stackDepth;
        // Generate a ldc2_w
        if (classFileOffset + 2 >= bCodeStream.length) {
                resizeByteArray();
        }
        position++;
        bCodeStream[classFileOffset++ ] = Opcodes.OPC_ldc2_w;
        writeUnsignedShort(index);
}


Clone AbstractionParameter Count: 1Parameter Bindings

public void ldc2_w( [[#variablec34d6100]] constant) {
  if (DEBUG)
    System.out.println(position + "\t\tldc2_w:" + constant); //$NON-NLS-1$
  countLabels = 0;
  int index = constantPool.literalIndex(constant);
  stackDepth += 2;
  if (stackDepth > stackMax)
    stackMax = stackDepth;
  // Generate a ldc2_w
  if (classFileOffset + 2 >= bCodeStream.length) {
    resizeByteArray();
  }
  position++;
  bCodeStream[classFileOffset++ ] = Opcodes.OPC_ldc2_w;
  writeUnsignedShort(index);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c34d6100]]
double 
12[[#c34d6100]]
long