Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 4 | 1 | 0.961 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 120 | src/NHibernate/Util/ArrayHelper.cs |
2 | 6 | 128 | src/NHibernate/Util/ArrayHelper.cs |
3 | 6 | 136 | src/NHibernate/Util/ArrayHelper.cs |
4 | 6 | 144 | src/NHibernate/Util/ArrayHelper.cs |
| ||||
public static string[] Join(string[] x, string[] y) { string[] result = new string[x.Length + y.Length]; Array.Copy(x, 0, result, 0, x.Length); Array.Copy(y, 0, result, x.Length, y.Length); return result; } |
| ||||
public static DbType[] Join(DbType[] x, DbType[] y) { DbType[] result = new DbType[x.Length + y.Length]; Array.Copy(x, 0, result, 0, x.Length); Array.Copy(y, 0, result, x.Length, y.Length); return result; } |
| ||||
public static SqlType[] Join(SqlType[] x, SqlType[] y) { SqlType[] result = new SqlType[x.Length + y.Length]; Array.Copy(x, 0, result, 0, x.Length); Array.Copy(y, 0, result, x.Length, y.Length); return result; } |
| ||||
public static object[] Join(object[] x, object[] y) { object[] result = new object[x.Length + y.Length]; Array.Copy(x, 0, result, 0, x.Length); Array.Copy(y, 0, result, x.Length, y.Length); return result; } |
| |||
public static [[#variable54a84aa0]][] Join( [[#variable54a84aa0]][] x, [[#variable54a84aa0]][] y) { [[#variable54a84aa0]][] result = new [[#variable54a84aa0]][x.Length + y.Length]; Array.Copy(x, 0, result, 0, x.Length); Array.Copy(y, 0, result, x.Length, y.Length); return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54a84aa0]] | string |
1 | 2 | [[#54a84aa0]] | SqlType |
1 | 3 | [[#54a84aa0]] | object |
1 | 4 | [[#54a84aa0]] | DbType |