Skip to content

Commit 5ed796c

Browse files
committed
Improve CRC spelling.
1 parent ddab8d5 commit 5ed796c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎benchmark/bench_crypto.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ class Crc32Bench final : public td::Benchmark {
451451
alignas(64) unsigned char data[DATA_SIZE];
452452

453453
std::string get_description() const final {
454-
return PSTRING() << "Crc32 zlib [" << (DATA_SIZE >> 10) << "KB]";
454+
return PSTRING() << "CRC32 zlib [" << (DATA_SIZE >> 10) << "KB]";
455455
}
456456

457457
void start_up() final {
@@ -472,7 +472,7 @@ class Crc64Bench final : public td::Benchmark {
472472
alignas(64) unsigned char data[DATA_SIZE];
473473

474474
std::string get_description() const final {
475-
return PSTRING() << "Crc64 Anton [" << (DATA_SIZE >> 10) << "KB]";
475+
return PSTRING() << "CRC64 Anton [" << (DATA_SIZE >> 10) << "KB]";
476476
}
477477

478478
void start_up() final {

‎tdutils/test/crypto.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ TEST(Crypto, crc32c_benchmark) {
367367
explicit Crc32cExtendBenchmark(size_t chunk_size) : chunk_size_(chunk_size) {
368368
}
369369
td::string get_description() const final {
370-
return PSTRING() << "Crc32c with chunk_size=" << chunk_size_;
370+
return PSTRING() << "CRC32C with chunk_size = " << chunk_size_;
371371
}
372372
void start_up_n(int n) final {
373373
if (n > (1 << 20)) {

0 commit comments

Comments
 (0)