Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 1 | 0.993 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 38 | src/NHibernate/Util/SimpleMRUCache.cs |
2 | 16 | 53 | 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) { cache = new LRUMap(strongReferenceCount); } |
| ||||
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); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2cd42ae0]] | strongReferenceCache |
1 | 2 | [[#2cd42ae0]] | cache |