<commit_before>// vim: tabstop=4 shiftwidth=4

// Copyright (c) 2011 , <NAME> All rights reserved.
//
// Author: <NAME> (<EMAIL>)
//
// Use, modification and distribution are subject to the "New BSD License"
// as listed at <url: http://www.opensource.org/licenses/bsd-license.php >.

package com.netease.protobuf {
	public final class Int64 extends Binary64 {
		public final function set high(value:int):void {
			internalHigh = value
		}
		public final function get high():int {
			return internalHigh
		}
		public function Int64(low:uint = 0, high:int = 0) {
			super(low, high)
		}
		/**
		 * Convert from <code>Number</code>.
		 */
		public static function fromNumber(n: Number):Int64 {
			return new Int64(n, Math.floor(n / 4294967296.0))
		}
		/**
		 * Convert to <code>Number</code>.
		 */
		public final function toNumber():Number {
			return high * 4294967296 + low
		}
		public final function toString(radix:uint = 10):String {
			if (radix < 2 || radix > 36) {
				throw new ArgumentError
			}
			switch (high) {
				case 0:
				{
					return low.toString(radix)
				}

				case -1:
				{
					return int(low).toString(radix)
				}

				default:
				{
					break;
				}
			}
			if (low == 0 && high == 0) {
				return "0"
			}
			const digitChars:Array = [];
			const copyOfThis:UInt64 = new UInt64(low, high);
			if (high < 0) {
				copyOfThis.bitwiseNot()
				copyOfThis.add(1)
			}<commit_msg>使用小数以让代码更清楚<commit_after>// vim: tabstop=4 shiftwidth=4

// Copyright (c) 2011 , <NAME> All rights reserved.
//
// Author: <NAME> (<EMAIL>)
//
// Use, modification and distribution are subject to the "New BSD License"
// as listed at <url: http://www.opensource.org/licenses/bsd-license.php >.

package com.netease.protobuf {
	public final class Int64 extends Binary64 {
		public final function set high(value:int):void {
			internalHigh = value
		}
		public final function get high():int {
			return internalHigh
		}
		public function Int64(low:uint = 0, high:int = 0) {
			super(low, high)
		}
		/**
		 * Convert from <code>Number</code>.
		 */
		public static function fromNumber(n: Number):Int64 {
			return new Int64(n, Math.floor(n / 4294967296.0))
		}
		/**
		 * Convert to <code>Number</code>.
		 */
		public final function toNumber():Number {
			return high * 4294967296.0 + low
		}
		public final function toString(radix:uint = 10):String {
			if (radix < 2 || radix > 36) {
				throw new ArgumentError
			}
			switch (high) {
				case 0:
				{
					return low.toString(radix)
				}

				case -1:
				{
					return int(low).toString(radix)
				}

				default:
				{
					break;
				}
			}
			if (low == 0 && high == 0) {
				return "0"
			}
			const digitChars:Array = [];
			const copyOfThis:UInt64 = new UInt64(low, high);
			if (high < 0) {
				copyOfThis.bitwiseNot()
				copyOfThis.add(1)
			}
{'fraction_non_alphanumeric': 0.13742897727272727, 'fraction_numerical': 0.03941761363636364, 'mean_word_length': 2.677545691906005, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3376910', 'n_tokens_mistral': 1251, 'n_tokens_neox': 963, 'n_words': 256}