aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2023-02-03 08:27:26 +0300
committerlevlam <levlam@telegram.org>2023-02-03 08:27:26 +0300
commit5ed796cd57f7bc4f02f4065b8b25d01b76f5dfa6 (patch)
tree40757d4d32711a90c2c8f84ae332823347541833
parentddab8d5dbc01023e8a7df7b15f89d8900807e51b (diff)
Improve CRC spelling.
-rw-r--r--benchmark/bench_crypto.cpp4
-rw-r--r--tdutils/test/crypto.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/bench_crypto.cpp b/benchmark/bench_crypto.cpp
index 7e019a5a1..98db8cf1e 100644
--- a/benchmark/bench_crypto.cpp
+++ b/benchmark/bench_crypto.cpp
@@ -451,7 +451,7 @@ class Crc32Bench final : public td::Benchmark {
alignas(64) unsigned char data[DATA_SIZE];
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 {
@@ -472,7 +472,7 @@ class Crc64Bench final : public td::Benchmark {
alignas(64) unsigned char data[DATA_SIZE];
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 {
diff --git a/tdutils/test/crypto.cpp b/tdutils/test/crypto.cpp
index cb1e9a352..5b4fd37e6 100644
--- a/tdutils/test/crypto.cpp
+++ b/tdutils/test/crypto.cpp
@@ -367,7 +367,7 @@ TEST(Crypto, crc32c_benchmark) {
explicit Crc32cExtendBenchmark(size_t chunk_size) : chunk_size_(chunk_size) {
}
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 {
if (n > (1 << 20)) {