MCPcopy Create free account
hub / github.com/MemNixFS/MemNixFS / FrameCache

Method FrameCache

src/formats/avml_format.cpp:51–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49class FrameCache {
50public:
51 explicit FrameCache(std::size_t max_bytes) : max_bytes_(max_bytes) {}
52
53 // Returns pointer to decompressed bytes for the frame keyed by frame_index.
54 // The pointer is valid until the next get() that triggers eviction; callers

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected