SMC.HASH - compute smc "hash" bucket for a given userid.

Usage:

B:
   bucket = smc.hash( userid );
C:
   #equate smc_hash smc.hash
   int smc_hash(int *userid);

Where:

userid
is a two-word vector containing the userid to be hashed in BCD with trailing blanks.
bucket
is returned as the System Master catalog hash bucket number of the given userid. This is a number in the range from zero to 31 inclusive.

Description:

SMC.HASH obtains the SMC "hash" bucket for the given userid.

Copyright © 1996, Thinkage Ltd.