MCPcopy Create free account
hub / github.com/apache/impala / FastInt32ToBufferLeft

Function FastInt32ToBufferLeft

be/src/gutil/strings/numbers.cc:1014–1021  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1012}
1013
1014char* FastInt32ToBufferLeft(int32 i, char* buffer) {
1015 uint32 u = i;
1016 if (i < 0) {
1017 *buffer++ = '-';
1018 u = ~u + 1;
1019 }
1020 return FastUInt32ToBufferLeft(u, buffer);
1021}
1022
1023char* FastUInt64ToBufferLeft(uint64 u64, char* buffer) {
1024 uint digits;

Callers 5

AlphaNumMethod · 0.85
SubstituteArgMethod · 0.85
FastInt32ToBufferFunction · 0.85
SimpleItoaFunction · 0.85
FormatMethod · 0.85

Calls 1

FastUInt32ToBufferLeftFunction · 0.85

Tested by

no test coverage detected