CloneSet432


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.988ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18260
Closure/closure/goog/structs/heap.js
28275
Closure/closure/goog/structs/heap.js
Clone Instance
1
Line Count
8
Source Line
260
Source File
Closure/closure/goog/structs/heap.js

/**
 * Gets the values of the heap.
 * @return {Array} The values in the heap.
 */
goog.structs.Heap.prototype.getValues=  function ( )
                                                   {
  var nodes=  this.nodes_;
  var rv=  [ ];
  var l=  nodes.length;
  for (var i=  0; i<  l; i++) {
    rv.push(nodes[i].getValue( ));
                              }
  return rv;
                                                   } ;


Clone Instance
2
Line Count
8
Source Line
275
Source File
Closure/closure/goog/structs/heap.js

/**
 * Gets the keys of the heap.
 * @return {Array} The keys in the heap.
 */
goog.structs.Heap.prototype.getKeys=  function ( )
                                                 {
  var nodes=  this.nodes_;
  var rv=  [ ];
  var l=  nodes.length;
  for (var i=  0; i<  l; i++) {
    rv.push(nodes[i].getKey( ));
                              }
  return rv;
                                                 } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Gets the keys of the heap.
 * @return {Array} The keys in the heap.
 */
/**
 * Gets the values of the heap.
 * @return {Array} The values in the heap.
 */
goog.structs.Heap.prototype. [[#variable1f358de0]]= function ( )
                                                    { var nodes=this.nodes_;
                                                      var rv=[ ];
                                                      var l=nodes.length;
                                                      for (var i=0; i<l; i++)
                                                        { rv.push(nodes[i]. [[#variable1f358d60]]( ));
                                                        }
                                                      return rv;
                                                    } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1f358de0]]
getKeys 
12[[#1f358de0]]
getValues 
21[[#1f358d60]]
getKey 
22[[#1f358d60]]
getValue