MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / Cache

Class Cache

crates/virtual-machine/src/memory/cache.rs:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28pub struct Cache<Next: MemoryAccess> {
29 params: CacheParams,
30 sets: Vec<CacheSet>,
31 next: Next,
32 stats: CacheStats,
33 block_bits: u32,
34 set_bits: u32,
35 access_tick: u64,
36}
37
38#[derive(Default, Debug, Clone)]
39pub struct CacheStats {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected