MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / search

Function search

strings/boyer_moore.cpp:165–189  ·  view source on GitHub ↗

* @brief A function that implements Boyer-Moore's algorithm. * * @param str Text we are seatching in. * @param arg pattern structure containing the preprocessed pattern * @return Vector of indexes of the occurrences of pattern in text */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

and_testFunction · 0.85
pat_testFunction · 0.85
removeMethod · 0.85
searchMethod · 0.85

Calls 2

push_backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected