MCPcopy Create free account
hub / github.com/apache/trafficserver / stripe_offset

Method stripe_offset

src/traffic_cache_tool/CacheDefs.cc:438–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438Bytes
439StripeSM::stripe_offset(CacheDirEntry *e)
440{
441 return this->_content + Bytes((dir_offset(e) * CACHE_BLOCK_SIZE) - CACHE_BLOCK_SIZE);
442}
443
444int
445StripeSM::dir_probe(CryptoHash *key, [[maybe_unused]] CacheDirEntry *result, [[maybe_unused]] CacheDirEntry **last_collision)

Callers 1

ScanMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected