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

Method append

src/ailego/container/vector_array.h:253–258  ·  view source on GitHub ↗

Append a vector

Source from the content-addressed store, hash-verified

251
252 //! Append a vector
253 void append(const StoreType *vec, size_t dim) {
254 if (ailego_unlikely(dim != dimension_)) {
255 throw std::length_error("Unmatched dimension");
256 }
257 buffer_.append(reinterpret_cast<const char *>(vec), dim >> 1);
258 }
259
260 //! Append vectors
261 void append(const StoreType *vec, size_t dim, size_t cnt) {

Callers 2

appendMethod · 0.45
appendMethod · 0.45

Calls 2

dataMethod · 0.45
dimensionMethod · 0.45

Tested by

no test coverage detected