CloneSet767


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.967ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1653
Closure/closure/goog/proto2/lazydeserializer.js
2591
Closure/closure/goog/proto2/serializer.js
Clone Instance
1
Line Count
6
Source Line
53
Source File
Closure/closure/goog/proto2/lazydeserializer.js

/** @inheritDoc */
goog.proto2.LazyDeserializer.prototype.deserialize=
  function (descriptor, data){
  var message=  descriptor.createMessageInstance( );
  message.initializeForLazyDeserializer(this, data);
  goog.proto2.Util.assert(message instanceof goog.proto2.Message);
  return message;
                             } ;


Clone Instance
2
Line Count
5
Source Line
91
Source File
Closure/closure/goog/proto2/serializer.js

/**
 * Deserializes a message from the expected format.
 *
 * @param {goog.proto2.Descriptor} descriptor The descriptor of the message
 *     to be created.
 * @param {*} data The data of the message.
 *
 * @return {goog.proto2.Message} The message created.
 */
goog.proto2.Serializer.prototype.deserialize=  function (descriptor, data){
  var message=  descriptor.createMessageInstance( );
  this.deserializeTo(message, data);
  goog.proto2.Util.assert(message instanceof goog.proto2.Message);
  return message;
                                                                          } ;


Clone AbstractionParameter Count: 4Parameter Bindings

/** @inheritDoc */
/**
 * Deserializes a message from the expected format.
 *
 * @param {goog.proto2.Descriptor} descriptor The descriptor of the message
 *     to be created.
 * @param {*} data The data of the message.
 *
 * @return {goog.proto2.Message} The message created.
 */
goog.proto2. [[#variable42e2c6e0]].prototype.deserialize= function (descriptor,data)
                                                          { var message=descriptor.createMessageInstance( );
                                                             [[#variable42e2c620]]. [[#variable42e2c700]]( [[#variable42e2c660]],data);
                                                            goog.proto2.Util.assert(message instanceof goog.proto2.Message);
                                                            return message;
                                                          } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#42e2c6e0]]
LazyDeserializer 
12[[#42e2c6e0]]
Serializer 
21[[#42e2c620]]
message 
22[[#42e2c620]]
this 
31[[#42e2c700]]
initializeForLazyDeserializer 
32[[#42e2c700]]
deserializeTo 
41[[#42e2c660]]
this 
42[[#42e2c660]]
message