<commit_before>package ;

import haxe.ds.Vector;
import haxe.Int64;
import haxe.io.Bytes;
import Lambda;
import haxe.CallStack;

using Lambda;

class N {
	static private var strLitCache = new Map<String, java_.lang.String_>();

    static public function strLit(str:String):java_.lang.String_ {
    	if (!strLitCache.exists(str)) strLitCache[str] = java_.lang.String_.make(str);
        return strLitCache[str];
    }

    static public function str(str:String):java_.lang.String_ {
        return (str != null) ? java_.lang.String_.make(str) : null;
    }

	static public inline function c<T, S> (value:T, c:Class<S>):S {
		return cast value;
		//return (value != null) ? cast value : null;
	}

	inline static public function i2z(v:Int):Bool return v != 0;
	inline static public function i2b(v:Int):Int return (v << 24) >> 24;
	inline static public function i2s(v:Int):Int return (v << 16) >> 16;
	inline static public function i2c(v:Int):Int return v & 0xFFFF;

	inline static public function f2i(v:Float):Int {
		#if cpp
		return untyped __cpp__("((int)({0}))", f);
		#else
		return Std.int(v);
		#end
	}

	inline static public function int(v:Float):Int return f2i(v);

	inline static public function b2i(v:Bool):Int return v ? 1 : 0;

	inline static public function idiv(a:Int, b:Int):Int {
		#if cpp
		return untyped __cpp__("(({0})/({1}))", num, denom);
		#else
		return Std.int(a / b);
		#end
	}
}<commit_msg>Woops :)<commit_after>package ;

import haxe.ds.Vector;
import haxe.Int64;
import haxe.io.Bytes;
import Lambda;
import haxe.CallStack;

using Lambda;

class N {
	static private var strLitCache = new Map<String, java_.lang.String_>();

    static public function strLit(str:String):java_.lang.String_ {
    	if (!strLitCache.exists(str)) strLitCache[str] = java_.lang.String_.make(str);
        return strLitCache[str];
    }

    static public function str(str:String):java_.lang.String_ {
        return (str != null) ? java_.lang.String_.make(str) : null;
    }

	static public inline function c<T, S> (value:T, c:Class<S>):S {
		return cast value;
		//return (value != null) ? cast value : null;
	}

	static public function i2z(v:Int):Bool return v != 0;
	static public function i2b(v:Int):Int return (v << 24) >> 24;
	static public function i2s(v:Int):Int return (v << 16) >> 16;
	static public function i2c(v:Int):Int return v & 0xFFFF;

	static public function f2i(v:Float):Int {
		#if cpp
		return untyped __cpp__("((int)({0}))", v);
		#else
		return Std.int(v);
		#end
	}

	static public function int(v:Float):Int return f2i(v);

	static public function b2i(v:Bool):Int return v ? 1 : 0;

	static public function idiv(a:Int, b:Int):Int {
		#if cpp
		return untyped __cpp__("(({0})/({1}))", a, b);
		#else
		return Std.int(a / b);
		#end
	}
}
{'fraction_non_alphanumeric': 0.14972875226039783, 'fraction_numerical': 0.01735985533453888, 'mean_word_length': 3.9927797833935017, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '2327864', 'n_tokens_mistral': 1086, 'n_tokens_neox': 1001, 'n_words': 275}