Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.957 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 317 | src/NHibernate/Util/LinkedHashMap.cs |
2 | 6 | 152 | src/NHibernate/Util/SequencedHashMap.cs |
| ||||
#endregion private static Entry CreateSentinel() { Entry s = new Entry( default (TKey), default (TValue)); s.Prev = s; s.Next = s; return s; } |
| ||||
/// <summary> /// Construct an empty sentinel used to hold the head (sentinel.next) and the tail (sentinal.prev) /// of the list. The sentinal has a <see langword="null" /> key and value /// </summary> /// <returns></returns> private static Entry CreateSentinel() { Entry s = new Entry(null, null); s.Prev = s; s.Next = s; return s; } |
| |||
#endregion /// <summary> /// Construct an empty sentinel used to hold the head (sentinel.next) and the tail (sentinal.prev) /// of the list. The sentinal has a <see langword="null" /> key and value /// </summary> /// <returns></returns> private static Entry CreateSentinel() { Entry s = new Entry( [[#variable2bfb0480]], [[#variable2bfb0400]]); s.Prev = s; s.Next = s; return s; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2bfb0480]] | default (TKey) |
1 | 2 | [[#2bfb0480]] | null |
2 | 1 | [[#2bfb0400]] | default (TValue) |
2 | 2 | [[#2bfb0400]] | null |