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

Method load_from_string

tools/core/txt_input_reader.h:316–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314
315 template <typename U>
316 bool load_from_string(const std::string &record,
317 const std::string &second_sep, std::vector<U> &data,
318 size_t *count) {
319 ailego::StringHelper::Split(record, second_sep, &data, true);
320 *count = data.size();
321
322 return true;
323 }
324
325 bool load_scores_from_string(const std::string &record,
326 const std::string &second_sep,

Callers

nothing calls this directly

Calls 4

SplitFunction · 0.85
push_backMethod · 0.80
sizeMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected