INNER CODE UNIT · Kotlin

nextHayIndex

ReVanced/revanced-patcher · patcher/src/commonMain/kotlin/app/revanced/patcher/Matching.kt:843

                    nextHayIndex = i + 1,
                    matchedIndex = i,
                ).also {
                    if (it.patternIndex == size) {
                        indices +=
                            buildList(size) {
                                var frame: Frame? = it
                                while (frame != null && frame.matchedIndex != -1) {
                                    add(frame.matchedIndex)
                                    frame = frame.previousFrame
                                }
                            }.asReversed()

                        return true
                    }
                }.let(stack::add)
            }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…