Skip to content

Commit b4d2922

Browse files
author
gavinhgchen
committed
continue...
1 parent 03a018b commit b4d2922

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

include/cos_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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"

include/cos_defines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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>

include/cos_sys_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

include/trsf/transfer_handler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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>

include/util/log_util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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>

src/util/file_util.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ uint64_t FileUtil::GetFileCrc64(const std::string& file) {
9494
uint64_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);

0 commit comments

Comments
 (0)