This function returns one of the following values:
hint plus 1 if the value is found
-1 if NULL, or if a value at hint is not found