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

Method StripeSM

src/traffic_cache_tool/CacheDefs.cc:224–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224StripeSM::StripeSM(Span *span, const Bytes &start, const CacheStoreBlocks &len) : _span(span), _start(start), _len(len)
225{
226 swoc::bwprint(hashText, "{} {}:{}", span->_path.view(), _start.count(), _len.count());
227 CryptoContext().hash_immediate(hash_id, hashText.data(), static_cast<int>(hashText.size()));
228 printf("hash id of stripe is hash of %.*s\n", static_cast<int>(hashText.size()), hashText.data());
229}
230
231bool
232StripeSM::isFree() const

Callers

nothing calls this directly

Calls 6

CryptoContextClass · 0.85
viewMethod · 0.45
countMethod · 0.45
hash_immediateMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected