Searched refs:sort_comp (Results 1 – 2 of 2) sorted by relevance
/external/lua/src/ |
D | ltablib.c | 273 static int sort_comp (lua_State *L, int a, int b) { in sort_comp() function 302 while ((void)lua_geti(L, 1, ++i), sort_comp(L, -1, -2)) { in partition() 309 while ((void)lua_geti(L, 1, --j), sort_comp(L, -3, -1)) { in partition() 351 if (sort_comp(L, -1, -2)) /* a[up] < a[lo]? */ in auxsort() 363 if (sort_comp(L, -2, -1)) /* a[p] < a[lo]? */ in auxsort() 368 if (sort_comp(L, -1, -2)) /* a[up] < a[p]? */ in auxsort()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | dynamic_padder.cc | 1233 HloComputation* sort_comp = sort->parent()->parent()->AddEmbeddedComputation( in RewriteDynamicSort() local 1239 sort_comp->parameter_instruction(param_number_before_rewritten); in RewriteDynamicSort() 1241 sort_comp->parameter_instruction(param_number_before_rewritten + 1); in RewriteDynamicSort() 1243 [&](HloComputation* comp) { return sort_comp; }); in RewriteDynamicSort() 1248 auto out_of_bound_rhs = sort_comp->AddInstruction(HloInstruction::CreateUnary( in RewriteDynamicSort() 1251 sort_comp->AddInstruction(HloInstruction::CreateBinary( in RewriteDynamicSort() 1253 sort_comp->root_instruction(), out_of_bound_rhs)); in RewriteDynamicSort() 1255 auto new_root = sort_comp->AddInstruction(HloInstruction::CreateBinary( in RewriteDynamicSort() 1258 sort_comp->set_root_instruction(new_root); in RewriteDynamicSort()
|