Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ SpaceUsed
Method
SpaceUsed
depends/protobuf/google/protobuf/message.cc:157–159 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
155
}
156
157
int Message::SpaceUsed() const {
158
return GetReflection()->SpaceUsed(*this);
159
}
160
161
bool Message::SerializeToFileDescriptor(int file_descriptor) const {
162
io::FileOutputStream output(file_descriptor);
Callers
3
TEST
Function · 0.45
SpaceUsedExcludingSelf
Method · 0.45
TEST
Function · 0.45
Calls
1
GetReflection
Function · 0.85
Tested by
2
TEST
Function · 0.36
TEST
Function · 0.36