code: private static int indexMiddle(
  		BinaryString pattern, MemorySegment[] segments, int start, int len) {
  		return SegmentsUtil.find(
  				segments, start, len,
  				pattern.getSegments(), pattern.getOffset(), pattern.getSizeInBytes());
  	}
docs: Matches the middle of each string to its pattern.
  @return Returns absolute offset of the match.