reformat source code

according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
gm
2021-06-16 15:48:42 +08:00
committed by MizuhaHimuraki
parent 8c4a2f26a6
commit 4a92b6d7df
3314 changed files with 23131 additions and 23401 deletions

View File

@ -19,7 +19,7 @@ using namespace ::oblib;
namespace oceanbase {
namespace common {
class ObTLogItem : public ObIBaseLogItem {
public:
public:
ObTLogItem()
{}
virtual ~ObTLogItem()
@ -43,14 +43,14 @@ class ObTLogItem : public ObIBaseLogItem {
};
class ObTLogWriter : public ObBaseLogWriter {
public:
public:
ObTLogWriter() : process_cnt_(0)
{}
virtual ~ObTLogWriter()
{}
int64_t process_cnt_;
protected:
protected:
virtual void process_log_items(ObIBaseLogItem** items, const int64_t item_cnt, int64_t& finish_cnt);
};

View File

@ -23,7 +23,7 @@ enum ObLogTestLevel {
third = 2,
};
class ObLogTest {
public:
public:
ObLogTest() : num_(10), name_("hello"), lever_(first)
{}
virtual ~ObLogTest(){};

View File

@ -24,18 +24,18 @@ using namespace common;
namespace test {
class ObLogTestThread : public lib::ThreadPool {
public:
public:
static const int64_t NUM_OF_LOG = 500;
void run1() final;
};
class ObLogTestThreadT : public lib::ThreadPool {
public:
public:
static const int64_t NUM_OF_LOG = 500;
void run1() final;
};
class ObLoggerTest : public ::testing::Test {
public:
public:
static const int64_t BIG_LOG_FILE_SIZE = 256 * 1024 * 1024;
static const int64_t S_LOG_FILE_SIZE = 16 * 1024;
ObLoggerTest();
@ -46,7 +46,7 @@ class ObLoggerTest : public ::testing::Test {
void run_test_t_async();
void run_test_t_async_multi();
protected:
protected:
ObLogTestThread thread_pool_;
ObLogTestThreadT thread_pool_t_;
};