Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/async-profiler/async-profiler
/ put16
Method
put16
src/flightRecorder.cpp:114–117 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
112
}
113
114
void put16(short v) {
115
*(short*)(_data + _offset) = htons(v);
116
_offset += 2;
117
}
118
119
void put32(int v) {
120
*(int*)(_data + _offset) = htonl(v);
Callers
1
writeHeader
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected