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

Method allocStripe

src/traffic_cache_tool/CacheTool.cc:214–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212};
213
214Errata
215Cache::allocStripe(Span *span, int vol_idx, const CacheStripeBlocks &len)
216{
217 auto rv = span->allocStripe(vol_idx, len);
218 std::cout << span->_path.string() << ":" << vol_idx << std::endl;
219 if (rv.is_ok()) {
220 _volumes[vol_idx]._stripes.push_back(rv);
221 }
222 return std::move(rv.errata());
223}
224
225#if 0
226void

Callers 1

allocateForMethod · 0.80

Calls 8

ErrataClass · 0.85
isFreeMethod · 0.80
stringMethod · 0.45
is_okMethod · 0.45
push_backMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected