The program mph tries to generate an order preserving minimal perfect hashing (MPH) function for the set of keys, one per line, on stdin. Each key can be at most 4095 characters long (see keys.h to increase this limit), and the keys must be unique. If mph terminates, it emits a language independent binary or text representation of the MPH function on stdout. To generate a usable hash function, this output should be fed to a language dependent filter, like emitc. e.g. % mphhash.c The algorithm used by mph is probabilistic - it iterates until it finds a MPH function. For each failed iteration, it prints a (cryptic) reason on stderr. There is no no guarantee that mph will terminate. In practice this is unlikely, unless the constants specified with options -c or -m are too small (see below).
OS | Architecture | Version |
---|---|---|
NetBSD 10.0 | aarch64 | mph-1.2.tgz |
NetBSD 10.0 | aarch64 | mph-1.2.tgz |
NetBSD 10.0 | aarch64eb | mph-1.2.tgz |
NetBSD 10.0 | aarch64eb | mph-1.2.tgz |
NetBSD 10.0 | alpha | mph-1.2.tgz |
NetBSD 10.0 | alpha | mph-1.2.tgz |
NetBSD 10.0 | earmv4 | mph-1.2.tgz |
NetBSD 10.0 | earmv4 | mph-1.2.tgz |
NetBSD 10.0 | earmv6hf | mph-1.2.tgz |
NetBSD 10.0 | earmv6hf | mph-1.2.tgz |
NetBSD 10.0 | earmv6hf | mph-1.2.tgz |
NetBSD 10.0 | earmv7hf | mph-1.2.tgz |
NetBSD 10.0 | earmv7hf | mph-1.2.tgz |
NetBSD 10.0 | earmv7hf | mph-1.2.tgz |
NetBSD 10.0 | i386 | mph-1.2.tgz |
NetBSD 10.0 | i386 | mph-1.2.tgz |
NetBSD 10.0 | powerpc | mph-1.2.tgz |
NetBSD 10.0 | powerpc | mph-1.2.tgz |
NetBSD 10.0 | powerpc | mph-1.2.tgz |
NetBSD 10.0 | sh3el | mph-1.2.tgz |
NetBSD 10.0 | sh3el | mph-1.2.tgz |
NetBSD 10.0 | sparc64 | mph-1.2.tgz |
NetBSD 10.0 | sparc64 | mph-1.2.tgz |
NetBSD 10.0 | sparc | mph-1.2.tgz |
NetBSD 10.0 | sparc | mph-1.2.tgz |
NetBSD 10.0 | vax | mph-1.2.tgz |
NetBSD 10.0 | vax | mph-1.2.tgz |
NetBSD 10.0 | vax | mph-1.2.tgz |
NetBSD 10.0 | x86_64 | mph-1.2.tgz |
NetBSD 10.0 | x86_64 | mph-1.2.tgz |
NetBSD 9.0 | aarch64 | mph-1.2.tgz |
NetBSD 9.0 | aarch64 | mph-1.2.tgz |
NetBSD 9.0 | alpha | mph-1.2.tgz |
NetBSD 9.0 | alpha | mph-1.2.tgz |
NetBSD 9.0 | earmv6hf | mph-1.2.tgz |
NetBSD 9.0 | earmv6hf | mph-1.2.tgz |
NetBSD 9.0 | earmv6hf | mph-1.2.tgz |
NetBSD 9.0 | earmv7hf | mph-1.2.tgz |
NetBSD 9.0 | earmv7hf | mph-1.2.tgz |
NetBSD 9.0 | earmv7hf | mph-1.2.tgz |
NetBSD 9.0 | i386 | mph-1.2.tgz |
NetBSD 9.0 | i386 | mph-1.2.tgz |
NetBSD 9.0 | m68k | mph-1.2.tgz |
NetBSD 9.0 | powerpc | mph-1.2.tgz |
NetBSD 9.0 | powerpc | mph-1.2.tgz |
NetBSD 9.0 | powerpc | mph-1.2.tgz |
NetBSD 9.0 | sparc64 | mph-1.2.tgz |
NetBSD 9.0 | x86_64 | mph-1.2.tgz |
NetBSD 9.0 | x86_64 | mph-1.2.tgz |
NetBSD 9.3 | x86_64 | mph-1.2.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.