HomeSort by relevance Sort by last modified time
    Searched refs:scapegoat (Results 1 - 3 of 3) sorted by null

  /external/deqp-deps/SPIRV-Tools/source/comp/
move_to_front.cpp 310 // If |node| has two children, then use another node as scapegoat and swap
311 // their contents. We pick the scapegoat on the side of the tree which has
313 const uint32_t scapegoat = SizeOf(LeftOf(node)) >= SizeOf(RightOf(node)) local
316 assert(scapegoat);
317 std::swap(MutableValueOf(node), MutableValueOf(scapegoat));
318 std::swap(MutableTimestampOf(node), MutableTimestampOf(scapegoat));
320 value_to_node_[ValueOf(scapegoat)] = scapegoat;
321 node = scapegoat;
  /external/swiftshader/third_party/SPIRV-Tools/source/comp/
move_to_front.cpp 310 // If |node| has two children, then use another node as scapegoat and swap
311 // their contents. We pick the scapegoat on the side of the tree which has
313 const uint32_t scapegoat = SizeOf(LeftOf(node)) >= SizeOf(RightOf(node)) local
316 assert(scapegoat);
317 std::swap(MutableValueOf(node), MutableValueOf(scapegoat));
318 std::swap(MutableTimestampOf(node), MutableTimestampOf(scapegoat));
320 value_to_node_[ValueOf(scapegoat)] = scapegoat;
321 node = scapegoat;
  /external/golang-protobuf/jsonpb/
jsonpb.go 979 // Pick any field to be the scapegoat.
    [all...]

Completed in 250 milliseconds