Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/evilsocket/cake
/ reset_counter
Method
reset_counter
cake-core/src/models/vibevoice/vae_decoder.rs:31–33 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
29
}
30
31
pub fn reset_counter(&mut self) {
32
self.counter = 0;
33
}
34
35
/// Take the next cache slot, returning (index, is_first_use).
36
pub fn take_slot(&mut self) -> (usize, bool) {
Callers
5
streaming_cache_take_set_cycle
Function · 0.80
encode_streaming
Method · 0.80
decode_streaming
Method · 0.80
test_streaming_cache_take_slot_after_set
Function · 0.80
test_streaming_cache_reset_counter
Function · 0.80
Calls
no outgoing calls
Tested by
2
test_streaming_cache_take_slot_after_set
Function · 0.64
test_streaming_cache_reset_counter
Function · 0.64