Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/impala
/ remove_prefix
Method
remove_prefix
be/src/gutil/strings/stringpiece.h:207–211 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
205
}
206
207
void remove_prefix(int n) {
208
assert(length_ >= n);
209
ptr_ += n;
210
length_ -= n;
211
}
212
213
void remove_suffix(int n) {
214
assert(length_ >= n);
Callers
9
StripNamespaceIfPossible
Method · 0.80
WaitForBind
Function · 0.80
GetMemcmpableVarint64
Function · 0.80
GetLengthPrefixedSlice
Function · 0.80
StripPrefixString
Function · 0.80
TryStripPrefixString
Function · 0.80
SplitIterator
Class · 0.80
EvictedEntry
Method · 0.80
TrimWhiteSpace
Function · 0.80
Calls
no outgoing calls
Tested by
1
WaitForBind
Function · 0.64