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

Method data

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

Source from the content-addressed store, hash-verified

192 constexpr value_type *begin() const noexcept { return data_; }
193 constexpr value_type *end() const noexcept { return data_ + extent; }
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); }

Callers 15

less_globallyMethod · 0.45
try_insertMethod · 0.45
countMethod · 0.45
try_countMethod · 0.45
try_findMethod · 0.45
operator()Method · 0.45
operator()Method · 0.45
operator()Method · 0.45
operator()Method · 0.45
operator()Method · 0.45
operator()Method · 0.45

Calls

no outgoing calls

Tested by 14

test_hash_equivalenceFunction · 0.36
test_sha256_equivalenceFunction · 0.36
test_utf8_equivalenceFunction · 0.36
test_utf8_case_fold_fuzzFunction · 0.36
test_utf8_ci_find_fuzzFunction · 0.36
test_memory_utilitiesFunction · 0.36
test_replacementsFunction · 0.36
to_strFunction · 0.36