CloneSet1638


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.973ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1260
Closure/closure/goog/crypt/hash32.js
2371
Closure/closure/goog/crypt/hash32.js
Clone Instance
1
Line Count
2
Source Line
60
Source File
Closure/closure/goog/crypt/hash32.js

/**
 * Hashes a string to a 32-bit value.
 * @param {string} str String to hash.
 * @return {number} 32-bit hash.
 */
goog.crypt.hash32.encodeString=  function (str){
  return goog.crypt.hash32.encodeByteArray(goog.crypt.stringToByteArray(str));
                                               } ;


Clone Instance
2
Line Count
3
Source Line
71
Source File
Closure/closure/goog/crypt/hash32.js

/**
 * Hashes a string to a 32-bit value, converting the string to UTF-8 before
 * doing the encoding.
 * @param {string} str String to hash.
 * @return {number} 32-bit hash.
 */
goog.crypt.hash32.encodeStringUtf8=  function (str){
  return goog.crypt.hash32.encodeByteArray(
      goog.crypt.stringToUtf8ByteArray(str));
                                                   } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Hashes a string to a 32-bit value, converting the string to UTF-8 before
 * doing the encoding.
 * @param {string} str String to hash.
 * @return {number} 32-bit hash.
 */
/**
 * Hashes a string to a 32-bit value.
 * @param {string} str String to hash.
 * @return {number} 32-bit hash.
 */
goog.crypt.hash32. [[#variable20243aa0]]= function (str)
                                          { return goog.crypt.hash32.encodeByteArray(goog.crypt. [[#variable20243a20]](str));
                                          } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20243aa0]]
encodeStringUtf8 
12[[#20243aa0]]
encodeString 
21[[#20243a20]]
stringToUtf8ByteArray 
22[[#20243a20]]
stringToByteArray