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

@ -20,7 +20,7 @@ namespace oceanbase {
namespace unittest {
class TestIOPerformance : public ::testing::Test {
public:
public:
virtual void SetUp()
{
COMMON_LOG(INFO, "start set up");
@ -44,7 +44,7 @@ TEST_F(TestIOPerformance, single)
}
class MPSC_ThreadPool : public lib::ThreadPool {
public:
public:
MPSC_ThreadPool() : inited_(false), is_lighty_(true)
{}
virtual ~MPSC_ThreadPool()
@ -55,11 +55,11 @@ class MPSC_ThreadPool : public lib::ThreadPool {
static const int64_t CONSUMER_COUNT = 1;
static const int64_t PRODUCE_INTERVAL_US = 100;
private:
private:
int produce();
int consume();
private:
private:
bool inited_;
ObLightyQueue lighty_queue_;
ObFixedQueue<int64_t> fixed_queue_;