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

Method length

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

Source from the content-addressed store, hash-verified

2931 difference_type ssize() const noexcept { return static_cast<difference_type>(size()); }
2932 size_type size() const noexcept { return sz_string_length(&string_); }
2933 size_type length() const noexcept { return size(); }
2934 size_type max_size() const noexcept { return npos - 1; }
2935 bool empty() const noexcept { return sz_string_length(&string_) == 0; }
2936 size_type capacity() const noexcept {

Callers 10

needle_lengthMethod · 0.45
skip_lengthMethod · 0.45
needle_lengthMethod · 0.45
skip_lengthMethod · 0.45
copyMethod · 0.45
partitionMethod · 0.45
rpartitionMethod · 0.45
basic_stringMethod · 0.45
try_assignMethod · 0.45
try_replace_all_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected