CloneSet50


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000statement_seq[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11052
InclusionConstraintGraph/SetOfTranslationUnits.h
21094
InclusionConstraintGraph/SetOfTranslationUnits.h
Clone Instance
1
Line Count
10
Source Line
52
Source File
InclusionConstraintGraph/SetOfTranslationUnits.h

                                std::size_t max = m_translation_units->size() -1;
                                while (min < max) {
                                        std::size_t mid = (min + max) / 2;
                                        if ((*m_translation_units)[mid] < n) {
                                                min = mid +1;
                                                                             }
                                        else   {
                                                max = mid;
                                               }
                                                  }
                                assert(min == max);


Clone Instance
2
Line Count
10
Source Line
94
Source File
InclusionConstraintGraph/SetOfTranslationUnits.h

                                std::size_t max = m_translation_units->size() -1;
                                while (min < max) {
                                        std::size_t mid = (min + max) / 2;
                                        if ((*m_translation_units)[mid] < n) {
                                                min = mid +1;
                                                                             }
                                        else   {
                                                max = mid;
                                               }
                                                  }
                                assert(min == max);


Clone AbstractionParameter Count: 0Parameter Bindings

std::size_t max = m_translation_units->size() - 1;
while (min < max)
  {
    std::size_t mid = (min + max) / 2;
    if ((*m_translation_units)[mid] < n)
      {
        min = mid + 1;
      }
    else
      {
        max = mid;
      }
  }
assert(min == max);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None