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

Function FastIntToBuffer

be/src/gutil/strings/numbers.h:144–147  ·  view source on GitHub ↗

at least 22 bytes long

Source from the content-addressed store, hash-verified

142
143// at least 22 bytes long
144inline char* FastIntToBuffer(int i, char* buffer) {
145 return (sizeof(i) == 4 ?
146 FastInt32ToBuffer(i, buffer) : FastInt64ToBuffer(i, buffer));
147}
148inline char* FastUIntToBuffer(unsigned int i, char* buffer) {
149 return (sizeof(i) == 4 ?
150 FastUInt32ToBuffer(i, buffer) : FastUInt64ToBuffer(i, buffer));

Callers

nothing calls this directly

Calls 2

FastInt32ToBufferFunction · 0.85
FastInt64ToBufferFunction · 0.85

Tested by

no test coverage detected