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

Method pop_front

common/sampling.cpp:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 T pop_front() {
64 if (sz == 0) {
65 throw std::runtime_error("ring buffer is empty");
66 }
67 T value = data[first];
68 first = (first + 1) % capacity;
69 sz--;
70 return value;
71 }
72
73 const T & rat(size_t i) const {
74 if (i >= sz) {

Callers 3

pop_deferred_taskMethod · 0.45
start_loopMethod · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected