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

Function FastInt128ToBufferLeft

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

Source from the content-addressed store, hash-verified

1093}
1094
1095char* FastInt128ToBufferLeft(__int128 i, char* buffer) {
1096 unsigned __int128 u = i;
1097 if (i < 0) {
1098 *buffer++ = '-';
1099 u = ~u + 1;
1100 }
1101 return FastUInt128ToBufferLeft(u, buffer);
1102}
1103
1104int HexDigitsPrefix(const char* buf, int num_digits) {
1105 for (int i = 0; i < num_digits; i++)

Callers 1

SimpleItoaFunction · 0.85

Calls 1

FastUInt128ToBufferLeftFunction · 0.85

Tested by

no test coverage detected