CloneSet706


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.970ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15122
Closure/closure/goog/gears/workerpool.js
25136
Closure/closure/goog/gears/workerpool.js
Clone Instance
1
Line Count
5
Source Line
122
Source File
Closure/closure/goog/gears/workerpool.js

/**
 * Creates a new worker.
 * @param {string} code  The code to execute inside the worker.
 * @return {goog.gears.Worker} The worker that was just created.
 */
goog.gears.WorkerPool.prototype.createWorker=  function (code){
  var workerId=  this.workerPool_.createWorker(code);
  var worker=  new goog.gears.Worker(this, workerId);
  this.registerWorker(worker);
  return worker;
                                                              } ;


Clone Instance
2
Line Count
5
Source Line
136
Source File
Closure/closure/goog/gears/workerpool.js

/**
 * Creates a new worker from a URL.
 * @param {string} url  URL from which to get the code to execute inside the
 *     worker.
 * @return {goog.gears.Worker} The worker that was just created.
 */
goog.gears.WorkerPool.prototype.createWorkerFromUrl=  function (url){
  var workerId=  this.workerPool_.createWorkerFromUrl(url);
  var worker=  new goog.gears.Worker(this, workerId);
  this.registerWorker(worker);
  return worker;
                                                                    } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Creates a new worker from a URL.
 * @param {string} url  URL from which to get the code to execute inside the
 *     worker.
 * @return {goog.gears.Worker} The worker that was just created.
 */
/**
 * Creates a new worker.
 * @param {string} code  The code to execute inside the worker.
 * @return {goog.gears.Worker} The worker that was just created.
 */
goog.gears.WorkerPool.prototype. [[#variable3cd0a1a0]]= function ( [[#variable3cd0a900]])
                                                        { var workerId=this.workerPool_. [[#variable3cd0a1a0]]( [[#variable3cd0a900]]);
                                                          var worker=new goog.gears.Worker(this,workerId);
                                                          this.registerWorker(worker);
                                                          return worker;
                                                        } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3cd0a1a0]]
createWorkerFromUrl 
12[[#3cd0a1a0]]
createWorker 
21[[#3cd0a900]]
url 
22[[#3cd0a900]]
code