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

Function FindUtf8PosBackward

be/src/util/string-util.h:105–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103/// TODO(IMPALA-10761): Add query option to control the error handling.
104int FindUtf8PosBackward(const uint8_t* str_ptr, const int str_len, const int index);
105inline int FindUtf8PosBackward(const char* str_ptr, const int str_len, const int index) {
106 return FindUtf8PosBackward(reinterpret_cast<const uint8_t*>(str_ptr), str_len, index);
107}
108
109/// Subclass of std::stringstream that adds functionality to allow overwriting the very
110/// last character of the stream. The purpose of this additional functionality is to

Callers 3

TESTFunction · 0.70
DoUtf8TrimStringMethod · 0.50
InstrMethod · 0.50

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.56