亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ipcountry.cs

?? Perst開源實(shí)時(shí)數(shù)據(jù)庫
?? CS
字號:
using System;
using Perst;
using System.IO;

/**
 * Get country for IP address using PATRICIA Trie.
 */
public class IpCountry 
{ 
    const int PagePoolSize = 32*1024*1024;

    class Root : Persistent { 
#if USE_GENERICS
        internal Index<string,Country> countries;
        internal PatriciaTrie<Country> trie;
#else
        internal Index        countries;
        internal PatriciaTrie trie;
#endif
    }

    class Country : Persistent { 
        internal string name;

        internal Country(string name) { 
            this.name = name;
        }
        Country() {}
    }

    public static void Main(string[] args) 
    { 
        Storage db = StorageFactory.Instance.CreateStorage();        
        db.Open("ipcountry.dbs", PagePoolSize);
        Root root = (Root)db.Root;
        if (root == null) { 
            root = new Root();
#if USE_GENERICS
            root.countries = db.CreateIndex<string,Country>(true);
            root.trie = db.CreatePatriciaTrie<Country>();
#else
            root.countries = db.CreateIndex(typeof(string), true);
            root.trie = db.CreatePatriciaTrie();
#endif
            loadCountries(root.countries);
            db.Root = root;
        }
        for (int i = 0; i < args.Length; i++) { 
            loadIpCountryTable(root, args[i]);
        }

        string ip;
        while ((ip = Console.ReadLine()) != null) { 
#if USE_GENERICS
            Country country = root.trie.FindBestMatch(PatriciaTrieKey.FromIpAddress(ip));
#else
            Country country = (Country)root.trie.FindBestMatch(PatriciaTrieKey.FromIpAddress(ip));
#endif
            if (country != null) { 
                Console.WriteLine(ip + "->" + country.name);
            }
        }
        db.Close();
    }

