offset, index and tag calculations
is_hit check