Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antirez/llama.cpp-deepseek-v4-flash
/ clear
Method
clear
src/llama-sampler.cpp:111–116 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
109
}
110
111
void clear() {
112
// here only reset the status of the buffer
113
sz = 0;
114
first = 0;
115
pos = 0;
116
}
117
118
bool empty() const {
119
return sz == 0;
Callers
5
llama_sampler_penalties_reset
Function · 0.45
llama_sampler_dry_apply
Function · 0.45
llama_sampler_dry_reset
Function · 0.45
llama_sampler_init_dry_testing
Function · 0.45
llama_sampler_logit_bias_apply
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected