MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle-Lite / size

Method size

lite/utils/string.h:142–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 StringView(std::string::const_iterator begin, std::string::const_iterator end)
141 : begin_(begin), end_(end) {}
142 size_t size() const { return static_cast<size_t>(end_ - begin_); }
143 std::string::const_iterator begin() const { return begin_; }
144 std::string::const_iterator end() const { return end_; }
145 operator std::string() const { return std::string(begin_, end_); }

Callers 12

check_stoiFunction · 0.45
check_stolFunction · 0.45
check_stofFunction · 0.45
check_stodFunction · 0.45
WriteFileFunction · 0.45
Vector2StrFunction · 0.45
ShapePrintFunction · 0.45
string_formatFunction · 0.45
JoinFunction · 0.45
SplitFunction · 0.45
SetMethod · 0.45
padMethod · 0.45

Calls

no outgoing calls

Tested by 4

check_stoiFunction · 0.36
check_stolFunction · 0.36
check_stofFunction · 0.36
check_stodFunction · 0.36