From 0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e Mon Sep 17 00:00:00 2001 From: untodesu Date: Fri, 26 Dec 2025 23:17:56 +0500 Subject: Add include guards and header comments to sources --- src/core/math/crc64.hh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/core/math/crc64.hh') diff --git a/src/core/math/crc64.hh b/src/core/math/crc64.hh index 3ece0df..f593dc9 100644 --- a/src/core/math/crc64.hh +++ b/src/core/math/crc64.hh @@ -1,3 +1,10 @@ +// SPDX-License-Identifier: BSD-2-Clause +// Copyright (c) 2025 Kirill Dmitrievich +// File: crc64.hh +// Description: Client-server synchronized CRC64 + +#ifndef CORE_MATH_CRC64_HH +#define CORE_MATH_CRC64_HH #pragma once namespace math @@ -7,3 +14,5 @@ std::uint64_t crc64(const std::vector& buffer, std::uint64_t combine std::uint64_t crc64(const std::string& buffer, std::uint64_t combine = UINT64_C(0)); std::uint64_t crc64(std::string_view buffer, std::uint64_t combine = UINT64_C(0)); } // namespace math + +#endif -- cgit