mirror of
https://github.com/TheAlgorithms/C
synced 2024-12-04 19:21:54 +03:00
Documentation for f851fbbe2f
This commit is contained in:
parent
0bdcabc1fd
commit
b81cf7e70d
@ -241,10 +241,10 @@ Here is the call graph for this function:</div>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<div class="fragment"><div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span>{</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keywordflow">while</span> (i > 0 && arr[i / 2] < arr[i])</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keywordflow">while</span> (i > 0 && arr[(i - 1) / 2] < arr[i])</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> {</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <a class="code hl_function" href="../../de/dff/heap__sort__2_8c.html#aaf68497ab808b560dbf109da6435905a">swap</a>(&arr[i / 2], &arr[i]);</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> i /= 2;</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <a class="code hl_function" href="../../de/dff/heap__sort__2_8c.html#aaf68497ab808b560dbf109da6435905a">swap</a>(&arr[(i - 1) / 2], &arr[i]);</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> i = (i - 1) / 2;</div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> }</div>
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span>}</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
|
Loading…
Reference in New Issue
Block a user