docs: private static int getHashCode(String buf) {
          int hash = 5381;
          int len = buf.length();
  
          while (len-- > 0) {
              hash = ((hash << 5) + hash) + buf.charAt(len);
          }
          return hash;
      }