CloneSet238


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15210.996StatementList[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115268
Closure/closure/goog/math/integer.js
215308
Closure/closure/goog/math/long.js
Clone Instance
1
Line Count
15
Source Line
268
Source File
Closure/closure/goog/math/integer.js

  var rem=  this ;
  var result=  '';
  while ( true){
    var remDiv=  rem.divide(radixToPower);
    var intval=  rem.subtract(remDiv.multiply(radixToPower)).toInt( );
    var digits=  intval.toString(radix);

    rem=  remDiv;
    if (rem.isZero( )){
      return digits+  result;
                      }
    else   {
      while (digits.length<  6) {
        digits=  '0'+  digits;
                                }
      result=  ''+  digits+  result;
           }
               }


Clone Instance
2
Line Count
15
Source Line
308
Source File
Closure/closure/goog/math/long.js

  var rem=  this ;
  var result=  '';
  while ( true){
    var remDiv=  rem.div(radixToPower);
    var intval=  rem.subtract(remDiv.multiply(radixToPower)).toInt( );
    var digits=  intval.toString(radix);

    rem=  remDiv;
    if (rem.isZero( )){
      return digits+  result;
                      }
    else   {
      while (digits.length<  6) {
        digits=  '0'+  digits;
                                }
      result=  ''+  digits+  result;
           }
               }


Clone AbstractionParameter Count: 1Parameter Bindings

var rem=this ;
var result='';
while ( true)
  { var remDiv=rem. [[#variable57498320]](radixToPower);
    var intval=rem.subtract(remDiv.multiply(radixToPower)).toInt( );
    var digits=intval.toString(radix);
    rem=remDiv;
    if (rem.isZero( ))
      { return digits+result;
      }
    else
      { while (digits.length<6)
          { digits='0'+digits;
          }
        result=''+digits+result;
      }
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57498320]]
div 
12[[#57498320]]
divide