Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/rapidjson
/ WriteInt
Method
WriteInt
test/perftest/misctest.cpp:446–452 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
444
}
445
446
bool WriteInt(int i) {
447
if (i < 0) {
448
os_->Put(
'-'
);
449
i = -i;
450
}
451
return WriteUint((unsigned)i);
452
}
453
454
bool WriteUint(unsigned u) {
455
char buffer[10];
Callers
nothing calls this directly
Calls
1
Put
Method · 0.45
Tested by
no test coverage detected