CloneSet1659


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.973ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12165
Closure/closure/goog/math/math.js
22176
Closure/closure/goog/math/math.js
Clone Instance
1
Line Count
2
Source Line
165
Source File
Closure/closure/goog/math/math.js

/**
 * For a given angle and radius, finds the X portion of the offset.
 * @param {number} degrees Angle in degrees (zero points in +X direction).
 * @param {number} radius Radius.
 * @return {number} The x-distance for the angle and radius.
 */
goog.math.angleDx=  function (degrees, radius){
  return radius*  Math.cos(goog.math.toRadians(degrees));
                                              } ;


Clone Instance
2
Line Count
2
Source Line
176
Source File
Closure/closure/goog/math/math.js

/**
 * For a given angle and radius, finds the Y portion of the offset.
 * @param {number} degrees Angle in degrees (zero points in +X direction).
 * @param {number} radius Radius.
 * @return {number} The y-distance for the angle and radius.
 */
goog.math.angleDy=  function (degrees, radius){
  return radius*  Math.sin(goog.math.toRadians(degrees));
                                              } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * For a given angle and radius, finds the Y portion of the offset.
 * @param {number} degrees Angle in degrees (zero points in +X direction).
 * @param {number} radius Radius.
 * @return {number} The y-distance for the angle and radius.
 */
/**
 * For a given angle and radius, finds the X portion of the offset.
 * @param {number} degrees Angle in degrees (zero points in +X direction).
 * @param {number} radius Radius.
 * @return {number} The x-distance for the angle and radius.
 */
goog.math. [[#variable63185d00]]= function (degrees,radius)
                                  { return radius*Math. [[#variable63185ca0]](goog.math.toRadians(degrees));
                                  } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#63185d00]]
angleDy 
12[[#63185d00]]
angleDx 
21[[#63185ca0]]
sin 
22[[#63185ca0]]
cos