Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.977 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 645 | Closure/closure/goog/math/integer.js |
2 | 2 | 686 | Closure/closure/goog/math/long.js |
| ||||
/** * Returns this Integer modulo the given one. * @param {goog.math.Integer} other The Integer by which to mod. * @return {goog.math.Integer} This value modulo the given one. */ goog.math.Integer.prototype.modulo= function (other){ return this.subtract(this.divide(other).multiply(other)); } ; |
| ||||
/** * Returns this Long modulo the given one. * @param {goog.math.Long} other Long by which to mod. * @return {goog.math.Long} This Long modulo the given one. */ goog.math.Long.prototype.modulo= function (other){ return this.subtract(this.div(other).multiply(other)); } ; |
| |||
/** * Returns this Integer modulo the given one. * @param {goog.math.Integer} other The Integer by which to mod. * @return {goog.math.Integer} This value modulo the given one. */ /** * Returns this Long modulo the given one. * @param {goog.math.Long} other Long by which to mod. * @return {goog.math.Long} This Long modulo the given one. */ goog.math. [[#variable573f4340]].prototype.modulo= function (other) { return this.subtract(this. [[#variable573f42c0]](other).multiply(other)); } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#573f4340]] | Integer |
1 | 2 | [[#573f4340]] | Long |
2 | 1 | [[#573f42c0]] | divide |
2 | 2 | [[#573f42c0]] | div |