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

Function findShiftTable

strings/horspool.cpp:26–50  ·  view source on GitHub ↗

* A function that finds the shift table of the given prototype string that we need in Horpool's algorithm. * @param prototype is the substring that we use to find shift table * @return Shift Table of Horspool's algorithm */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

horspoolFunction · 0.85

Calls 3

findMethod · 0.80
sizeMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected