Improve CRC spelling.

This commit is contained in:
levlam 2023-02-03 08:27:26 +03:00
parent ddab8d5dbc
commit 5ed796cd57
2 changed files with 3 additions and 3 deletions

View File

@ -451,7 +451,7 @@ class Crc32Bench final : public td::Benchmark {
alignas(64) unsigned char data[DATA_SIZE]; alignas(64) unsigned char data[DATA_SIZE];
std::string get_description() const final { std::string get_description() const final {
return PSTRING() << "Crc32 zlib [" << (DATA_SIZE >> 10) << "KB]"; return PSTRING() << "CRC32 zlib [" << (DATA_SIZE >> 10) << "KB]";
} }
void start_up() final { void start_up() final {
@ -472,7 +472,7 @@ class Crc64Bench final : public td::Benchmark {
alignas(64) unsigned char data[DATA_SIZE]; alignas(64) unsigned char data[DATA_SIZE];
std::string get_description() const final { std::string get_description() const final {
return PSTRING() << "Crc64 Anton [" << (DATA_SIZE >> 10) << "KB]"; return PSTRING() << "CRC64 Anton [" << (DATA_SIZE >> 10) << "KB]";
} }
void start_up() final { void start_up() final {

View File

@ -367,7 +367,7 @@ TEST(Crypto, crc32c_benchmark) {
explicit Crc32cExtendBenchmark(size_t chunk_size) : chunk_size_(chunk_size) { explicit Crc32cExtendBenchmark(size_t chunk_size) : chunk_size_(chunk_size) {
} }
td::string get_description() const final { td::string get_description() const final {
return PSTRING() << "Crc32c with chunk_size=" << chunk_size_; return PSTRING() << "CRC32C with chunk_size = " << chunk_size_;
} }
void start_up_n(int n) final { void start_up_n(int n) final {
if (n > (1 << 20)) { if (n > (1 << 20)) {