MCPcopy Create free account
hub / github.com/baidu/tera / OutputInt64AsString

Function OutputInt64AsString

src/common/base/string_number.cc:520–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518
519template <typename OutputIterator>
520OutputIterator OutputInt64AsString(int64_t i, OutputIterator output) {
521 uint64_t u = i;
522 if (i < 0) {
523 *output++ = '-';
524 u = -i;
525 }
526 return OutputUInt64AsString(u, output);
527}
528
529///////////////////////////////////////////////////////////////////////////
530// generic interface

Callers 3

OutputIntegerAsStringFunction · 0.85
WriteInt64ToBufferFunction · 0.85
Int64ToStringFunction · 0.85

Calls 1

OutputUInt64AsStringFunction · 0.85

Tested by

no test coverage detected