@specialize.argtype(0)
def stringendswith(u_self, suffix, start, end):
    begin = (end - len(suffix))
    if (begin < start):
        return False
    for i in range(len(suffix)):
        if (u_self[(begin + i)] != suffix[i]):
            return False
    return True
@specialize.argtype(0)
def stringendswith(u_self, suffix, start, end):
    begin = (end - len(suffix))
    if (begin < start):
        return False
    for i in range(len(suffix)):
        if (u_self[(begin + i)] != suffix[i]):
            return False
    return True