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

Function advanced

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

Source from the content-addressed store, hash-verified

1496/** @brief Helper function using `std::advance` iterator and return it back. */
1497template <typename iterator_type, typename distance_type>
1498iterator_type advanced(iterator_type &&it, distance_type n) {
1499 std::advance(it, n);
1500 return it;
1501}
1502
1503/** @brief Helper function using `range_length` to compute the unsigned distance. */
1504template <typename iterator_type>

Callers 1

test_searchFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_searchFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…