CloneSet1232


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16210.993class_member_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11638
src/NHibernate/Util/SimpleMRUCache.cs
21653
src/NHibernate/Util/SoftLimitMRUCache.cs
Clone Instance
1
Line Count
16
Source Line
38
Source File
src/NHibernate/Util/SimpleMRUCache.cs

                private object SyncRoot
                {
                        get
                        {
                                if (_syncRoot == null)
                                        Interlocked.CompareExchange( ref _syncRoot, new object(), null);

                                return _syncRoot;
                        }
                }

                #region IDeserializationCallback Members

                void IDeserializationCallback.OnDeserialization(object sender)
                {
                        cache = new LRUMap(strongReferenceCount);
                }



Clone Instance
2
Line Count
16
Source Line
53
Source File
src/NHibernate/Util/SoftLimitMRUCache.cs

                private object SyncRoot
                {
                        get
                        {
                                if (_syncRoot == null)
                                        Interlocked.CompareExchange( ref _syncRoot, new object(), null);

                                return _syncRoot;
                        }
                }

                #region IDeserializationCallback Members

                void IDeserializationCallback.OnDeserialization(object sender)
                {
                        strongReferenceCache = new LRUMap(strongReferenceCount);
                }



Clone AbstractionParameter Count: 1Parameter Bindings

private object SyncRoot
{
   get
   {
      if (_syncRoot == null)
         Interlocked.CompareExchange( ref _syncRoot, new object(), null);
      return _syncRoot;
   }
}

#region IDeserializationCallback Members
void IDeserializationCallback.OnDeserialization(object sender)
{
    [[#variable2cd42ae0]]= new LRUMap(strongReferenceCount);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2cd42ae0]]
strongReferenceCache 
12[[#2cd42ae0]]
cache