Lines Matching refs:hash
508 private transient int hash; // Zero ==> undefined
651 * <li><p> Finally, if a fragment is given then a hash character
726 * <li><p> Finally, if a fragment is given then a hash character
808 * <li><p> Finally, if a fragment is given then a hash character
1439 // -- Equality, comparison, hash code, toString, and serialization --
1514 * Returns a hash-code value for this URI. The hash code is based upon all
1518 * @return A hash-code value for this URI
1521 int h = hash;
1524 h = hash(h, fragment);
1526 h = hash(h, schemeSpecificPart);
1528 h = hash(h, path);
1529 h = hash(h, query);
1531 h = hash(h, userInfo);
1535 h = hash(h, authority);
1539 hash = h;
1863 private static int hash(int hash, String s) {
1864 if (s == null) return hash;
1865 return s.indexOf('%') < 0 ? hash * 127 + s.hashCode()
1866 : normalizedHash(hash, s);
1870 private static int normalizedHash(int hash, String s) {
1884 return hash * 127 + h;
1888 private static int hashIgnoringCase(int hash, String s) {
1889 if (s == null) return hash;
1890 int h = hash;