Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 1 | 0.996 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 4964 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java |
2 | 14 | 4979 | 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); } |
| ||||
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); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#c34d6100]] | double |
1 | 2 | [[#c34d6100]] | long |