Based on the Heap Sort code in 'Numerical Recipes in C' by William H. Press, Brian P. Flannery, Saul A. Teukolsky, and William T. Vetterling, Cambridge University Press, 1990, ISBN 0-521-35465-X. The MIPS rating is based upon the program run time (runtime) for one iteration and a gcc 2.1 unoptimized (gcc -DUNIX) assembly dump count of instructions per iteration for a i486 machine (assuming 80386 code). This is the reference used. The maximum amount of memory allocated is based on the 'imax' variable in main(). Memory size = (2000*sizeof(long))*2^imax. imax is currently set to 8, but this value may be increased or decreased depending upon your system memory limits. For standard Intel PC CPU machines a value of imax = 3 must be used else your system may crash or hang up despite code in the program to prevent this.
OS | Architecture | Version |
---|---|---|
NetBSD 10.0 | aarch64 | heapsort-1.0.tgz |
NetBSD 10.0 | aarch64 | heapsort-1.0.tgz |
NetBSD 10.0 | aarch64eb | heapsort-1.0.tgz |
NetBSD 10.0 | aarch64eb | heapsort-1.0.tgz |
NetBSD 10.0 | alpha | heapsort-1.0.tgz |
NetBSD 10.0 | alpha | heapsort-1.0.tgz |
NetBSD 10.0 | earmv6hf | heapsort-1.0.tgz |
NetBSD 10.0 | earmv6hf | heapsort-1.0.tgz |
NetBSD 10.0 | earmv6hf | heapsort-1.0.tgz |
NetBSD 10.0 | earmv7hf | heapsort-1.0.tgz |
NetBSD 10.0 | earmv7hf | heapsort-1.0.tgz |
NetBSD 10.0 | earmv7hf | heapsort-1.0.tgz |
NetBSD 10.0 | i386 | heapsort-1.0.tgz |
NetBSD 10.0 | i386 | heapsort-1.0.tgz |
NetBSD 10.0 | powerpc | heapsort-1.0.tgz |
NetBSD 10.0 | powerpc | heapsort-1.0.tgz |
NetBSD 10.0 | powerpc | heapsort-1.0.tgz |
NetBSD 10.0 | sh3el | heapsort-1.0.tgz |
NetBSD 10.0 | sh3el | heapsort-1.0.tgz |
NetBSD 10.0 | sparc64 | heapsort-1.0.tgz |
NetBSD 10.0 | sparc64 | heapsort-1.0.tgz |
NetBSD 10.0 | sparc | heapsort-1.0.tgz |
NetBSD 10.0 | sparc | heapsort-1.0.tgz |
NetBSD 10.0 | vax | heapsort-1.0.tgz |
NetBSD 10.0 | vax | heapsort-1.0.tgz |
NetBSD 10.0 | vax | heapsort-1.0.tgz |
NetBSD 10.0 | x86_64 | heapsort-1.0.tgz |
NetBSD 10.0 | x86_64 | heapsort-1.0.tgz |
NetBSD 9.0 | aarch64 | heapsort-1.0.tgz |
NetBSD 9.0 | aarch64 | heapsort-1.0.tgz |
NetBSD 9.0 | alpha | heapsort-1.0.tgz |
NetBSD 9.0 | alpha | heapsort-1.0.tgz |
NetBSD 9.0 | earmv4 | heapsort-1.0.tgz |
NetBSD 9.0 | earmv6hf | heapsort-1.0.tgz |
NetBSD 9.0 | earmv6hf | heapsort-1.0.tgz |
NetBSD 9.0 | earmv6hf | heapsort-1.0.tgz |
NetBSD 9.0 | earmv7hf | heapsort-1.0.tgz |
NetBSD 9.0 | earmv7hf | heapsort-1.0.tgz |
NetBSD 9.0 | earmv7hf | heapsort-1.0.tgz |
NetBSD 9.0 | i386 | heapsort-1.0.tgz |
NetBSD 9.0 | i386 | heapsort-1.0.tgz |
NetBSD 9.0 | m68k | heapsort-1.0.tgz |
NetBSD 9.0 | powerpc | heapsort-1.0.tgz |
NetBSD 9.0 | powerpc | heapsort-1.0.tgz |
NetBSD 9.0 | powerpc | heapsort-1.0.tgz |
NetBSD 9.0 | sparc64 | heapsort-1.0.tgz |
NetBSD 9.0 | sparc64 | heapsort-1.0.tgz |
NetBSD 9.0 | x86_64 | heapsort-1.0.tgz |
NetBSD 9.0 | x86_64 | heapsort-1.0.tgz |
NetBSD 9.3 | x86_64 | heapsort-1.0.tgz |
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.