public static int hash ( MemorySegment [ ] segments , int offset , int numBytes ) { if ( inFirstSegment ( segments , offset , numBytes ) ) { return MurmurHashUtil . hashBytes ( segments [ 0 ] , offset , numBytes ) ; } else { return hashMultiSeg ( segments , offset , numBytes ) ; } }
hash segments to int .