MCPcopy Create free account
hub / github.com/apache/brpc / Init

Method Init

src/butil/strings/string_tokenizer.h:156–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154
155 private:
156 void Init(const_iterator string_begin,
157 const_iterator string_end,
158 const str& delims) {
159 start_pos_ = string_begin;
160 token_begin_ = string_begin;
161 token_end_ = string_begin;
162 end_ = string_end;
163 delims_ = delims;
164 options_ = 0;
165 token_is_delim_ = false;
166 }
167
168 // Implementation of GetNext() for when we have no quote characters. We have
169 // two separate implementations because AdvanceOne() is a hot spot in large

Callers 11

operator()Method · 0.45
SmallMapClass · 0.45
insertMethod · 0.45
eraseMethod · 0.45
ConvertToRealMapMethod · 0.45
InitFromMethod · 0.45
EnqueueMethod · 0.45
optionalMethod · 0.45
optionalClass · 0.45
BucketMethod · 0.45
swapMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected