Byte_Search module

find_triple

procedure · 1 overloadSource

The same with three sets: text[i] in first, text[i + gap_2] in second, text[i + gap_3] in third, with gap_3 the largest gap.

find_triple :: (
    first: *Byte_Set,
    second: *Byte_Set,
    third: *Byte_Set,
    gap_2: int,
    gap_3: int,
    text: string,
    start := 0
) -> int

The same with three sets: text[i] in first, text[i + gap_2] in second, text[i + gap_3] in third, with gap_3 the largest gap.

Parameters

first: *Byte_Set
second: *Byte_Set
third: *Byte_Set
gap_2: int
gap_3: int
text: string
start := 0

Returns

int

See also