Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/impala
/ remove_suffix
Method
remove_suffix
be/src/gutil/strings/stringpiece.h:213–216 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
211
}
212
213
void remove_suffix(int n) {
214
assert(length_ >= n);
215
length_ -= n;
216
}
217
218
// returns {-1, 0, 1}
219
int compare(StringPiece x) const {
Callers
5
StripNamespaceIfPossible
Method · 0.80
StripSuffixString
Function · 0.80
TryStripSuffixString
Function · 0.80
SplitStructuredLineInternal
Function · 0.80
TrimWhiteSpace
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected