MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / remove_prefix

Method remove_prefix

extern/re2/re2/stringpiece.h:87–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 const_pointer data() const { return data_; }
86
87 void remove_prefix(size_type n) {
88 data_ += n;
89 size_ -= n;
90 }
91
92 void remove_suffix(size_type n) {
93 size_ -= n;

Callers 15

ParseIntegerFunction · 0.80
MaybeParseRepetitionFunction · 0.80
StringPieceToRuneFunction · 0.80
ParseEscapeFunction · 0.80
MaybeParsePerlCCEscapeFunction · 0.80
ParseUnicodeGroupFunction · 0.80
ParseCCNameFunction · 0.80
ParseCCRangeMethod · 0.80
ParseCharClassMethod · 0.80
ParsePerlFlagsMethod · 0.80
ParseMethod · 0.80
ConsumeNMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestInputMethod · 0.64