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

Method clear

common/sampling.cpp:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 void clear() {
90 // here only reset the status of the buffer
91 sz = 0;
92 first = 0;
93 pos = 0;
94 }
95
96 bool empty() const {
97 return sz == 0;

Callers 15

from_astMethod · 0.45
mapMethod · 0.45
_visit_patternMethod · 0.45
parse_ini_from_fileFunction · 0.45
beginMethod · 0.45
draftMethod · 0.45
draftMethod · 0.45
parse_csv_rowFunction · 0.45
common_init_from_paramsFunction · 0.45

Calls

no outgoing calls

Tested by 3

beginMethod · 0.36
draftMethod · 0.36
draftMethod · 0.36