From 8a029c9b0db6a888fbcb8d7f3c7ce2865e85937d Mon Sep 17 00:00:00 2001 From: Xu Peng Date: Sun, 5 May 2019 13:10:04 +0800 Subject: [PATCH] refactor(db): add copyright header Former-commit-id: 45606fe09972ab741faa4ee8061ef7d307c20c49 --- cpp/src/db/DB.h | 10 ++++++---- cpp/src/db/DBImpl.cpp | 6 ++++++ cpp/src/db/DBImpl.h | 5 +++++ cpp/src/db/DBMetaImpl.cpp | 5 +++++ cpp/src/db/DBMetaImpl.h | 10 ++++++---- cpp/src/db/Env.cpp | 5 +++++ cpp/src/db/Env.h | 10 ++++++---- cpp/src/db/ExecutionEngine.cpp | 5 +++++ cpp/src/db/ExecutionEngine.h | 5 +++++ cpp/src/db/FaissExecutionEngine.cpp | 5 +++++ cpp/src/db/FaissExecutionEngine.h | 5 +++++ cpp/src/db/IDGenerator.cpp | 5 +++++ cpp/src/db/IDGenerator.h | 5 +++++ cpp/src/db/LocalMetaImpl.cpp | 5 +++++ cpp/src/db/LocalMetaImpl.h | 10 ++++++---- cpp/src/db/MemManager.cpp | 5 +++++ cpp/src/db/MemManager.h | 10 ++++++---- cpp/src/db/Meta.cpp | 5 +++++ cpp/src/db/Meta.h | 5 +++++ cpp/src/db/Options.cpp | 5 +++++ cpp/src/db/Options.h | 5 +++++ cpp/src/db/Status.cpp | 5 +++++ cpp/src/db/Status.h | 5 +++++ cpp/src/db/Types.h | 5 +++++ 24 files changed, 126 insertions(+), 20 deletions(-) diff --git a/cpp/src/db/DB.h b/cpp/src/db/DB.h index da3c50a8b9..450a980c4a 100644 --- a/cpp/src/db/DB.h +++ b/cpp/src/db/DB.h @@ -1,5 +1,9 @@ -#ifndef VECENGINE_DB_H_ -#define VECENGINE_DB_H_ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ +#pragma once #include #include "Options.h" @@ -47,5 +51,3 @@ public: } // namespace engine } // namespace vecwise } // namespace zilliz - -#endif // VECENGINE_DB_H_ diff --git a/cpp/src/db/DBImpl.cpp b/cpp/src/db/DBImpl.cpp index bbf9a619ed..e4144cd50f 100644 --- a/cpp/src/db/DBImpl.cpp +++ b/cpp/src/db/DBImpl.cpp @@ -1,3 +1,9 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ + #include #include #include diff --git a/cpp/src/db/DBImpl.h b/cpp/src/db/DBImpl.h index 9b17fa0251..a03f7ffced 100644 --- a/cpp/src/db/DBImpl.h +++ b/cpp/src/db/DBImpl.h @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #pragma once #include diff --git a/cpp/src/db/DBMetaImpl.cpp b/cpp/src/db/DBMetaImpl.cpp index fb0f457b36..3154615ed9 100644 --- a/cpp/src/db/DBMetaImpl.cpp +++ b/cpp/src/db/DBMetaImpl.cpp @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #include #include diff --git a/cpp/src/db/DBMetaImpl.h b/cpp/src/db/DBMetaImpl.h index 5fbf04c1b6..aca0ec3141 100644 --- a/cpp/src/db/DBMetaImpl.h +++ b/cpp/src/db/DBMetaImpl.h @@ -1,5 +1,9 @@ -#ifndef VECENGINE_DB_META_IMPL_H_ -#define VECENGINE_DB_META_IMPL_H_ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ +#pragma once #include "Meta.h" #include "Options.h" @@ -70,5 +74,3 @@ private: } // namespace engine } // namespace vecwise } // namespace zilliz - -#endif // VECENGINE_DB_META_IMPL_H_ diff --git a/cpp/src/db/Env.cpp b/cpp/src/db/Env.cpp index 75d796b63d..4d4613f43e 100644 --- a/cpp/src/db/Env.cpp +++ b/cpp/src/db/Env.cpp @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #include #include "Env.h" diff --git a/cpp/src/db/Env.h b/cpp/src/db/Env.h index 727dd86c59..648644a948 100644 --- a/cpp/src/db/Env.h +++ b/cpp/src/db/Env.h @@ -1,5 +1,9 @@ -#ifndef STORAGE_VECENGINE_ENV_H_ -#define STORAGE_VECENGINE_ENV_H_ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ +#pragma once #include #include @@ -47,5 +51,3 @@ protected: } // namespace engine } // namespace vecwise } // namespace zilliz - -#endif // STORAGE_VECENGINE_ENV_H_ diff --git a/cpp/src/db/ExecutionEngine.cpp b/cpp/src/db/ExecutionEngine.cpp index 26e35aff1c..b689e6cfed 100644 --- a/cpp/src/db/ExecutionEngine.cpp +++ b/cpp/src/db/ExecutionEngine.cpp @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #include #include "ExecutionEngine.h" diff --git a/cpp/src/db/ExecutionEngine.h b/cpp/src/db/ExecutionEngine.h index 2989e5b42e..0b7af1b53e 100644 --- a/cpp/src/db/ExecutionEngine.h +++ b/cpp/src/db/ExecutionEngine.h @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #pragma once #include diff --git a/cpp/src/db/FaissExecutionEngine.cpp b/cpp/src/db/FaissExecutionEngine.cpp index b33a23726e..6c86d2fbbd 100644 --- a/cpp/src/db/FaissExecutionEngine.cpp +++ b/cpp/src/db/FaissExecutionEngine.cpp @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #include #include #include diff --git a/cpp/src/db/FaissExecutionEngine.h b/cpp/src/db/FaissExecutionEngine.h index 0dea46f6b4..f34021b418 100644 --- a/cpp/src/db/FaissExecutionEngine.h +++ b/cpp/src/db/FaissExecutionEngine.h @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #pragma once #include diff --git a/cpp/src/db/IDGenerator.cpp b/cpp/src/db/IDGenerator.cpp index 7c67196e2e..633ee5fe69 100644 --- a/cpp/src/db/IDGenerator.cpp +++ b/cpp/src/db/IDGenerator.cpp @@ -1,3 +1,8 @@ +//////////////////////////////////////////////////////////////////////////////// +// Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved +// Unauthorized copying of this file, via any medium is strictly prohibited. +// Proprietary and confidential. +//////////////////////////////////////////////////////////////////////////////// #include #include #include diff --git a/cpp/src/db/IDGenerator.h b/cpp/src/db/IDGenerator.h index a2017132aa..4b826610da 100644 --- a/cpp/src/db/IDGenerator.h +++ b/cpp/src/db/IDGenerator.h @@ -1,3 +1,8 @@ +//////////////////////////////////////////////////////////////////////////////// +// Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved +// Unauthorized copying of this file, via any medium is strictly prohibited. +// Proprietary and confidential. +//////////////////////////////////////////////////////////////////////////////// #pragma once #include diff --git a/cpp/src/db/LocalMetaImpl.cpp b/cpp/src/db/LocalMetaImpl.cpp index 1fc9fe5605..60c23158be 100644 --- a/cpp/src/db/LocalMetaImpl.cpp +++ b/cpp/src/db/LocalMetaImpl.cpp @@ -1,3 +1,8 @@ +//////////////////////////////////////////////////////////////////////////////// +// Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved +// Unauthorized copying of this file, via any medium is strictly prohibited. +// Proprietary and confidential. +//////////////////////////////////////////////////////////////////////////////// #include #include #include diff --git a/cpp/src/db/LocalMetaImpl.h b/cpp/src/db/LocalMetaImpl.h index 0ae685da56..4c324c5796 100644 --- a/cpp/src/db/LocalMetaImpl.h +++ b/cpp/src/db/LocalMetaImpl.h @@ -1,5 +1,9 @@ -#ifndef VECENGINE_DB_META_IMPL_H_ -#define VECENGINE_DB_META_IMPL_H_ +//////////////////////////////////////////////////////////////////////////////// +// Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved +// Unauthorized copying of this file, via any medium is strictly prohibited. +// Proprietary and confidential. +//////////////////////////////////////////////////////////////////////////////// +#pragma once #include "Meta.h" #include "Options.h" @@ -71,5 +75,3 @@ private: } // namespace engine } // namespace vecwise } // namespace zilliz - -#endif // VECENGINE_DB_META_IMPL_H_ diff --git a/cpp/src/db/MemManager.cpp b/cpp/src/db/MemManager.cpp index de076d825e..115646cb7f 100644 --- a/cpp/src/db/MemManager.cpp +++ b/cpp/src/db/MemManager.cpp @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #ifndef MEMMANGE_CPP__ #define MEMMANGE_CPP__ diff --git a/cpp/src/db/MemManager.h b/cpp/src/db/MemManager.h index de2a48b2f0..9b526dc1d9 100644 --- a/cpp/src/db/MemManager.h +++ b/cpp/src/db/MemManager.h @@ -1,5 +1,9 @@ -#ifndef STORAGE_VECENGINE_MEMVECTORS_H_ -#define STORAGE_VECENGINE_MEMVECTORS_H_ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ +#pragma once #include #include @@ -93,5 +97,3 @@ private: } // namespace vecwise } // namespace zilliz #include "MemManager.cpp" - -#endif diff --git a/cpp/src/db/Meta.cpp b/cpp/src/db/Meta.cpp index 82b650cf2a..1b97c06c79 100644 --- a/cpp/src/db/Meta.cpp +++ b/cpp/src/db/Meta.cpp @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #include #include "Meta.h" diff --git a/cpp/src/db/Meta.h b/cpp/src/db/Meta.h index 2828c5adee..e0c1a84c76 100644 --- a/cpp/src/db/Meta.h +++ b/cpp/src/db/Meta.h @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #pragma once #include diff --git a/cpp/src/db/Options.cpp b/cpp/src/db/Options.cpp index 42609e0a47..2a0c01af8b 100644 --- a/cpp/src/db/Options.cpp +++ b/cpp/src/db/Options.cpp @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #include "Options.h" #include "Env.h" #include "DBMetaImpl.h" diff --git a/cpp/src/db/Options.h b/cpp/src/db/Options.h index aa44e386a3..5bbcf6dabe 100644 --- a/cpp/src/db/Options.h +++ b/cpp/src/db/Options.h @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #pragma once #include diff --git a/cpp/src/db/Status.cpp b/cpp/src/db/Status.cpp index 019c72cf3a..5366f34158 100644 --- a/cpp/src/db/Status.cpp +++ b/cpp/src/db/Status.cpp @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #include #include #include diff --git a/cpp/src/db/Status.h b/cpp/src/db/Status.h index 4db2b4c6e0..20081676c0 100644 --- a/cpp/src/db/Status.h +++ b/cpp/src/db/Status.h @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #pragma once #include diff --git a/cpp/src/db/Types.h b/cpp/src/db/Types.h index be538b9b1c..f9a432fd94 100644 --- a/cpp/src/db/Types.h +++ b/cpp/src/db/Types.h @@ -1,3 +1,8 @@ +/******************************************************************************* + * Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved + * Unauthorized copying of this file, via any medium is strictly prohibited. + * Proprietary and confidential. + ******************************************************************************/ #pragma once #include