CloneSet585


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.963block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112162
src/NHibernate/Engine/Query/NativeSQLQueryPlan.cs
2121707
src/NHibernate/Loader/Loader.cs
Clone Instance
1
Line Count
12
Source Line
162
Source File
src/NHibernate/Engine/Query/NativeSQLQueryPlan.cs

                {
                        SqlType[] result = new SqlType[totalSpan];

                        int index = 0;
                        foreach (IType type in nhTypes)
                        {
                                int span = type.SqlTypes(session.Factory).Length;
                                Array.Copy(type.SqlTypes(session.Factory), 0, result, index, span);
                                index += span;
                        }

                        return result;
                }


Clone Instance
2
Line Count
12
Source Line
1707
Source File
src/NHibernate/Loader/Loader.cs

                {
                        SqlType[] result = new SqlType[totalSpan];

                        int index = 0;
                        foreach (IType type in nhTypes)
                        {
                                int span = type.SqlTypes(Factory).Length;
                                Array.Copy(type.SqlTypes(Factory), 0, result, index, span);
                                index += span;
                        }

                        return result;
                }


Clone AbstractionParameter Count: 1Parameter Bindings

{
   SqlType[] result = new SqlType[totalSpan];
   int index = 0;
   foreach (IType type in nhTypes)
   {
      int span = type.SqlTypes( [[#variable2a9f9140]]).Length;
      Array.Copy(type.SqlTypes( [[#variable2a9f9140]]), 0, result, index, span);
      index += span;
   }
   return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2a9f9140]]
Factory 
12[[#2a9f9140]]
session.Factory