<commit_before>package utils

/**
 * A BitSet that grows by allocating new buffers into a spine instead of
 * reallocating and copying existing buffer.
 */
class SpinedBitSet {

    private val spine = mutableListOf<LongArray>()

    operator fun get(bitIndex: Int): Boolean {
        if (bitIndex < 0) throw IndexOutOfBoundsException(bitIndex)<commit_msg>Make code compatible with Java 8<commit_after>package utils

/**
 * A BitSet that grows by allocating new buffers into a spine instead of
 * reallocating and copying existing buffer.
 */
class SpinedBitSet {

    private val spine = mutableListOf<LongArray>()

    operator fun get(bitIndex: Int): Boolean {
        if (bitIndex < 0) throw IndexOutOfBoundsException("$bitIndex")
{'fraction_non_alphanumeric': 0.0776566757493188, 'fraction_numerical': 0.004087193460490463, 'mean_word_length': 4.176056338028169, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '1066482', 'n_tokens_mistral': 206, 'n_tokens_neox': 197, 'n_words': 76}