Loading cpp/src/core/knowhere/knowhere/common/Buffer.h +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ struct BufferDeleter { free((void*)buffer->data()); } }; } } // namespace internal inline BufferPtr MakeBufferSmart(uint8_t* data, const int64_t size) { Loading cpp/src/core/unittest/test_ivf.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -43,9 +43,9 @@ namespace kn = knowhere; } // namespace using ::testing::Combine; using ::testing::TestWithParam; using ::testing::Values; using ::testing::Combine; constexpr int device_id = 0; constexpr int64_t DIM = 128; Loading cpp/src/core/unittest/test_kdt.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -34,9 +34,9 @@ namespace kn = knowhere; } // namespace using ::testing::Combine; using ::testing::TestWithParam; using ::testing::Values; using ::testing::Combine; class KDTTest : public DataGen, public ::testing::Test { protected: Loading cpp/src/core/unittest/test_nsg/test_nsg.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -32,9 +32,9 @@ namespace kn = knowhere; } // namespace using ::testing::Combine; using ::testing::TestWithParam; using ::testing::Values; using ::testing::Combine; constexpr int64_t DEVICE_ID = 1; Loading cpp/src/db/insert/MemTableFile.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -55,9 +55,9 @@ MemTableFile::CreateTableFile() { Status MemTableFile::Add(const VectorSourcePtr& source, IDNumbers& vector_ids) { if (table_file_schema_.dimension_ <= 0) { std::string err_msg = "MemTableFile::Add: table_file_schema dimension = " + std::to_string(table_file_schema_.dimension_) + ", table_id = " + table_file_schema_.table_id_; std::string err_msg = "MemTableFile::Add: table_file_schema dimension = " + std::to_string(table_file_schema_.dimension_) + ", table_id = " + table_file_schema_.table_id_; ENGINE_LOG_ERROR << err_msg; return Status(DB_ERROR, "Not able to create table file"); } Loading Loading
cpp/src/core/knowhere/knowhere/common/Buffer.h +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ struct BufferDeleter { free((void*)buffer->data()); } }; } } // namespace internal inline BufferPtr MakeBufferSmart(uint8_t* data, const int64_t size) { Loading
cpp/src/core/unittest/test_ivf.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -43,9 +43,9 @@ namespace kn = knowhere; } // namespace using ::testing::Combine; using ::testing::TestWithParam; using ::testing::Values; using ::testing::Combine; constexpr int device_id = 0; constexpr int64_t DIM = 128; Loading
cpp/src/core/unittest/test_kdt.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -34,9 +34,9 @@ namespace kn = knowhere; } // namespace using ::testing::Combine; using ::testing::TestWithParam; using ::testing::Values; using ::testing::Combine; class KDTTest : public DataGen, public ::testing::Test { protected: Loading
cpp/src/core/unittest/test_nsg/test_nsg.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -32,9 +32,9 @@ namespace kn = knowhere; } // namespace using ::testing::Combine; using ::testing::TestWithParam; using ::testing::Values; using ::testing::Combine; constexpr int64_t DEVICE_ID = 1; Loading
cpp/src/db/insert/MemTableFile.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -55,9 +55,9 @@ MemTableFile::CreateTableFile() { Status MemTableFile::Add(const VectorSourcePtr& source, IDNumbers& vector_ids) { if (table_file_schema_.dimension_ <= 0) { std::string err_msg = "MemTableFile::Add: table_file_schema dimension = " + std::to_string(table_file_schema_.dimension_) + ", table_id = " + table_file_schema_.table_id_; std::string err_msg = "MemTableFile::Add: table_file_schema dimension = " + std::to_string(table_file_schema_.dimension_) + ", table_id = " + table_file_schema_.table_id_; ENGINE_LOG_ERROR << err_msg; return Status(DB_ERROR, "Not able to create table file"); } Loading