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

Method length

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

Source from the content-addressed store, hash-verified

194 constexpr value_type *data() const noexcept { return data_; }
195 constexpr size_type size() const noexcept { return extent; }
196 constexpr size_type length() const noexcept { return extent; }
197 constexpr size_type size_bytes() const noexcept { return extent * sizeof(value_type); }
198 constexpr value_type &operator[](size_type i) const noexcept { return data_[i]; }
199 constexpr value_type &front() const noexcept { return data_[0]; }

Callers 8

scope_assertFunction · 0.45
test_updatesFunction · 0.45
test_replacementsFunction · 0.45
tokenizeFunction · 0.45
filter_by_lengthFunction · 0.45
try_assignMethod · 0.45
try_appendMethod · 0.45

Calls

no outgoing calls

Tested by 4

scope_assertFunction · 0.36
test_updatesFunction · 0.36
test_replacementsFunction · 0.36