MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / to_vector

Method to_vector

common/sampling.cpp:80–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 }
79
80 std::vector<T> to_vector() const {
81 std::vector<T> result;
82 result.reserve(sz);
83 for (size_t i = 0; i < sz; i++) {
84 result.push_back(data[(first + i) % capacity]);
85 }
86 return result;
87 }
88
89 void clear() {
90 // here only reset the status of the buffer

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected