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

Function StringToIntImpl

src/butil/strings/string_number_conversions.cc:325–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323
324template <typename VALUE>
325bool StringToIntImpl(const StringPiece& input, VALUE* output) {
326 return IteratorRangeToNumber<StringPieceToNumberTraits<VALUE, 10> >::Invoke(
327 input.begin(), input.end(), output);
328}
329
330template <typename VALUE, int BASE>
331class StringPiece16ToNumberTraits

Callers 5

StringToIntFunction · 0.85
StringToUintFunction · 0.85
StringToInt64Function · 0.85
StringToUint64Function · 0.85
StringToSizeTFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected