Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/rapidjson
/ WriteInt
Method
WriteInt
test/perftest/misctest.cpp:526–532 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
524
}
525
526
bool WriteInt(int i) {
527
if (i < 0) {
528
os_->Put(
'-'
);
529
i = -i;
530
}
531
return WriteUint((unsigned)i);
532
}
533
534
bool WriteUint(unsigned u) {
535
char buffer[10];
Callers
nothing calls this directly
Calls
1
Put
Method · 0.45
Tested by
no test coverage detected