Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
461
size_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
471
size_t Block::allocatedBytes() const
472
{
Callers
15
mutate
Method · 0.45
restoreDataImpl
Method · 0.45
generate
Method · 0.45
appendBlock
Function · 0.45
consume
Method · 0.45
insertIntoBuffer
Method · 0.45
checkThresholds
Method · 0.45
flushBuffer
Method · 0.45
generate
Method · 0.45
generate
Method · 0.45
tryEstimateEmpirical
Function · 0.45
memoryUsageBytes
Method · 0.45
Calls
1
byteSize
Method · 0.45
Tested by
1
TEST
Function · 0.36