MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / bytes

Method bytes

src/Core/Block.cpp:461–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459
460
461size_t Block::bytes() const
462{
463 size_t res = 0;
464 for (const auto & elem : data)
465 if (elem.column)
466 res += elem.column->byteSize();
467
468 return res;
469}
470
471size_t Block::allocatedBytes() const
472{

Callers 15

mutateMethod · 0.45
restoreDataImplMethod · 0.45
generateMethod · 0.45
appendBlockFunction · 0.45
consumeMethod · 0.45
insertIntoBufferMethod · 0.45
checkThresholdsMethod · 0.45
flushBufferMethod · 0.45
generateMethod · 0.45
generateMethod · 0.45
tryEstimateEmpiricalFunction · 0.45
memoryUsageBytesMethod · 0.45

Calls 1

byteSizeMethod · 0.45

Tested by 1

TESTFunction · 0.36