Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1094)

Unified Diff: src/pkg/hash/hash.go

Issue 445042: code review 445042: hash/crc64: new package implementing 64-bit CRC (Closed)
Patch Set: code review 445042: hash/crc64: new package implementing 64-bit CRC Created 14 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/hash/crc64/crc64_test.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/hash/hash.go
===================================================================
--- a/src/pkg/hash/hash.go
+++ b/src/pkg/hash/hash.go
@@ -28,3 +28,9 @@
Hash
Sum32() uint32
}
+
+// Hash64 is the common interface implemented by all 64-bit hash functions.
+type Hash64 interface {
+ Hash
+ Sum64() uint64
+}
« no previous file with comments | « src/pkg/hash/crc64/crc64_test.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b