MCPcopy Create free account
hub / github.com/facebook/CacheLib / makeEngine

Function makeEngine

cachelib/navy/block_cache/tests/BlockCacheTest.cpp:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82std::unique_ptr<Engine> makeEngine(BlockCache::Config&& config,
83 size_t metadataSize = 0) {
84 config.cacheBaseOffset = metadataSize;
85 return std::make_unique<BlockCache>(std::move(config));
86}
87
88std::unique_ptr<Driver> makeDriver(std::unique_ptr<Engine> largeItemCache,
89 std::unique_ptr<JobScheduler> scheduler,

Callers 2

CollisionCreatorMethod · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected