File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- #ifndef COS_CPP_SDK_V5_INCLUDE_COS_API_H_
1+ #ifndef COS_CPP_SDK_V5_INCLUDE_COS_API_H_
22#define COS_CPP_SDK_V5_INCLUDE_COS_API_H_
33
44#include " op/bucket_op.h"
Original file line number Diff line number Diff line change 1- #ifndef COS_CPP_SDK_V5_INCLUDE_COS_DEFINES_H_
1+ #ifndef COS_CPP_SDK_V5_INCLUDE_COS_DEFINES_H_
22#define COS_CPP_SDK_V5_INCLUDE_COS_DEFINES_H_
33#include < inttypes.h>
44#include < stdint.h>
Original file line number Diff line number Diff line change 1- #ifndef COS_CPP_SDK_V5_INCLUDE_COS_SYS_CONFIG_H_
1+ #ifndef COS_CPP_SDK_V5_INCLUDE_COS_SYS_CONFIG_H_
22#define COS_CPP_SDK_V5_INCLUDE_COS_SYS_CONFIG_H_
33#include < stdint.h>
44
Original file line number Diff line number Diff line change 1- #ifndef COS_CPP_SDK_V5_INCLUDE_TRSF_TRANSFER_HANDLER_H_
1+ #ifndef COS_CPP_SDK_V5_INCLUDE_TRSF_TRANSFER_HANDLER_H_
22#define COS_CPP_SDK_V5_INCLUDE_TRSF_TRANSFER_HANDLER_H_
33
44#include < condition_variable>
Original file line number Diff line number Diff line change 1- #ifndef COS_CPP_SDK_V5_INCLUDE_UTIL_LOG_UTIL_H_
1+ #ifndef COS_CPP_SDK_V5_INCLUDE_UTIL_LOG_UTIL_H_
22#define COS_CPP_SDK_V5_INCLUDE_UTIL_LOG_UTIL_H_
33
44#include < stdint.h>
Original file line number Diff line number Diff line change @@ -94,8 +94,8 @@ uint64_t FileUtil::GetFileCrc64(const std::string& file) {
9494uint64_t FileUtil::GetFileCrc64 (const std::wstring& file) {
9595 std::fstream f (file, std::ios::in | std::ios::binary);
9696 // NOCA:VariableLengthArrays(设计如此)
97- const static int buffer_size = 2048 ; // NOCA:runtime/arrays(ignore)
98- char buffer[buffer_size];
97+ const static int buffer_size = 2048 ;
98+ char buffer[buffer_size]; // NOCA:runtime/arrays(ignore)
9999 uint64_t crc64 = 0 ;
100100 while (f.good ()) {
101101 f.read (buffer, buffer_size);
You can’t perform that action at this time.
0 commit comments