Searched refs:middleIndex (Results 1 – 6 of 6) sorted by relevance
409 int64_t middleIndex = (beginIndex + endIndex) / 2; // 2 : half in Sort() local411 … ObjectFastOperator::FastGetPropertyByIndex<true>(thread, obj.GetTaggedValue(), middleIndex)); in Sort()416 endIndex = middleIndex; in Sort()418 beginIndex = middleIndex + 1; in Sort()
421 int middleIndex = 0; in Sort() local428 middleIndex = (beginIndex + endIndex) / 2; // 2 : half in Sort()429 middleValue.Update(taggedList->GetElement(nodeIndexMapToDataIndex[middleIndex])); in Sort()433 endIndex = middleIndex; in Sort()435 beginIndex = middleIndex + 1; in Sort()
1415 uint32_t middleIndex = beginIndex + (endIndex - beginIndex) / 2; // 2 : half in Sort() local1416 key1.Update(JSTaggedValue(middleIndex)); in Sort()1423 compareResult > 0 ? (endIndex = middleIndex) : (beginIndex = middleIndex + 1); in Sort()1694 uint32_t middleIndex = beginIndex + (endIndex - beginIndex) / 2; // 2 : half in ToSorted() local1695 key1.Update(JSTaggedValue(middleIndex)); in ToSorted()1702 compareResult > 0 ? (endIndex = middleIndex) : (beginIndex = middleIndex + 1); in ToSorted()
2235 int middleIndex = (beginIndex + endIndex) / 2; // 2 : half in Sort() local2237 …ctFastOperator::FastGetPropertyByIndex<true>(thread, thisObjHandle.GetTaggedValue(), middleIndex)); in Sort()2242 endIndex = middleIndex; in Sort()2244 beginIndex = middleIndex + 1; in Sort()
771 uint32_t middleIndex = (beginIndex + endIndex) / 2; // 2 : half in Sort() local772 middleValue.Update(elements->Get(middleIndex)); in Sort()776 endIndex = middleIndex; in Sort()778 beginIndex = middleIndex + 1; in Sort()
594 uint32_t middleIndex = (beginIndex + endIndex) / 2; // 2 : half in Sort() local595 middleValue.Update(elements->Get(middleIndex)); in Sort()600 endIndex = middleIndex; in Sort()602 beginIndex = middleIndex + 1; in Sort()