Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/bolt
/ write
Function
write
bolt/vector/VectorSaver.cpp:47–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
45
46
template <typename T>
47
void write(const T& value, std::ostream& out) {
48
out.write((char*)&value, sizeof(T));
49
}
50
51
template <>
52
void write<bool>(const bool& value, std::ostream& out) {
Callers
15
saveType
Function · 0.70
saveVector
Function · 0.70
TEST_F
Function · 0.50
add
Method · 0.50
writeByte
Method · 0.50
writeValue
Method · 0.50
addImpl
Method · 0.50
write
Method · 0.50
writeWithLogging
Method · 0.50
write
Method · 0.50
write
Method · 0.50
write
Method · 0.50
Calls
1
write
Method · 0.45
Tested by
1
TEST_F
Function · 0.40