CloneSet511


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4310.971ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14140
Closure/closure/goog/math/size.js
24161
Closure/closure/goog/math/size.js
34172
Closure/closure/goog/math/size.js
Clone Instance
1
Line Count
4
Source Line
140
Source File
Closure/closure/goog/math/size.js

/**
 * Clamps the width and height parameters upward to integer values.
 * @return {goog.math.Size} This size with ceil'd components.
 */
goog.math.Size.prototype.ceil=  function ( )
                                           {
  this.width=  Math.ceil(this.width);
  this.height=  Math.ceil(this.height);
  return this ;
                                           } ;


Clone Instance
2
Line Count
4
Source Line
161
Source File
Closure/closure/goog/math/size.js

/**
 * Clamps the width and height parameters downward to integer values.
 * @return {goog.math.Size} This size with floored components.
 */
goog.math.Size.prototype.floor=  function ( )
                                            {
  this.width=  Math.floor(this.width);
  this.height=  Math.floor(this.height);
  return this ;
                                            } ;


Clone Instance
3
Line Count
4
Source Line
172
Source File
Closure/closure/goog/math/size.js

/**
 * Rounds the width and height parameters to integer values.
 * @return {goog.math.Size} This size with rounded components.
 */
goog.math.Size.prototype.round=  function ( )
                                            {
  this.width=  Math.round(this.width);
  this.height=  Math.round(this.height);
  return this ;
                                            } ;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
 * Rounds the width and height parameters to integer values.
 * @return {goog.math.Size} This size with rounded components.
 */
/**
 * Clamps the width and height parameters downward to integer values.
 * @return {goog.math.Size} This size with floored components.
 */
/**
 * Clamps the width and height parameters upward to integer values.
 * @return {goog.math.Size} This size with ceil'd components.
 */
goog.math.Size.prototype. [[#variable402a8f00]]= function ( )
                                                 { this.width=Math. [[#variable402a8f00]](this.width);
                                                   this.height=Math. [[#variable402a8f00]](this.height);
                                                   return this ;
                                                 } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#402a8f00]]
round 
12[[#402a8f00]]
floor 
13[[#402a8f00]]
ceil