<commit_before>package org.abimon.visi

import org.abimon.visi.collections.Pool
import org.abimon.visi.collections.PoolableObject
import org.abimon.visi.collections.coerceAtMost
import org.abimon.visi.image.toBufferedImage
import org.abimon.visi.image.toPixelList
import org.abimon.visi.io.check
import org.abimon.visi.io.println
import org.abimon.visi.io.question
import org.abimon.visi.lang.*
import org.abimon.visi.security.*
import java.io.File
import java.io.FileInputStream
import java.util.*

enum class EnumTest { A, B, C }

data class BuilderTest(val color: String, val otherColor: String = "")

fun main(args: Array<String>) {
    println(FileInputStream(File("Visi.iml")).check(FileInputStream(File("Visi.iml"))))
    println(Kelvin(0).toFahrenheit())
    Millimetre(1392).toCentimetres().println()
    ByteUnit(1024).toMegabytes().println()

    Kilogram(3.14).toPounds().println()
    Kilogram(1.101).toOunces().println()
    Kilogram(1.101).toPounds().toOunces().println()

    println(EnumTest::class.isValue("E"))

    if(question("Do Pool Test? ", "Y")) {
        val pool = Pool<ArrayList<String>>(4)
        pool.add(PoolableObject(ArrayList<String>()))
        pool.add(PoolableObject(ArrayList<String>()))
        pool.add(PoolableObject(ArrayList<String>()))
        pool.add(PoolableObject(ArrayList<String>()))

        println(pool.getFree().size)
        Thread {
            (pool.get()!! as PoolableObject).use { obj ->
                Thread.sleep(10000)
            }
        }.start()
        Thread.sleep(1000)
        println(pool.getFree().size)
        Thread.sleep(10000)
        println(pool.getFree().size)
    }

    val builderTest = ClassBuilder(BuilderTest::class)<commit_msg>*Definitely* removing NHM.kt for the last time<commit_after>package org.abimon.visi

import org.abimon.visi.collections.Pool
import org.abimon.visi.collections.PoolableObject
import org.abimon.visi.collections.coerceAtMost
import org.abimon.visi.image.toBufferedImage
import org.abimon.visi.image.toPixelList
import org.abimon.visi.io.check
import org.abimon.visi.io.println
import org.abimon.visi.io.question
import org.abimon.visi.lang.*
import org.abimon.visi.security.*
import java.io.File
import java.io.FileInputStream
import java.util.*

enum class EnumTest { A, B, C }

data class BuilderTest(val color: String, val otherColor: String = "")

@Suppress
fun main(args: Array<String>) {
    println(FileInputStream(File("Visi.iml")).check(FileInputStream(File("Visi.iml"))))
    println(Kelvin(0).toFahrenheit())
    Millimetre(1392).toCentimetres().println()
    ByteUnit(1024).toMegabytes().println()

    Kilogram(3.14).toPounds().println()
    Kilogram(1.101).toOunces().println()
    Kilogram(1.101).toPounds().toOunces().println()

    println(EnumTest::class.isValue("E"))

    if(question("Do Pool Test? ", "Y")) {
        val pool = Pool<ArrayList<String>>(4)
        pool.add(PoolableObject(ArrayList<String>()))
        pool.add(PoolableObject(ArrayList<String>()))
        pool.add(PoolableObject(ArrayList<String>()))
        pool.add(PoolableObject(ArrayList<String>()))

        println(pool.getFree().size)
        Thread {
            (pool.get()!! as PoolableObject).use {
                Thread.sleep(10000)
            }
        }.start()
        Thread.sleep(1000)
        println(pool.getFree().size)
        Thread.sleep(10000)
        println(pool.getFree().size)
    }

    val builderTest = ClassBuilder(BuilderTest::class)
{'fraction_non_alphanumeric': 0.14861751152073732, 'fraction_numerical': 0.020161290322580645, 'mean_word_length': 3.71875, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 18, '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': '3596705', 'n_tokens_mistral': 1219, 'n_tokens_neox': 1131, 'n_words': 163}