CloneSet1459


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6340.974class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16296
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/VerboseWriter.java
26307
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/VerboseWriter.java
36318
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/VerboseWriter.java
Clone Instance
1
Line Count
6
Source Line
296
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/VerboseWriter.java

        /**
         * Prints hex representation of an int.
         */
        public void printHex(short s) {
                char buffer[] = new char[VERBOSE_HEX_WIDTH];
                for (int i = 1; i >= 0; i--)
                        appendHexByte((byte) (s >>> i * 8), buffer, 1 - i);
                appendHexSpaces(buffer, 2);
                print(buffer);
        }


Clone Instance
2
Line Count
6
Source Line
307
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/VerboseWriter.java

        /**
         * Prints hex representation of an int.
         */
        public void printHex(int integer) {
                char buffer[] = new char[VERBOSE_HEX_WIDTH];
                for (int i = 3; i >= 0; i--)
                        appendHexByte((byte) (integer >>> i * 8), buffer, 3 - i);
                appendHexSpaces(buffer, 4);
                print(buffer);
        }


Clone Instance
3
Line Count
6
Source Line
318
Source File
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/VerboseWriter.java

        /**
         * Prints hex representation of a long.
         */
        public void printHex(long l) {
                char buffer[] = new char[VERBOSE_HEX_WIDTH];
                for (int i = 7; i >= 0; i--)
                        appendHexByte((byte) (l >>> i * 8), buffer, 7 - i);
                appendHexSpaces(buffer, 8);
                print(buffer);
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * Prints hex representation of an int.
         */
/**
         * Prints hex representation of a long.
         */
public void printHex( [[#variable94d5c5c0]]  [[#variable94d5dd60]]) {
  char buffer[] = new char[VERBOSE_HEX_WIDTH];
  for (int i = [[#variable94d5ce80]]; i >= 0; i--)
    appendHexByte((byte) ( [[#variable94d5dd60]] >>> i * 8), buffer,  [[#variable94d5ce80]] - i);
  appendHexSpaces(buffer,  [[#variable94d5de00]]);
  print(buffer);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#94d5c5c0]]
short 
12[[#94d5c5c0]]
int 
13[[#94d5c5c0]]
long 
21[[#94d5dd60]]
s 
22[[#94d5dd60]]
integer 
23[[#94d5dd60]]
l 
31[[#94d5ce80]]
1 
32[[#94d5ce80]]
3 
33[[#94d5ce80]]
7 
41[[#94d5de00]]
2 
42[[#94d5de00]]
4 
43[[#94d5de00]]
8