Descriptionbase::Hash: Minor improvements to documentation and testing.
Renamed the char* argument to 'data' and the string argument to 'str'.
Cleaned up the comments on the char* overload (avoid using
string-specific terms and mentioning null byte). Mentioned that this
algorithm is also in Blink.
Added a test case testing that null bytes cause the hash to change.
BUG=347393
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255269
Patch Set 1 #Patch Set 2 : Added a comment that this algorithm is also in Blink. #
Total comments: 2
Patch Set 3 : s/Add/Insert/. #
Messages
Total messages: 12 (0 generated)
|