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

Function FastInt64ToBufferLeft

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

Source from the content-addressed store, hash-verified

1063}
1064
1065char* FastInt64ToBufferLeft(int64 i, char* buffer) {
1066 uint64 u = i;
1067 if (i < 0) {
1068 *buffer++ = '-';
1069 u = ~u + 1;
1070 }
1071 return FastUInt64ToBufferLeft(u, buffer);
1072}
1073
1074char* FastUInt128ToBufferLeft(unsigned __int128 i, char* buffer) {
1075 static const unsigned __int128 TWENTY_DIGITS =

Callers 5

AlphaNumMethod · 0.85
SubstituteArgMethod · 0.85
FastInt64ToBufferFunction · 0.85
FastTimeToBufferFunction · 0.85
SimpleItoaFunction · 0.85

Calls 1

FastUInt64ToBufferLeftFunction · 0.85

Tested by

no test coverage detected