pub fn hash_name(name: &[u8], intl: bool) -> usize
Compute hash value for a name.
This implements the Amiga filename hashing algorithm.