    static void loadIpCountryTable(Root root, string fileName) {                                                                                                                                  
        FileStream fs = new FileStream(fileName, FileMode.Open);
        StreamReader sr = new StreamReader(fs);        
        string line;
        while ((line = sr.ReadLine()) != null) { 
            int sep1 = line.IndexOf('|');
            if (sep1 >= 0) {                 
                int sep2 = line.IndexOf('|', sep1+1);
                int sep3 = line.IndexOf('|', sep2+1);
                int sep4 = line.IndexOf('|', sep3+1);
                if (sep2 > sep1 && sep4 > sep3) { 
                    String iso = line.Substring(sep1+1, sep2-sep1-1).ToUpper();
                    String ip = line.Substring(sep3+1, sep4-sep3-1);
                    if (ip.IndexOf('.') > 0 && iso.Length == 2) { 
                        Country c = (Country)root.countries[iso];
                        if (c == null) { 
                            Console.WriteLine("Unknown country code: " + iso);
                        } else { 
                            root.trie.Add(PatriciaTrieKey.FromIpAddress(ip), c);
                        }
                    }
                }
            }
        }
    }

#if USE_GENERICS
    static void addCountry(Index<string,Country> countries, string country, string iso) { 
#else
    static void addCountry(Index countries, string country, string iso) { 
#endif
        countries[iso] = new Country(country);
    }

#if USE_GENERICS
    static void loadCountries(Index<string,Country> countries) { 
#else
    static void loadCountries(Index countries) { 
#endif
        addCountry(countries, "Burundi", "BI");
        addCountry(countries, "Central African Republic", "CF");
        addCountry(countries, "Chad", "TD");
        addCountry(countries, "Congo", "CG");
        addCountry(countries, "Rwanda", "RW");
        addCountry(countries, "Zaire (Congo)", "ZR");

        addCountry(countries, "Djibouti", "DJ");
        addCountry(countries, "Eritrea", "ER");
        addCountry(countries, "Ethiopia", "ET");
        addCountry(countries, "Kenya", "KE");
        addCountry(countries, "Somalia", "SO");
        addCountry(countries, "Tanzania", "TZ");
        addCountry(countries, "Uganda", "UG");

        addCountry(countries, "Comoros", "KM");
        addCountry(countries, "Madagascar", "MG");
        addCountry(countries, "Mauritius", "MU");
        addCountry(countries, "Mayotte", "YT");
        addCountry(countries, "Reunion", "RE");
        addCountry(countries, "Seychelles", "SC");

        addCountry(countries, "Algeria", "DZ");
        addCountry(countries, "Egypt", "EG");
        addCountry(countries, "Libya", "LY");
        addCountry(countries, "Morocco", "MA");
        addCountry(countries, "Sudan", "SD");
        addCountry(countries, "Tunisia", "TN");
        addCountry(countries, "Western Sahara", "EH");

        addCountry(countries, "Angola", "AO");
        addCountry(countries, "Botswana", "BW");
        addCountry(countries, "Lesotho", "LS");
        addCountry(countries, "Malawi", "MW");
        addCountry(countries, "Mozambique", "MZ");
        addCountry(countries, "Namibia", "NA");
        addCountry(countries, "South Africa", "ZA");
        addCountry(countries, "Swaziland", "SZ");
        addCountry(countries, "Zambia", "ZM");
        addCountry(countries, "Zimbabwe", "ZW");

        addCountry(countries, "Benin", "BJ");
        addCountry(countries, "Burkina Faso", "BF");
        addCountry(countries, "Cameroon", "CM");
        addCountry(countries, "Cape Verde", "CV");
        addCountry(countries, "Cote d'Ivoire", "CI");
        addCountry(countries, "Equatorial Guinea", "GQ");
        addCountry(countries, "Gabon", "GA");
        addCountry(countries, "Gambia, The", "GM");
        addCountry(countries, "Ghana", "GH");
        addCountry(countries, "Guinea", "GN");
        addCountry(countries, "Guinea-Bissau", "GW");
        addCountry(countries, "Liberia", "LR");
        addCountry(countries, "Mali", "ML");
        addCountry(countries, "Mauritania", "MR");
        addCountry(countries, "Niger", "NE");
        addCountry(countries, "Nigeria", "NG");
        addCountry(countries, "Sao Tome and Principe", "ST");
        addCountry(countries, "Senegal", "SN");
        addCountry(countries, "Sierra Leone", "SL");
        addCountry(countries, "Togo", "TG");

        addCountry(countries, "Belize", "BZ");
        addCountry(countries, "Costa Rica", "CR");
        addCountry(countries, "El Salvador", "SV");
        addCountry(countries, "Guatemala", "GT");
        addCountry(countries, "Honduras", "HN");
        addCountry(countries, "Mexico", "MX");
        addCountry(countries, "Nicaragua", "NI");
        addCountry(countries, "Panama", "PA");
        addCountry(countries, "Canada", "CA");
        addCountry(countries, "Greenland", "GL");
        addCountry(countries, "Saint-Pierre et Miquelon", "PM");
        addCountry(countries, "United States", "US");
        addCountry(countries, "Argentina", "AR");
        addCountry(countries, "Bolivia", "BO");
        addCountry(countries, "Brazil", "BR");
        addCountry(countries, "Chile", "CL");
        addCountry(countries, "Colombia", "CO");
        addCountry(countries, "Ecuador", "EC");
        addCountry(countries, "Falkland Islands", "FK");
        addCountry(countries, "French Guiana", "GF");
        addCountry(countries, "Guyana", "GY");
        addCountry(countries, "Paraguay", "PY");
        addCountry(countries, "Peru", "PE");
        addCountry(countries, "Suriname", "SR");
        addCountry(countries, "Uruguay", "UY");
        addCountry(countries, "Venezuela", "VE");

        addCountry(countries, "Anguilla", "AI");
        addCountry(countries, "Antigua&Barbuda", "AG");
        addCountry(countries, "Aruba", "AW");
        addCountry(countries, "Bahamas, The", "BS");
        addCountry(countries, "Barbados", "BB");
        addCountry(countries, "Bermuda", "BM");
        addCountry(countries, "British Virgin Islands", "VG");
        addCountry(countries, "Cayman Islands", "KY");
        addCountry(countries, "Cuba", "CU");
        addCountry(countries, "Dominica", "DM");
        addCountry(countries, "Dominican Republic", "DO");
        addCountry(countries, "Grenada", "GD");
        addCountry(countries, "Guadeloupe", "GP");
        addCountry(countries, "Haiti", "HT");
        addCountry(countries, "Jamaica", "JM");
        addCountry(countries, "Martinique", "MQ");
        addCountry(countries, "Montserrat", "MS");
        addCountry(countries, "Netherlands Antilles", "AN");
        addCountry(countries, "Puerto Rico", "PR");
        addCountry(countries, "Saint Kitts and Nevis", "KN");
        addCountry(countries, "Saint Lucia", "LC");
        addCountry(countries, "Saint Vincent and the Grenadines", "VC");
        addCountry(countries, "Trinidad and Tobago", "TT");
        addCountry(countries, "Turks and Caicos Islands", "TC");
        addCountry(countries, "Virgin Islands", "VI");

        addCountry(countries, "Kazakhstan", "KZ");
        addCountry(countries, "Kyrgyzstan", "KG");
        addCountry(countries, "Tajikistan", "TJ");
        addCountry(countries, "Turkmenistan", "TM");
        addCountry(countries, "Uzbekistan", "UZ");
        addCountry(countries, "China", "CN");
        addCountry(countries, "Hong Kong", "HK");
        addCountry(countries, "Japan", "JP");
        addCountry(countries, "Korea, North", "KP");
        addCountry(countries, "Korea, South", "KR");
        addCountry(countries, "Taiwan", "TW");
        addCountry(countries, "Mongolia", "MN");
        addCountry(countries, "Russia", "RU");
        addCountry(countries, "Afghanistan", "AF");
        addCountry(countries, "Bangladesh", "BD");
        addCountry(countries, "Bhutan", "BT");
        addCountry(countries, "India", "IN");
        addCountry(countries, "Maldives", "MV");
        addCountry(countries, "Nepal", "NP");
        addCountry(countries, "Pakistan", "PK");
        addCountry(countries, "Sri Lanka", "LK");
        addCountry(countries, "Brunei", "BN");
        addCountry(countries, "Cambodia", "KH");
        addCountry(countries, "Christmas Island", "CX");
        addCountry(countries, "Cocos (Keeling) Islands", "CC");
        addCountry(countries, "Indonesia", "ID");
        addCountry(countries, "Laos", "LA");
        addCountry(countries, "Malaysia", "MY");
        addCountry(countries, "Myanmar (Burma)", "MM");
        addCountry(countries, "Philippines", "PH");
        addCountry(countries, "Singapore", "SG");
        addCountry(countries, "Thailand", "TH");
        addCountry(countries, "Vietnam", "VN");
        addCountry(countries, "Armenia", "AM");
        addCountry(countries, "Azerbaijan", "AZ");
        addCountry(countries, "Bahrain", "BH");
        addCountry(countries, "Cyprus", "CY");
        addCountry(countries, "Georgia", "GE");
        addCountry(countries, "Iran", "IR");
        addCountry(countries, "Iraq", "IQ");
        addCountry(countries, "Israel", "IL");
        addCountry(countries, "Jordan", "JO");
        addCountry(countries, "Kuwait", "KW");
        addCountry(countries, "Lebanon", "LB");
        addCountry(countries, "Oman", "OM");
        addCountry(countries, "Qatar", "QA");
        addCountry(countries, "Saudi Arabia", "SA");
        addCountry(countries, "Syria", "SY");
        addCountry(countries, "Turkey", "TR");
        addCountry(countries, "United Arab Emirates", "AE");
        addCountry(countries, "Yemen", "YE");


        addCountry(countries, "Austria", "AT");
        addCountry(countries, "Czech Republic", "CZ");
        addCountry(countries, "Hungary", "HU");
        addCountry(countries, "Liechtenstein", "LI");
        addCountry(countries, "Slovakia", "SK");
        addCountry(countries, "Switzerland", "CH");
        addCountry(countries, "Belarus", "BY");
        addCountry(countries, "Estonia", "EE");
        addCountry(countries, "Latvia", "LV");
        addCountry(countries, "Lithuania", "LT");
        addCountry(countries, "Moldova", "MD");
        addCountry(countries, "Poland", "PL");
        addCountry(countries, "Ukraine", "UA");
        addCountry(countries, "Denmark", "DK");
        addCountry(countries, "Faroe Islands", "FO");
        addCountry(countries, "Finland", "FI");
        addCountry(countries, "Iceland", "IS");
        addCountry(countries, "Norway", "NO");
        addCountry(countries, "Svalbard", "SJ");
        addCountry(countries, "Sweden", "SE");
        addCountry(countries, "Albania", "AL");
        addCountry(countries, "Bosnia Herzegovina", "BA");
        addCountry(countries, "Bulgaria", "BG");
        addCountry(countries, "Croatia", "HR");
        addCountry(countries, "Greece", "GR");
        addCountry(countries, "Macedonia", "MK");
        addCountry(countries, "Romania", "RO");
        addCountry(countries, "Slovenia", "SI");
        addCountry(countries, "Yugoslavia", "YU");
        addCountry(countries, "Andorra", "AD");
        addCountry(countries, "Gibraltar", "GI");
        addCountry(countries, "Portugal", "PT");
        addCountry(countries, "Spain", "ES");
        addCountry(countries, "Vatican", "VA");
        addCountry(countries, "Italy", "IT");
        addCountry(countries, "Malta", "MT");
        addCountry(countries, "San Marino", "SM");
        addCountry(countries, "Belgium", "BE");
        addCountry(countries, "France", "FR");
        addCountry(countries, "Germany", "DE");
        addCountry(countries, "Ireland", "IE");
        addCountry(countries, "Luxembourg", "LU");
        addCountry(countries, "Monaco", "MC");
        addCountry(countries, "Netherlands", "NL");
        addCountry(countries, "United Kingdom", "GB");
        addCountry(countries, "United Kingdom", "UK");

        addCountry(countries, "American Samoa", "AS");
        addCountry(countries, "Australia", "AU");
        addCountry(countries, "Cook Islands", "CK");
        addCountry(countries, "Fiji", "FJ");
        addCountry(countries, "French Polynesia", "PF");
        addCountry(countries, "Guam", "GU");
        addCountry(countries, "Kiribati", "KI");
        addCountry(countries, "Marshall Islands", "MH");
        addCountry(countries, "Micronesia", "FM");
        addCountry(countries, "Nauru", "NR");
        addCountry(countries, "New Caledonia", "NC");
        addCountry(countries, "New Zealand", "NZ");
        addCountry(countries, "Niue", "NU");
        addCountry(countries, "Norfolk Island", "NF");
        addCountry(countries, "Northern Mariana Islands", "MP");
        addCountry(countries, "Palau", "PW");
        addCountry(countries, "Papua New-Guinea", "PG");
        addCountry(countries, "Pitcairn Islands", "PN");
        addCountry(countries, "Solomon Islands", "SB");
        addCountry(countries, "Tokelau", "TK");
        addCountry(countries, "Tonga", "TO");
        addCountry(countries, "Tuvalu", "TV");
        addCountry(countries, "Vanuatu", "VU");
        addCountry(countries, "Wallis & Futuna", "WF");
        addCountry(countries, "Western Samoa", "WS");
    }
}
            

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
五月天网站亚洲| 欧美又粗又大又爽| 精品久久久久久久久久久久久久久 | 成人天堂资源www在线| 欧美国产日本视频| 99久久精品久久久久久清纯| 亚洲精品日韩综合观看成人91| 欧美影院一区二区| 日本视频免费一区| 国产亚洲综合在线| 97精品久久久午夜一区二区三区 | 久久这里只有精品视频网| 国产精品香蕉一区二区三区| 亚洲欧洲色图综合| 欧美日韩国产色站一区二区三区| 欧美aa在线视频| 国产欧美日韩综合精品一区二区| 99re成人精品视频| 奇米四色…亚洲| 国产精品欧美久久久久无广告 | 久久一日本道色综合| av一本久道久久综合久久鬼色| 亚洲国产综合色| 欧美v亚洲v综合ⅴ国产v| 99精品国产91久久久久久| 日韩精品亚洲一区| 日本一区二区三区国色天香| 欧美色电影在线| 国产成人在线视频网站| 亚洲成av人片| 中文字幕不卡在线观看| 欧美一区2区视频在线观看| 成人精品视频.| 蜜乳av一区二区| 亚洲精品高清在线观看| 欧美精品一区二区三区视频| 91久久精品网| 国产成人综合在线| 日韩精品高清不卡| 亚洲免费毛片网站| 欧美成人bangbros| 欧美性生活大片视频| 国产成人精品亚洲777人妖 | 日韩二区三区在线观看| 亚洲国产精品ⅴa在线观看| 欧美久久久久久蜜桃| 成人av网址在线| 精品一区精品二区高清| 香蕉成人啪国产精品视频综合网| 国产精品久久久久久久久搜平片 | 精品午夜久久福利影院| 亚洲福利一二三区| 亚洲日本丝袜连裤袜办公室| 国产午夜精品美女毛片视频| 日韩欧美国产系列| 这里只有精品视频在线观看| 在线观看一区日韩| 99免费精品在线| 丰满少妇久久久久久久| 国产精品影视天天线| 亚洲国产精品麻豆| 亚洲图片欧美色图| 亚洲综合激情网| 亚洲情趣在线观看| 中文字幕亚洲视频| 一色桃子久久精品亚洲| 国产精品色婷婷久久58| 久久久综合视频| 精品国产1区2区3区| 精品对白一区国产伦| 精品少妇一区二区三区视频免付费| 欧美喷水一区二区| 91.com在线观看| 欧美视频在线观看一区| 欧美视频一二三区| 欧美日精品一区视频| 欧美日韩国产大片| 91精品国产91久久久久久一区二区| 欧美午夜精品久久久| 欧美视频一区二| 91精品久久久久久久91蜜桃| 欧美精品久久99| 日韩精品专区在线影院重磅| 欧美成人一区二区三区片免费| 91精品综合久久久久久| 欧美电视剧免费观看| 欧美成人猛片aaaaaaa| 久久久777精品电影网影网 | 在线观看中文字幕不卡| 欧美日韩午夜在线| 日韩一区二区中文字幕| 久久影院视频免费| 中文av一区二区| 亚洲精品高清在线观看| 香蕉影视欧美成人| 极品美女销魂一区二区三区免费 | 国产一区二区日韩精品| 懂色av一区二区三区免费观看| 粉嫩13p一区二区三区| 99久久99久久精品免费观看| 欧美日韩精品一区视频| 精品福利二区三区| 中文字幕色av一区二区三区| 一二三四区精品视频| 免费一级片91| www.亚洲免费av| 欧美三电影在线| 久久久久久久久久久久久夜| 伊人夜夜躁av伊人久久| 日本大胆欧美人术艺术动态| 国产98色在线|日韩| 欧美视频在线一区| 久久久另类综合| 亚洲影院理伦片| 国产一级精品在线| 在线观看av不卡| 久久影视一区二区| 亚洲成人免费影院| 国产69精品久久久久毛片| 在线看国产一区二区| 久久久噜噜噜久久中文字幕色伊伊| 亚洲精品免费在线| 国产精品1区2区| 欧美日韩精品高清| 国产精品日日摸夜夜摸av| 秋霞午夜鲁丝一区二区老狼| 91麻豆精品秘密| 久久久国产精品午夜一区ai换脸| 亚洲午夜三级在线| 成人午夜视频在线| 日韩精品一区二区三区视频播放 | 一本色道久久加勒比精品| 日韩欧美一二三四区| 亚洲欧美另类在线| 国产精品1024久久| 日韩欧美一区中文| 一区二区在线免费观看| 国产精品一区二区在线观看网站| 4hu四虎永久在线影院成人| 亚洲精品成人悠悠色影视| 国产成人高清视频| 精品剧情在线观看| 亚洲成人av电影| 在线一区二区视频| 亚洲色图.com| 成人免费看黄yyy456| 久久精品人人做| 国内国产精品久久| 日韩一区二区高清| 亚洲大尺度视频在线观看| 日本电影亚洲天堂一区| 国产精品国产馆在线真实露脸| 国产一区二区视频在线| 日韩欧美激情一区| 青青草一区二区三区| 91精品国产欧美一区二区成人| 亚洲激情六月丁香| 色综合久久综合| 综合久久一区二区三区| www.视频一区| 亚洲欧美在线视频观看| 91麻豆免费看片| 一区二区三区免费观看| 日本精品裸体写真集在线观看| **性色生活片久久毛片| 97久久精品人人爽人人爽蜜臀| 国产精品二三区| 91色在线porny| 亚洲一区二区三区四区五区黄 | 日本欧美一区二区三区乱码| 欧美裸体一区二区三区| 日韩电影免费一区| 精品久久人人做人人爰| 国产一区二区三区蝌蚪| 中文字幕精品综合| 91网站最新地址| 婷婷久久综合九色综合绿巨人| 国产乱码精品一区二区三| 久久久久久久久岛国免费| 国产成人自拍网| 自拍偷拍国产亚洲| 日本国产一区二区| 亚洲成人免费影院| 日韩久久精品一区| 韩国精品久久久| 欧美激情中文不卡| 99re亚洲国产精品| 亚洲地区一二三色| 欧美成人精品3d动漫h| 国产大陆精品国产| 亚洲欧美日韩系列| 日韩一区二区三区在线| 狠狠网亚洲精品| 中文字幕一区二区三区不卡| 欧美日韩久久久| 国产精品一区二区无线| 一区二区三区在线影院| 日韩视频一区二区| 北岛玲一区二区三区四区| 悠悠色在线精品|