MCPcopy 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

WaitForBindFunction · 0.80
GetMemcmpableVarint64Function · 0.80
GetLengthPrefixedSliceFunction · 0.80
StripPrefixStringFunction · 0.80
TryStripPrefixStringFunction · 0.80
SplitIteratorClass · 0.80
EvictedEntryMethod · 0.80
TrimWhiteSpaceFunction · 0.80

Calls

no outgoing calls

Tested by 1

WaitForBindFunction · 0.64