Searched refs:lookFor (Results 1 – 1 of 1) sorted by relevance
27 class StringSearch(val lookFor: String) { constant in trebuchet.util.StringSearch28 val skipLut = ByteArray(256) { lookFor.length.toByte() } in <lambda>()29 val suffixSkip = ByteArray(lookFor.length)46 val last = lookFor.length - 148 skipLut[lookFor[i].toInt() and 0xFF] = (last - i).toByte()53 if (isPrefix(lookFor, i + 1)) {59 val suffixLength = longestCommonSuffix(lookFor, i)60 if(lookFor[i - suffixLength] != lookFor[last - suffixLength]) {66 val length get() = lookFor.length69 var index = startIndex + lookFor.length - 1 in find()[all …]