<commit_before>import cython
from libc.stdlib cimport abs as c_abs
cimport cpython.array

@cython.locals(ai = cython.int, i=cython.int, x=cython.uchar, a=cython.uchar)
cpdef inline int undo_filter_sub(int filter_unit, unsigned char[:] scanline,
                             unsigned char[:] previous, unsigned char[:] result)

@cython.locals(i=cython.int, x=cython.uchar, b=cython.uchar)
cpdef inline int undo_filter_up(int filter_unit, unsigned char[:] scanline,
                         unsigned char[:] previous, unsigned char[:] result)

@cython.locals(ai = cython.int, i=cython.int, x=cython.uchar, a=cython.uchar, b=cython.uchar)                         
cpdef inline int undo_filter_average(int filter_unit, unsigned char[:] scanline,
                              unsigned char[:] previous, unsigned char[:] result)

@cython.locals(ai = cython.int, i=cython.int, pa=cython.int, pb=cython.int, pc=cython.int, p=cython.int,
                 x=cython.uchar, a=cython.uchar, b=cython.uchar, c=cython.uchar, pr=cython.uchar)
cpdef inline int undo_filter_paeth(int filter_unit, unsigned char[:] scanline,
                            unsigned char[:] previous, unsigned char[:] result)

@cython.locals(i=cython.int, l=cython.int, j=cython.int, k=cython.int)                         
cpdef inline int convert_rgb_to_rgba(unsigned char[:] row, unsigned char[:] result)

@cython.locals(i=cython.int, l=cython.int, j=cython.int, k=cython.int, lum=cython.int)
cpdef inline int convert_l_to_rgba(unsigned char[:] row, unsigned char[:] result)

@cython.locals(i=cython.int, l=cython.int, j=cython.int, k=cython.int, lum=cython.int)
cpdef inline convert_la_to_rgba(unsigned char[:] row, unsigned char[:] result)
        <commit_msg>Specify the values in our arrays are contiguous in memory.<commit_after>import cython
from libc.stdlib cimport abs as c_abs
cimport cpython.array

@cython.locals(ai = cython.int, i=cython.int, x=cython.uchar, a=cython.uchar)
cpdef inline int undo_filter_sub(int filter_unit, unsigned char[::1] scanline,
                             unsigned char[::1] previous, unsigned char[::1] result)

@cython.locals(i=cython.int, x=cython.uchar, b=cython.uchar)
cpdef inline int undo_filter_up(int filter_unit, unsigned char[::1] scanline,
                         unsigned char[::1] previous, unsigned char[::1] result)

@cython.locals(ai = cython.int, i=cython.int, x=cython.uchar, a=cython.uchar, b=cython.uchar)                         
cpdef inline int undo_filter_average(int filter_unit, unsigned char[::1] scanline,
                              unsigned char[::1] previous, unsigned char[::1] result)

@cython.locals(ai = cython.int, i=cython.int, pa=cython.int, pb=cython.int, pc=cython.int, p=cython.int,
                 x=cython.uchar, a=cython.uchar, b=cython.uchar, c=cython.uchar, pr=cython.uchar)
cpdef inline int undo_filter_paeth(int filter_unit, unsigned char[::1] scanline,
                            unsigned char[::1] previous, unsigned char[::1] result)

@cython.locals(i=cython.int, l=cython.int, j=cython.int, k=cython.int)                         
cpdef inline int convert_rgb_to_rgba(unsigned char[::1] row, unsigned char[::1] result)

@cython.locals(i=cython.int, l=cython.int, j=cython.int, k=cython.int, lum=cython.int)
cpdef inline int convert_l_to_rgba(unsigned char[::1] row, unsigned char[::1] result)

@cython.locals(i=cython.int, l=cython.int, j=cython.int, k=cython.int, lum=cython.int)
cpdef inline convert_la_to_rgba(unsigned char[::1] row, unsigned char[::1] result)
        
{'fraction_non_alphanumeric': 0.12999150382327954, 'fraction_numerical': 0.005097706032285472, 'mean_word_length': 3.6412614980289093, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '190011', 'n_tokens_mistral': 1243, 'n_tokens_neox': 1226, 'n_words': 273}