]> xenbits.xensource.com Git - people/royger/xen-test-framework.git/commit
Provide a heapsort() implementation
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 17 Dec 2015 11:20:36 +0000 (11:20 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 22 Dec 2015 20:46:44 +0000 (20:46 +0000)
commit8d079026e99bdd997b0c5160db8c06696af153d1
tree2e4adf806fa9b4f14f99d3b1b531bf61817be6f1
parentfb4d14985fb9ad7fe81a0f7c87ddab83cd1c7a46
Provide a heapsort() implementation

Modelled after qsort() in the C standard library.  Sorts in place.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
build/files.mk
common/heapsort.c [new file with mode: 0644]
include/xtf/lib.h
selftests/Makefile
selftests/heapsort.c [new file with mode: 0644]