diff options
author | Abseil Team <absl-team@google.com> | 2023-06-12 13:43:18 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-06-12 13:44:03 -0700 |
commit | dfc7f46d9c8425933ffe2c275f982f956d33d06f (patch) | |
tree | e785f6dfb3272b38c241ada5b79b934d3eb12427 /absl/crc/internal/crc.h | |
parent | 0af0103d3454d312b19d928255996a192df45ec7 (diff) |
Removes unused methods CRC::Empty() and CRC::Concat() from the internal
implementation.
PiperOrigin-RevId: 539749773
Change-Id: Iec83431ffd360a077b153cea00427580ae287d1f
Diffstat (limited to 'absl/crc/internal/crc.h')
-rw-r--r-- | absl/crc/internal/crc.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/absl/crc/internal/crc.h b/absl/crc/internal/crc.h index e683c25f..4efdd032 100644 --- a/absl/crc/internal/crc.h +++ b/absl/crc/internal/crc.h @@ -40,9 +40,6 @@ class CRC { public: virtual ~CRC(); - // Place the CRC of the empty string in "*crc" - virtual void Empty(uint32_t* crc) const = 0; - // If "*crc" is the CRC of bytestring A, place the CRC of // the bytestring formed from the concatenation of A and the "length" // bytes at "bytes" into "*crc". @@ -58,11 +55,6 @@ class CRC { // with those zero bytes removed. virtual void UnextendByZeroes(uint32_t* crc, size_t length) const = 0; - // If *px is the CRC (as defined by *crc) of some string X, - // and y is the CRC of some string Y that is ylen bytes long, set - // *px to the CRC of the concatenation of X followed by Y. - virtual void Concat(uint32_t* px, uint32_t y, size_t ylen); - // Apply a non-linear transformation to "*crc" so that // it is safe to CRC the result with the same polynomial without // any reduction of error-detection ability in the outer CRC. |