MCPcopy Create free account
hub / github.com/ModelInference/synoptic / kmp

Function kmp

synopticgwt/war/dracula_algorithms.js:466–504  ·  view source on GitHub ↗

* Knuth-Morris-Pratt string matching algorithm - finds a pattern in a text. * FIXME: Doesn't work correctly yet.

(p, t)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

prefixFunction · 0.85

Tested by

no test coverage detected