We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4d2922 commit c574482Copy full SHA for c574482
include/cos_config.h
@@ -1,4 +1,4 @@
1
-#ifndef COS_CPP_SDK_V5_INCLUDE_COS_CONFIG_H_
+#ifndef COS_CPP_SDK_V5_INCLUDE_COS_CONFIG_H_
2
#define COS_CPP_SDK_V5_INCLUDE_COS_CONFIG_H_
3
4
#include <stdint.h>
src/util/file_util.cpp
@@ -94,7 +94,7 @@ uint64_t FileUtil::GetFileCrc64(const std::string& file) {
94
uint64_t FileUtil::GetFileCrc64(const std::wstring& file) {
95
std::fstream f(file, std::ios::in | std::ios::binary);
96
// NOCA:VariableLengthArrays(设计如此)
97
- const static int buffer_size = 2048;
+ const static int buffer_size = 2048; // NOCA:runtime/arrays(ignore)
98
char buffer[buffer_size]; // NOCA:runtime/arrays(ignore)
99
uint64_t crc64 = 0;
100
while (f.good()) {
0 commit comments