MCPcopy Create free account
hub / github.com/alibaba/zvec / to_vector

Function to_vector

src/db/sqlengine/sqlengine_impl.cc:363–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361
362template <typename T>
363std::vector<T> to_vector(const char *data, size_t size) {
364 std::vector<T> vec(size);
365 memcpy(vec.data(), data, size * sizeof(T));
366 return vec;
367}
368
369template <typename VectorType>
370Status fill_doc_sparse_vector(const arrow::StructArray *typed_arr,

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected