MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / size

Method size

include/stringzilla/stringzilla.hpp:842–842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

840 iterator begin() const noexcept { return {string_view_type(haystack_), matcher_}; }
841 iterator end() const noexcept { return {string_view_type(haystack_.end(), 0), matcher_, end_sentinel_type {}}; }
842 size_type size() const noexcept { return static_cast<size_type>(ssize()); }
843 difference_type ssize() const noexcept { return std::distance(begin(), end()); }
844 constexpr bool empty() const noexcept { return false; }
845

Callers 15

iteratorMethod · 0.45
iteratorClass · 0.45
endMethod · 0.45
iteratorMethod · 0.45
operator*Method · 0.45
iteratorClass · 0.45
operator!=Method · 0.45
operator==Method · 0.45
iteratorMethod · 0.45
iteratorClass · 0.45
iteratorMethod · 0.45
iteratorClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected