*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
{
heap_raw_insert(heap, node, priority);
float_up(heap, node->idx);
{
heap_raw_insert(heap, node, priority);
float_up(heap, node->idx);
{
heap_raw_change(node, priority);
float_up_or_down(heap, node->idx);
{
heap_raw_change(node, priority);
float_up_or_down(heap, node->idx);