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

Method needle_length

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

Source from the content-addressed store, hash-verified

410
411 matcher_find(string_type_ needle = {}) noexcept : needle_(needle) {}
412 size_type needle_length() const noexcept { return needle_.length(); }
413 size_type operator()(string_type_ haystack) const noexcept { return haystack.find(needle_); }
414 size_type skip_length() const noexcept {
415 // TODO: Apply Galil rule to match repetitive patterns in strictly linear time.

Callers 10

operator*Method · 0.45
include_overlapsMethod · 0.45
iteratorMethod · 0.45
operator*Method · 0.45
iteratorClass · 0.45
include_overlapsMethod · 0.45
iteratorClass · 0.45
iteratorMethod · 0.45
iteratorClass · 0.45
try_replace_all_Method · 0.45

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected