MCPcopy Create free account
hub / github.com/Niko1221/Strata / bytes

Method bytes

engine/sycl/src/core/dflash2.cpp:490–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490uint64_t Dflash2Drafter::Lineage::bytes() const {
491 uint64_t b = (uint64_t) hist.capacity() * 4;
492 for (const auto& c : chunks)
493 if (c) b += c->q.size() + c->d.size() * 4 + c->ok.size();
494 return b;
495}
496
497Dflash2Drafter::LogChunk& Dflash2Drafter::Lineage::writable(size_t chunk) {
498 if (chunks.size() <= chunk) chunks.resize(chunk + 1);

Callers 9

full_sessionFunction · 0.45
mainFunction · 0.45
ring_log_bytesMethod · 0.45
ring_stash_bytesMethod · 0.45
stash_pushMethod · 0.45
begin_requestMethod · 0.45
load_control_vectorsFunction · 0.45
mainFunction · 0.45
bind_singleMethod · 0.45

Calls 2

capacityMethod · 0.45
sizeMethod · 0.45

Tested by 2

full_sessionFunction · 0.36
mainFunction · 0.36