Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
oceanbase
oblogmsg
提交
4745dec4
O
oblogmsg
项目概览
oceanbase
/
oblogmsg
8 个月 前同步成功
通知
1
Star
10
Fork
6
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
oblogmsg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
4745dec4
编写于
9月 29, 2021
作者:
Y
yuqi.fy
提交者:
xiaoyi.yl
9月 29, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
using pragma once as headers include guard to avoid conflics with third-party
上级
5f6fcc55
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
13 addition
and
35 deletion
+13
-35
include/BinLogBuf.h
include/BinLogBuf.h
+2
-4
include/Endian.h
include/Endian.h
+1
-4
include/LogMsgBuf.h
include/LogMsgBuf.h
+2
-4
include/LogMsgFactory.h
include/LogMsgFactory.h
+2
-3
include/LogRecord.h
include/LogRecord.h
+1
-4
include/MetaInfo.h
include/MetaInfo.h
+1
-3
include/MsgHeader.h
include/MsgHeader.h
+1
-4
include/MsgType.h
include/MsgType.h
+1
-3
include/StrArray.h
include/StrArray.h
+1
-3
include/UserData.h
include/UserData.h
+1
-3
未找到文件。
include/BinLogBuf.h
浏览文件 @
4745dec4
...
...
@@ -8,8 +8,8 @@ EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */
#
ifndef BINLOG_BUF_H_
#define BINLOG_BUF_H_
#
pragma once
#define LOG_EVENT_INIT_LEN (1024 * 32)
#include <cstdlib>
#include <cstring>
...
...
@@ -120,5 +120,3 @@ static inline bool binlogBuf_NULL(BinLogBuf* buf)
}
// namespace logmessage
}
// namespace oceanbase
#endif
/* BINLOG_BUF_H_ */
include/Endian.h
浏览文件 @
4745dec4
...
...
@@ -8,8 +8,7 @@ EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */
#ifndef ENDIANNESS_H
#define ENDIANNESS_H
#pragma once
namespace
oceanbase
{
namespace
logmessage
{
...
...
@@ -141,5 +140,3 @@ static inline T toLeEndianByType(T value)
}
// namespace logmessage
}
// namespace oceanbase
#endif
include/LogMsgBuf.h
浏览文件 @
4745dec4
...
...
@@ -8,8 +8,8 @@ EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */
#
ifndef _LOGMSGBUF_H_
#define _LOGMSGBUF_H_
#
pragma once
#include <vector>
#include <string>
...
...
@@ -40,5 +40,3 @@ size_t LogMsgAppendDataArray(uint8_t* sa, size_t size);
}
// namespace logmessage
}
// namespace oceanbase
#endif
/* _LOGMSGBUF_H_ */
include/LogMsgFactory.h
浏览文件 @
4745dec4
...
...
@@ -8,8 +8,8 @@ EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */
#
ifndef __LOG_MSG_FACTORY__
#define __LOG_MSG_FACTORY__
#
pragma once
#include <string>
namespace
oceanbase
{
...
...
@@ -191,4 +191,3 @@ public:
}
// namespace logmessage
}
// namespace oceanbase
#endif
include/LogRecord.h
浏览文件 @
4745dec4
...
...
@@ -8,8 +8,7 @@ EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */
#ifndef _LOG_REC_H_
#define _LOG_REC_H_
#pragma once
#include <string>
#include <vector>
...
...
@@ -442,5 +441,3 @@ protected:
}
// namespace logmessage
}
// namespace oceanbase
#endif
/*_LOG_REC_H_*/
include/MetaInfo.h
浏览文件 @
4745dec4
...
...
@@ -8,8 +8,7 @@ EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */
#ifndef _MD_H_
#define _MD_H_
#pragma once
#include <cstdio>
#include <ctime>
...
...
@@ -398,4 +397,3 @@ private:
}
// namespace logmessage
}
// namespace oceanbase
#endif
include/MsgHeader.h
浏览文件 @
4745dec4
...
...
@@ -8,8 +8,7 @@ EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */
#ifndef _MSG_HEADER_H_
#define _MSG_HEADER_H_
#pragma once
#include <cstdint>
...
...
@@ -26,5 +25,3 @@ struct MsgHeader {
}
// namespace logmessage
}
// namespace oceanbase
#endif
include/MsgType.h
浏览文件 @
4745dec4
...
...
@@ -8,8 +8,7 @@ EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */
#ifndef _MSG_TYPE_H_
#define _MSG_TYPE_H_
#pragma once
#include <cstdint>
...
...
@@ -52,4 +51,3 @@ public:
}
// namespace logmessage
}
// namespace oceanbase
#endif
include/StrArray.h
浏览文件 @
4745dec4
...
...
@@ -8,8 +8,7 @@ EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */
#ifndef _STR_ARRAY_H_
#define _STR_ARRAY_H_
#pragma once
#include <sys/types.h>
...
...
@@ -30,4 +29,3 @@ public:
}
// namespace logmessage
}
// namespace oceanbase
#endif
include/UserData.h
浏览文件 @
4745dec4
...
...
@@ -8,8 +8,7 @@ EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details. */
#ifndef __USER_DATA_H__
#define __USER_DATA_H__
#pragma once
namespace
oceanbase
{
namespace
logmessage
{
...
...
@@ -25,4 +24,3 @@ public:
}
// namespace logmessage
}
// namespace oceanbase
#endif
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录