Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/rapidjson
/ WriteInt
Method
WriteInt
test/perftest/misctest.cpp:630–636 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
628
}
629
630
bool WriteInt(int i) {
631
if (i < 0) {
632
os_->Put(
'-'
);
633
i = -i;
634
}
635
return WriteUint((unsigned)i);
636
}
637
638
bool WriteUint(unsigned u) {
639
char buffer[10];
Callers
nothing calls this directly
Calls
1
Put
Method · 0.45
Tested by
no test coverage detected