<commit_before>package com.worlize.websocket
{
	import com.adobe.crypto.SHA1;
	import com.wirelust.as3zlib.Deflate;
	import com.wirelust.as3zlib.Inflate;
	import com.wirelust.as3zlib.JZlib;
	import com.wirelust.as3zlib.ZStream;
	
	import flash.events.Event;
	import flash.events.EventDispatcher;
	import flash.events.IEventDispatcher;
	import flash.events.IOErrorEvent;
	import flash.events.ProgressEvent;
	import flash.events.SecurityErrorEvent;
	import flash.events.TimerEvent;
	import flash.net.Socket;
	import flash.utils.ByteArray;
	import flash.utils.Endian;
	import flash.utils.IDataInput;
	import flash.utils.Timer;
	
	import mx.core.IDataRenderer;
	import mx.core.mx_internal;
	import mx.utils.Base64Encoder;
	import mx.utils.URLUtil;
	
	public class WebSocket extends EventDispatcher
	{
		private static const MODE_UTF8:int = 0;
		private static const MODE_BINARY:int = 0;
		
		private static const PARSE_NEW_FRAME:int = 0;
		private static const PARSE_WAITING_FOR_16_BIT_LENGTH:int = 1;
		private static const PARSE_WAITING_FOR_64_BIT_LENGTH:int = 2;
		private static const PARSE_WAITING_FOR_PAYLOAD:int = 3;

		private var _bufferedAmount:int = 0;
		
		private var _readyState:int;
		private var _uri:String;
		private var _protocol:String;
		private var _host:String;
		private var _port:uint;
		private var _resource:String;<commit_msg>Removing some useless import statements.<commit_after>package com.worlize.websocket
{
	import com.adobe.crypto.SHA1;
	import com.wirelust.as3zlib.Deflate;
	import com.wirelust.as3zlib.Inflate;
	import com.wirelust.as3zlib.JZlib;
	import com.wirelust.as3zlib.ZStream;
	
	import flash.events.Event;
	import flash.events.EventDispatcher;
	import flash.events.IEventDispatcher;
	import flash.events.IOErrorEvent;
	import flash.events.ProgressEvent;
	import flash.events.SecurityErrorEvent;
	import flash.events.TimerEvent;
	import flash.net.Socket;
	import flash.utils.ByteArray;
	import flash.utils.Endian;
	import flash.utils.IDataInput;
	import flash.utils.Timer;
	
	import mx.utils.Base64Encoder;
	import mx.utils.URLUtil;
	
	public class WebSocket extends EventDispatcher
	{
		private static const MODE_UTF8:int = 0;
		private static const MODE_BINARY:int = 0;
		
		private static const PARSE_NEW_FRAME:int = 0;
		private static const PARSE_WAITING_FOR_16_BIT_LENGTH:int = 1;
		private static const PARSE_WAITING_FOR_64_BIT_LENGTH:int = 2;
		private static const PARSE_WAITING_FOR_PAYLOAD:int = 3;

		private var _bufferedAmount:int = 0;
		
		private var _readyState:int;
		private var _uri:String;
		private var _protocol:String;
		private var _host:String;
		private var _port:uint;
		private var _resource:String;
{'fraction_non_alphanumeric': 0.0791151106111736, 'fraction_numerical': 0.014248218972628422, 'mean_word_length': 5.1192660550458715, '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': '3827963', 'n_tokens_mistral': 982, 'n_tokens_neox': 902, 'n_words': 201}