Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosdata/cosdata
/ increment_counter
Method
increment_counter
src/models/lru_cache.rs:346–348 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
344
}
345
346
fn increment_counter(&self) -> u32 {
347
self.counter.fetch_add(1, Ordering::SeqCst)
348
}
349
350
/// Removes an entry from the cache.
351
///
Callers
3
get
Method · 0.80
insert
Method · 0.80
get_or_insert
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected