### Question:
AsciiBuffer implements CharSequence { @Override public int hashCode() { int h = hash; if (h == 0) { hash = h = hashCodeAscii(buffer, buffer.readerIndex(), buffer.readableBytes()); } return h; } AsciiBuffer(Buffer buffer); @Override int length(); @Override char charAt(int index); @Override CharSequence subSequence(int start, int end); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString();  }### Answer:
@Test public void testHashCode() { for (int i = 0; i < 1000; ++i) { StringBuilder sb = new StringBuilder(i); for (int x = 0; x < i; ++x) { sb.append((char) ThreadLocalRandom.current().nextInt(32, 126)); } verifyCaseInsensitive(sb.toString()); } }