Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
milvus
milvus
提交
1fc48aaa
M
milvus
项目概览
milvus
/
milvus
12 个月 前同步成功
通知
261
Star
22476
Fork
2472
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
milvus
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1fc48aaa
编写于
4月 14, 2019
作者:
X
Xu Peng
提交者:
xj.lin
4月 16, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor(cpp/db): unified namespace
Former-commit-id: 9544c6ed95bcba1f8feb7e7f1d7a7b07ccd40872
上级
90f95f3b
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
38 addition
and
12 deletion
+38
-12
cpp/src/db/db.h
cpp/src/db/db.h
+6
-2
cpp/src/db/db_impl.h
cpp/src/db/db_impl.h
+8
-2
cpp/src/db/id_generators.h
cpp/src/db/id_generators.h
+6
-2
cpp/src/db/memvectors.h
cpp/src/db/memvectors.h
+6
-2
cpp/src/db/options.h
cpp/src/db/options.h
+6
-2
cpp/src/db/status.h
cpp/src/db/status.h
+6
-2
未找到文件。
cpp/src/db/db.h
浏览文件 @
1fc48aaa
...
...
@@ -4,7 +4,9 @@
#include <string>
#include "options.h"
namespace
vecengine
{
namespace
zilliz
{
namespace
vecwise
{
namespace
engine
{
class
Env
;
...
...
@@ -22,6 +24,8 @@ public:
virtual
~
DB
();
};
// DB
}
// namespace vecengine
}
// namespace engine
}
// namespace vecwise
}
// namespace zilliz
#endif // VECENGINE_DB_H_
cpp/src/db/db_impl.h
浏览文件 @
1fc48aaa
...
...
@@ -5,7 +5,9 @@
#include <condition_variable>
#include "db.h"
namespace
vecengine
{
namespace
zilliz
{
namespace
vecwise
{
namespace
engine
{
class
Env
;
...
...
@@ -40,6 +42,10 @@ private:
};
// DBImpl
}
// namespace vecengine
}
// namespace engine
}
// namespace vecwise
}
// namespace zilliz
#endif // VECENGINE_DB_META_IMPL_H_
#endif // VECENGINE_DB_IMPL_H_
cpp/src/db/id_generators.h
浏览文件 @
1fc48aaa
...
...
@@ -3,7 +3,9 @@
#include <vector>
namespace
vecengine
{
namespace
zilliz
{
namespace
vecwise
{
namespace
engine
{
#define uint64_t IDNumber;
#define IDNumber* IDNumberPtr;
...
...
@@ -30,6 +32,8 @@ private:
};
// SimpleIDGenerator
}
// namespace vecengine
}
// namespace engine
}
// namespace vecwise
}
// namespace zilliz
#endif // UTILS_ID_GENERATORS_H_
cpp/src/db/memvectors.h
浏览文件 @
1fc48aaa
...
...
@@ -9,7 +9,9 @@ class faiss::IndexIDMap;
class
faiss
::
Index
;
namespace
vecengine
{
namespace
zilliz
{
namespace
vecwise
{
namespace
engine
{
class
MemVectors
{
public:
...
...
@@ -51,6 +53,8 @@ private:
};
// MemManager
}
// namespace vecengine
}
// namespace engine
}
// namespace vecwise
}
// namespace zilliz
#endif
cpp/src/db/options.h
浏览文件 @
1fc48aaa
...
...
@@ -3,7 +3,9 @@
#include <string>
namespace
vecengine
{
namespace
zilliz
{
namespace
vecwise
{
namespace
engine
{
struct
Options
{
uint16_t
memory_sync_interval
=
10
;
...
...
@@ -28,6 +30,8 @@ struct DBMetaOptions : public MetaOptions {
};
// DBMetaOptions
}
// namespace vecengine
}
// namespace engine
}
// namespace vecwise
}
// namespace zilliz
#endif // VECENGINE_OPTIONS_H_
cpp/src/db/status.h
浏览文件 @
1fc48aaa
#ifndef VECENGINE_STATUS_H_
#define VECENGINE_STATUS_H_
namespace
vecengine
{
namespace
zilliz
{
namespace
vecwise
{
namespace
engine
{
class
Status
{
public:
...
...
@@ -50,6 +52,8 @@ inline Status& Status::operator=(Status&& rhs_) noexcept {
return
*
this
;
}
}
// namespace vecengine
}
// namespace engine
}
// namespace vecwise
}
// namespace zilliz
#endif // VECENGINE_STATUS_H_
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录