• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            C++ Programmer's Cookbook

            {C++ 基礎(chǔ)} {C++ 高級} {C#界面,C++核心算法} {設(shè)計(jì)模式} {C#基礎(chǔ)}

            模式設(shè)計(jì)c#--創(chuàng)建型--Singleton

            名稱 Singleton
            結(jié)構(gòu) o_singleton.bmp
            意圖 保證一個(gè)類僅有一個(gè)實(shí)例,并提供一個(gè)訪問它的全局訪問點(diǎn)。
            適用性
            • 當(dāng)類只能有一個(gè)實(shí)例而且客戶可以從一個(gè)眾所周知的訪問點(diǎn)訪問它時(shí)。
            • 當(dāng)這個(gè)唯一實(shí)例應(yīng)該是通過子類化可擴(kuò)展的,并且客戶應(yīng)該無需更改代碼就能使用一個(gè)擴(kuò)展的實(shí)例時(shí)。


            Code Example
            namespace?Singleton_DesignPattern
            {
            ????
            using?System;

            ????
            class?Singleton?
            ????
            {
            ????????
            private?static?Singleton?_instance;
            ????????
            ????????
            public?static?Singleton?Instance()
            ????????
            {
            ????????????
            if?(_instance?==?null)
            ????????????????_instance?
            =?new?Singleton();
            ????????????
            return?_instance;
            ????????}

            ????????
            protected?Singleton(){}

            ????????
            //?Just?to?prove?only?a?single?instance?exists
            ????????private?int?x?=?0;
            ????????
            public?void?SetX(int?newVal)?{x?=?newVal;}
            ????????
            public?int?GetX(){return?x;}????????
            ????}


            ????
            ///?<summary>
            ????
            ///????Summary?description?for?Client.
            ????
            ///?</summary>

            ????public?class?Client
            ????
            {
            ????????
            public?static?int?Main(string[]?args)
            ????????
            {
            ????????????
            int?val;
            ????????????
            //?can't?call?new,?because?constructor?is?protected
            ????????????Singleton?FirstSingleton?=?Singleton.Instance();?
            ????????????Singleton?SecondSingleton?
            =?Singleton.Instance();

            ????????????
            //?Now?we?have?two?variables,?but?both?should?refer?to?the?same?object
            ????????????
            //?Let's?prove?this,?by?setting?a?value?using?one?variable,?and?
            ????????????
            //?(hopefully!)?retrieving?the?same?value?using?the?second?variable
            ????????????FirstSingleton.SetX(4);
            ????????????Console.WriteLine(
            "Using?first?variable?for?singleton,?set?x?to?4");????????

            ????????????val?
            =?SecondSingleton.GetX();
            ????????????Console.WriteLine(
            "Using?second?variable?for?singleton,?value?retrieved?=?{0}",?val);????????
            ????????????
            return?0;
            ????????}

            ????}

            }

            http://www.yoda.arachsys.com/csharp/singleton.html

            Implementing the Singleton Pattern in C#

            The singleton pattern is one of the best-known patterns in software engineering. Essentially, a singleton is a class which only allows a single instance of itself to be created, and usually gives simple access to that instance. Most commonly, singletons don't allow any parameters to be specified when creating the instance - as otherwise a second request for an instance but with a different parameter could be problematic! (If the same instance should be accessed for all requests with the same parameter, the factory pattern is more appropriate.) This article deals only with the situation where no parameters are required. Typically a requirement of singletons is that they are created lazily - i.e. that the instance isn't created until it is first needed.

            There are various different ways of implementing the singleton pattern in C#. I shall present them here in reverse order of elegance, starting with the most commonly seen, which is not thread-safe, and working up to a fully lazily-loaded, thread-safe, simple and highly performant version. Note that in the code here, I omit the private modifier, as it is the default for class members. In many other languages such as Java, there is a different default, and private should be used.

            All these implementations share four common characteristics, however:

            • A single constructor, which is private and parameterless. This prevents other classes from instantiating it (which would be a violation of the pattern). Note that it also prevents subclassing - if a singleton can be subclassed once, it can be subclassed twice, and if each of those subclasses can create an instance, the pattern is violated. The factory pattern can be used if you need a single instance of a base type, but the exact type isn't known until runtime.
            • The class is sealed. This is unnecessary, strictly speaking, due to the above point, but may help the JIT to optimise things more.
            • A static variable which holds a reference to the single created instance, if any.
            • A public static means of getting the reference to the single created instance, creating one if necessary.

            Note that all of these implementations also use a public static property Instance as the means of accessing the instance. In all cases, the property could easily be converted to a method, with no impact on thread-safety or performance.

            First version - not thread-safe

            //?Bad?code!?Do?not?use!
            public?sealed?class?Singleton
            {
            ????
            static?Singleton?instance=null;

            ????Singleton()
            ????
            {
            ????}


            ????
            public?static?Singleton?Instance
            ????
            {
            ????????
            get
            ????????
            {
            ????????????
            if?(instance==null)
            ????????????
            {
            ????????????????instance?
            =?new?Singleton();
            ????????????}

            ????????????
            return?instance;
            ????????}

            ????}

            }


            As hinted at before, the above is not thread-safe. Two different threads could both have evaluated the test if (instance==null) and found it to be true, then both create instances, which violates the singleton pattern. Note that in fact the instance may already have been created before the expression is evaluated, but the memory model doesn't guarantee that the new value of instance will be seen by other threads unless suitable memory barriers have been passed.

            Second version - simple thread-safety

            publicsealedclass?Singleton
            {
            ????
            static?Singleton?instance=null;
            ????staticreadonlyobject?padlock?
            =?newobject();

            ????Singleton()
            ????
            {
            ????}


            ????publicstatic?Singleton?Instance
            ????
            {
            ????????
            get
            ????????
            {
            ????????????
            lock?(padlock)
            ????????????
            {
            ????????????????
            if?(instance==null)
            ????????????????
            {
            ????????????????????instance?
            =?new?Singleton();
            ????????????????}

            ????????????????
            return?instance;
            ????????????}

            ????????}

            ????}

            }


            This implementation is thread-safe. The thread takes out a lock on a shared object, and then checks whether or not the instance has been created before creating the instance. This takes care of the memory barrier issue (as locking makes sure that all reads occur logically after the lock acquire, and unlocking makes sure that all writes occur logically before the lock release) and ensures that only one thread will create an instance (as only one thread can be in that part of the code at a time - by the time the second thread enters it,the first thread will have created the instance, so the expression will evaluate to false). Unfortunately, performance suffers as a lock is acquired every time the instance is requested.

            Note that instead of locking on typeof(Singleton) as some versions of this implementation do, I lock on the value of a static variable which is private to the class. Locking on objects which other classes can access and lock on (such as the type) risks performance issues and even deadlocks. This is a general style preference of mine - wherever possible, only lock on objects specifically created for the purpose of locking, or which document that they are to be locked on for specific purposes (e.g. for waiting/pulsing a queue). Usually such objects should be private to the class they are used in. This helps to make writing thread-safe applications significantly easier.

            Third version - attempted thread-safety using double-check locking

            //?Bad?code!?Do?not?use!
            public?sealed?class?Singleton
            {
            ????
            static?Singleton?instance=null;
            ????
            static?readonly?object?padlock?=?new?object();

            ????Singleton()
            ????
            {
            ????}


            ????
            public?static?Singleton?Instance
            ????
            {
            ????????
            get
            ????????
            {
            ????????????
            if?(instance==null)
            ????????????
            {
            ????????????????
            lock?(padlock)
            ????????????????
            {
            ????????????????????
            if?(instance==null)
            ????????????????????
            {
            ????????????????????????instance?
            =?new?Singleton();
            ????????????????????}

            ????????????????}

            ????????????}

            ????????????
            return?instance;
            ????????}

            ????}

            }


            This implementation attempts to be thread-safe without the necessity of taking out a lock every time. Unfortunately, there are four downsides to the pattern:

            • It doesn't work in Java. This may seem an odd thing to comment on, but it's worth knowing if you ever need the singleton pattern in Java, and C# programmers may well also be Java programmers. The Java memory model doesn't ensure that the constructor completes before the reference to the new object is assigned to instance. The Java memory model is going through a reworking for version 1.5, but double-check locking is anticipated to still be broken after this. (Note to self: Java 1.5 has been out for a while - I need to check what the memory model changes are...)
            • Without any memory barriers, it's broken in .NET too. Making the instance variable volatile can make it work, as would explicit memory barrier calls, although in the latter case even experts can't agree exactly which barriers are required. I tend to try to avoid situations where experts don't agree what's right and what's wrong!
            • It's easy to get wrong. The pattern needs to be pretty much exactly as above - any significant changes are likely to impact either performance or correctness.
            • It still doesn't perform as well as the later implementations.

            Fourth version - not quite as lazy, but thread-safe without using locks

            ?
            public?sealed?class?Singleton
            {
            ????
            static?readonly?Singleton?instance=new?Singleton();

            ????
            //?Explicit?static?constructor?to?tell?C#?compiler//?not?to?mark?type?as?beforefieldinit
            ????static?Singleton()
            ????
            {
            ????}


            ????Singleton()
            ????
            {
            ????}


            ????publicstatic?Singleton?Instance
            ????
            {
            ????????
            get
            ????????
            {
            ????????????
            return?instance;
            ????????}

            ????}

            }


            As you can see, this is really is extremely simple - but why is it thread-safe and how lazy is it? Well, static constructors in C# are specified to execute only when an instance of the class is created or a static member is referenced, and to execute only once per AppDomain. Given that this check for the type being newly constructed needs to be executed whatever else happens, it will be faster than adding extra checking as in the previous examples. There are a couple of wrinkles, however:

            • It's not as lazy as the other implementations. In particular, if you have static members other than GetInstance, the first reference to those members will involve creating the instance. This is corrected in the next implementation.
            • There are complications if one static constructor invokes another which invokes the first again. Look in the .NET specifications (currently section 9.5.3 of partition II) for more details about the exact nature of type initializers - they're unlikely to bite you, but it's worth being aware of the consequences of static constructors which refer to each other in a cycle.
            • The laziness of type initializers is only guaranteed by .NET when the type isn't marked with a special flag called beforefieldinit. Unfortunately, the C# compiler (as provided in the .NET 1.1 runtime, at least) marks all types which don't have a static constructor (i.e. a block which looks like a constructor but is marked static) as beforefieldinit. I now have a discussion page with more details about this issue. Also note that it affects performance, as discussed near the bottom of this article.

            One shortcut you can take with this implementation (and only this one) is to just make instance a public static readonly variable, and get rid of the property entirely. This makes the basic skeleton code absolutely tiny! Many people, however, prefer to have a property in case further action is needed in future, and JIT inlining is likely to make the performance identical. (Note that the static constructor itself is still required if you require laziness.)

            Fifth version - fully lazy instantiation

            public?sealed?class?Singleton
            {
            ????Singleton()
            ????
            {
            ????}


            ????
            public?static?Singleton?Instance
            ????
            {
            ????????
            get
            ????????
            {
            ????????????
            return?Nested.instance;
            ????????}

            ????}

            ????
            ????
            class?Nested
            ????
            {
            ????????
            //?Explicit?static?constructor?to?tell?C#?compiler//?not?to?mark?type?as?beforefieldinit
            ????????static?Nested()
            ????????
            {
            ????????}


            ????????
            internal?static?readonly?Singleton?instance?=?new?Singleton();
            ????}

            }


            Here, instantiation is triggered by the first reference to the static member of the nested class, which only occurs in GetInstance. This means the implementation is fully lazy, but has all the performance benefits of the previous ones. Note that although nested classes have access to the enclosing class's private members, the reverse is not true, hence the need for instance to be internal here. That doesn't raise any other problems, though, as the class itself is private. The code is a bit more complicated in order to make the instantiation lazy, however.

            Performance vs laziness

            In many cases, you won't actually require full laziness - unless your class initialization does something particularly time-consuming, or has some side-effect elsewhere, it's probably fine to leave out the explicit static constructor shown above. This can increase performance as it allows the JIT compiler to make a single check (for instance at the start of a method) to ensure that the type has been initialized, and then assume it from then on. If your singleton instance is referenced within a relatively tight loop, this can make a (relatively) significant performance difference. You should decide whether or not fully lazy instantiation is required, and document this decision appropriately within the class. (See below for more on performance, however.)

            Exceptions

            Sometimes, you need to do work in a singleton constructor which may throw an exception, but might not be fatal to the whole application. Potentially, your application may be able to fix the problem and want to try again. Using type initializers to construct the singleton becomes problematic at this stage. Different runtimes handle this case differently, but I don't know of any which do the desired thing (running the type initializer again), and even if one did, your code would be broken on other runtimes. To avoid these problems, I'd suggest using the second pattern listed on the page - just use a simple lock, and go through the check each time, building the instance in the method/property if it hasn't already been successfully built.

            Thanks to Andriy Tereshchenko for raising this issue.

            A word on performance

            A lot of the reason for this page stemmed from people trying to be clever, and thus coming up with the double-checked locking algorithm. There is an attitude of locking being expensive which is common and misguided. I've written a very quick benchmark which just acquires singleton instances in a loop a billion ways, trying different variants. It's not terribly scientific, because in real life you may want to know how fast it is if each iteration actually involved a call into a method fetching the singleton, etc. However, it does show an important point. On my laptop, the slowest solution (by a factor of about 5) is the locking one (solution 2). Is that important? Probably not, when you bear in mind that it still managed to acquire the singleton a billion times in under 40 seconds. That means that if you're "only" acquiring the singleton four hundred thousand times per second, the cost of the acquisition is going to be 1% of the performance - so improving it isn't going to do a lot. Now, if you are acquiring the singleton that often - isn't it likely you're using it within a loop? If you care that much about improving the performance a little bit, why not declare a local variable outside the loop, acquire the singleton once and then loop. Bingo, even the slowest implementation becomes easily adequate.

            I would be very interested to see a real world application where the difference between using simple locking and using one of the faster solutions actually made a significant performance difference.

            Conclusion (modified slightly on January 7th 2006)

            There are various different ways of implementing the singleton pattern in C#. A reader has written to me detailing a way he has encapsulated the synchronization aspect, which while I acknowledge may be useful in a few very particular situations (specifically where you want very high performance, and the ability to determine whether or not the singleton has been created, and full laziness regardless of other static members being called). I don't personally see that situation coming up often enough to merit going further with on this page, but please mail me if you're in that situation.

            My personal preference is for solution 4: the only time I would normally go away from it is if I needed to be able to call other static methods without triggering initialization, or if I needed to know whether or not the singleton has already been instantiated. I don't remember the last time I was in that situation, assuming I even have. In that case, I'd probably go for solution 2, which is still nice and easy to get right.

            Solution 5 is elegant, but trickier than 2 or 4, and as I said above, the benefits it provides seem to only be rarely useful.

            (I wouldn't use solution 1 because it's broken, and I wouldn't use solution 3 because it has no benefits over 5.)


            C#面向?qū)ο笤O(shè)計(jì)模式縱橫談(2)Singleton 單件(創(chuàng)建型模式) ---Level 300
            活動(dòng)日期: 2005-10-25 14:30 -- 16:00
            講:李建忠

            ________________________________________

            Q使用靜態(tài)的計(jì)數(shù)器一樣可以在單線程中實(shí)現(xiàn)只實(shí)例化一個(gè)對象的目的啊

            A:這個(gè)應(yīng)該是不能的,因?yàn)殪o態(tài)計(jì)數(shù)器的作用和if (instance == null) 是一樣的,在多線程環(huán)境中都會有問題的。

            ________________________________________

            Q多線成中的lock可以lock(this)?

            A:因?yàn)槭窃陟o態(tài)屬性中,所以不能訪問this指針。

            ________________________________________

            Q為什么雙檢查?

            A:單檢查也是可以的,但是單檢查的效率要比雙檢查低——因?yàn)橥娇刂频臅r(shí)間太長了。雙檢查能夠最高效地實(shí)現(xiàn)多線程安全的訪問。

            ________________________________________

            Q為什么一定要加readonly關(guān)鍵字?

            A:這個(gè)readonly關(guān)鍵字只是不希望客戶程序?qū)?/span>Instance字段設(shè)置為null等不合理的值。

            ________________________________________

            Qremoting里面的Singleton對象應(yīng)該是使用了Singleton模式吧

            A是的,.NET Remoting中的服務(wù)器對象激活中就使用了Singleton模式

            ________________________________________

            Q怎樣獲得類已經(jīng)構(gòu)造的實(shí)例的個(gè)數(shù)?

            A可以在實(shí)例構(gòu)造器中放一個(gè)靜態(tài)的字段,來表示計(jì)數(shù)器——在實(shí)例構(gòu)造器中每次做count++即可。

            ________________________________________

            Q怎樣區(qū)分各個(gè)模式,學(xué)了很久,總是搞不清楚他們之間的區(qū)別,經(jīng)常性的搞混

            A:區(qū)分模式的最好辦法是搞清楚為什么有這些模式,各個(gè)模式分別應(yīng)對什么樣的變化。

            ________________________________________

            Q當(dāng)好一個(gè)程序員必須要學(xué)好設(shè)計(jì)模式嗎?它在代碼編寫過程中有什么好處?怎樣可以學(xué)好設(shè)計(jì)模式?

            A:不一定,我了解的某些天才程序員對設(shè)計(jì)模式并不感興趣——主要是因?yàn)樗麄兪紫炔皇敲嫦驅(qū)ο蟪绦騿TJ但是學(xué)好設(shè)計(jì)模式對于一個(gè)面向?qū)ο蟪绦騿T有莫大幫助。學(xué)好設(shè)計(jì)模式的關(guān)鍵是深刻理解面向?qū)ο蟆?/span>

            ________________________________________

            Qlock 對于singleton本身的類使用使用 helper有什么區(qū)別

            A:本質(zhì)上沒什么區(qū)別,但是別忘了這時(shí)候Singleton對象還沒有創(chuàng)建J所以這時(shí)候不可能lock一個(gè)Singleton對象。

            ________________________________________

            Q我有一個(gè)疑問,在singleton設(shè)計(jì)模式下,什么時(shí)候,由誰來創(chuàng)建這個(gè)實(shí)例呢?

            ASingleton模式中的“緩式加載”已經(jīng)說明了Singleton的實(shí)例是在客戶程序第一次調(diào)用GetInstance方法時(shí)才會被創(chuàng)建。

            ________________________________________

            ?

            Q我大致的翻過設(shè)計(jì)模式這本書,我想請教下您,您認(rèn)為在設(shè)計(jì)一個(gè)很好的面向?qū)ο蟮能浖c程序語言的選擇(比如C#C++JAVA)二者之間怎么做到最好的搭配

            A:我個(gè)人認(rèn)為這三門語言都是很好的面向?qū)ο笳Z言,都能很充分地發(fā)揮面向?qū)ο蟮牧α俊T诿嫦驅(qū)ο髮哟紊希鼈兊牟顒e并不大。

            ________________________________________

            Q在多線程環(huán)境中,使用Static實(shí)例化一個(gè)對象后,那么它的實(shí)例的方法是否可以保證執(zhí)行時(shí)不致沖突?

            A:實(shí)例方法在多線程環(huán)境中無所謂沖突,關(guān)鍵是實(shí)例方法操作的實(shí)例數(shù)據(jù)——如果有的話——有可能沖突。

            posted on 2006-01-03 14:58 夢在天涯 閱讀(3980) 評論(15)  編輯 收藏 引用 所屬分類: Design pattern

            評論

            # re: 模式設(shè)計(jì)c#--創(chuàng)建型--Singleton 2006-04-20 13:45 夢在天涯

            sealed class Singleton
            {
            private Singleton();
            public static readonly Singleton Instance=new Singleton();
            }
            這使得代碼減少了許多,同時(shí)也解決了線程問題帶來的性能上損失。那么它又是怎樣工作的呢?

            注意到,Singleton類被聲明為sealed,以此保證它自己不會被繼承,其次沒有了Instance的方法,將原來_instance成員變量變成public readonly,并在聲明時(shí)被初始化。通過這些改變,我們確實(shí)得到了Singleton的模式,原因是在JIT的處理過程中,如果類中的static屬性被任何方法使用時(shí),.NET Framework將對這個(gè)屬性進(jìn)行初始化,于是在初始化Instance屬性的同時(shí)Singleton類實(shí)例得以創(chuàng)建和裝載。而私有的構(gòu)造函數(shù)和readonly(只讀)保證了Singleton不會被再次實(shí)例化,這正是Singleton設(shè)計(jì)模式的意圖。  回復(fù)  更多評論   

            # re: 模式設(shè)計(jì)c#--創(chuàng)建型--Singleton 2006-04-20 13:46 夢在天涯

            在什么情形下使用單例模式:
            使用Singleton模式有一個(gè)必要條件:在一個(gè)系統(tǒng)要求一個(gè)類只有一個(gè)實(shí)例時(shí)才應(yīng)當(dāng)使用單例模式。反過來,如果一個(gè)類可以有幾個(gè)實(shí)例共存,就不要使用單例模式。

            注意:

            不要使用單例模式存取全局變量。這違背了單例模式的用意,最好放到對應(yīng)類的靜態(tài)成員中。

            不要將數(shù)據(jù)庫連接做成單例,因?yàn)橐粋€(gè)系統(tǒng)可能會與數(shù)據(jù)庫有多個(gè)連接,并且在有連接池的情況下,應(yīng)當(dāng)盡可能及時(shí)釋放連接。Singleton模式由于使用靜態(tài)成員存儲類實(shí)例,所以可能會造成資源無法及時(shí)釋放,帶來問題。  回復(fù)  更多評論   

            # re: 模式設(shè)計(jì)c#--創(chuàng)建型--Singleton 2006-04-20 13:46 夢在天涯

            單例模式的特點(diǎn):

            單例類只能有一個(gè)實(shí)例。
            單例類必須自己創(chuàng)建自己的唯一實(shí)例。
            單例類必須給所有其它對象提供這一實(shí)例。
            單例模式應(yīng)用:

            每臺計(jì)算機(jī)可以有若干個(gè)打印機(jī),但只能有一個(gè)Printer Spooler,避免兩個(gè)打印作業(yè)同時(shí)輸出到打印機(jī)。
            一個(gè)具有自動(dòng)編號主鍵的表可以有多個(gè)用戶同時(shí)使用,但數(shù)據(jù)庫中只能有一個(gè)地方分配下一個(gè)主鍵編號。否則會出現(xiàn)主鍵重復(fù)。
              回復(fù)  更多評論   

            # re: 模式設(shè)計(jì)c#--創(chuàng)建型--Singleton 2010-02-27 13:35 Patrice20RHODES

            It is understandable that money makes us free. But what to do when somebody doesn't have money? The one way is to receive the <a href="http://lowest-rate-loans.com">loans</a> or collateral loan.   回復(fù)  更多評論   

            # re: 模式設(shè)計(jì)c#--創(chuàng)建型--Singleton 2010-08-02 02:52 writing for money

            Some people must not miss to read referring to this topic. Anybody should determine the Freelance writing job service online.   回復(fù)  更多評論   

            # re: 模式設(shè)計(jì)c#--創(chuàng)建型--Singleton 2010-10-07 10:32 loan

            That's known that cash makes us autonomous. But what to do when one doesn't have money? The one way only is to receive the home loans and just commercial loan.   回復(fù)  更多評論   

            # re: 模式設(shè)計(jì)c#--創(chuàng)建型--Singleton 2013-03-24 23:32 click here

            Are you in need of professional CV writing services? Still don’t know which company to choose for buying resume? Click here (resumesleader.com). Here it is possible to view cover letter samples or buy CV from expert resume writers.  回復(fù)  更多評論   

            # re: 模式設(shè)計(jì)c#--創(chuàng)建型--Singleton 2013-05-23 04:11 Web page

            Go to Perfect-resume company if you need professional CV writing services. After dealing with this dependable writing agency, you will be aware of where to buy resume paper and where to glance over resume templates. Catch the moment, buy resume of superior quality from certified resume writers.  回復(fù)  更多評論   

            # re: 模式設(shè)計(jì)c#--創(chuàng)建型--Singleton 2013-05-23 05:37 over here

            When it is difficult for you to resolve what agency to reach, talk to your friends who also like to find useful resume writing tips "resumesleader.com".  回復(fù)  更多評論   

            公告

            EMail:itech001#126.com

            導(dǎo)航

            統(tǒng)計(jì)

            • 隨筆 - 461
            • 文章 - 4
            • 評論 - 746
            • 引用 - 0

            常用鏈接

            隨筆分類

            隨筆檔案

            收藏夾

            Blogs

            c#(csharp)

            C++(cpp)

            Enlish

            Forums(bbs)

            My self

            Often go

            Useful Webs

            Xml/Uml/html

            搜索

            •  

            積分與排名

            • 積分 - 1804159
            • 排名 - 5

            最新評論

            閱讀排行榜

            99国内精品久久久久久久| 亚洲AⅤ优女AV综合久久久| 久久国产热这里只有精品| 97精品依人久久久大香线蕉97 | 国产韩国精品一区二区三区久久| 品成人欧美大片久久国产欧美...| 久久亚洲精品无码VA大香大香| 久久免费小视频| 麻豆AV一区二区三区久久| 亚洲&#228;v永久无码精品天堂久久 | 亚洲国产高清精品线久久 | 国内精品伊人久久久久777| 伊人热人久久中文字幕| 久久精品中文騷妇女内射| 性高湖久久久久久久久AAAAA| 人人狠狠综合久久亚洲婷婷| 久久青青草原精品国产| 国产偷久久久精品专区| 久久综合久久综合亚洲| 久久露脸国产精品| 精品无码久久久久久久久久| 久久这里只有精品首页| 99久久成人国产精品免费| 久久人爽人人爽人人片AV| 国内精品久久久久久久久电影网| 色婷婷久久久SWAG精品| 久久青青草原精品国产不卡| 久久国产视频网| 久久有码中文字幕| 久久人人爽人爽人人爽av| 欧美午夜A∨大片久久 | 久久精品国产只有精品2020| 丰满少妇高潮惨叫久久久| 999久久久免费精品国产| 久久久久人妻精品一区| 国产成人久久AV免费| WWW婷婷AV久久久影片| 狠狠狠色丁香婷婷综合久久五月| 91久久精品91久久性色| 97精品伊人久久久大香线蕉| 国产巨作麻豆欧美亚洲综合久久|