/openjdk10/hotspot/src/share/vm/classfile/ |
H A D | packageEntry.cpp | 199 PackageEntry* PackageEntryTable::new_entry(unsigned int hash, Symbol* name, ModuleEntry* module) { argument 201 PackageEntry* entry = (PackageEntry*)Hashtable<Symbol*, mtModule>::allocate_new_entry(hash, name);
|
H A D | systemDictionary.cpp | 1814 InstanceKlass* SystemDictionary::find_class(int index, unsigned int hash, argument 1818 return dictionary->find_class(index, hash, class_name); 1833 // Precalculating the hash and index is an optimization because there are many lookups 2396 unsigned int hash = resolution_errors()->compute_hash(pool, which); local 2397 int index = resolution_errors()->hash_to_index(hash); 2400 resolution_errors()->add_entry(index, hash, pool, which, error, message); 2412 unsigned int hash = resolution_errors()->compute_hash(pool, which); local 2413 int index = resolution_errors()->hash_to_index(hash); 2416 ResolutionErrorEntry* entry = resolution_errors()->find_entry(index, hash, pool, which); 2508 unsigned int hash local 2648 unsigned int hash = invoke_method_table()->compute_hash(signature, null_iid); local [all...] |
H A D | moduleEntry.hpp | 209 ModuleEntry* new_entry(unsigned int hash, Handle module_handle, bool is_open,
|
H A D | stringTable.hpp | 48 // Set if one bucket is out of balance due to hash algorithm deficiency 59 static oop lookup_shared(jchar* name, int len, unsigned int hash); 72 // Hashing algorithm, used as the hash value used by the
|
H A D | altHashing.cpp | 32 // Get the hash code of the classes mirror if it exists, otherwise just 33 // return a random number, which is one of the possible hash code used for 34 // objects. We don't want to call the synchronizer hash code to install 37 intptr_t hc = k->java_mirror()->mark()->hash(); 41 // Seed value used for each alternative hash calculated. 111 // finalization mix force all bits of a hash block to avalanche 159 // finalization mix force all bits of a hash block to avalanche 195 // finalization mix force all bits of a hash block to avalanche
|
/openjdk10/hotspot/src/share/vm/opto/ |
H A D | divnode.hpp | 153 virtual uint hash() const { return Node::hash(); } function in class:DivModNode
|
/openjdk10/jdk/src/java.base/share/classes/java/util/zip/ |
H A D | ZipFile.java | 887 // keep the name in memory, but merely remember a 32 bit {@code hash} value of the 891 // int hash; // 32 bit hashcode on name 892 // int next; // hash chain: index into entries 898 // {@code hash}, {@code next and {@code "pos for each entry. The entry can then be 902 private int addEntry(int index, int hash, int next, int pos) { argument 903 entries[index++] = hash; 914 private int tablelen; // number of hash heads 1052 private static final int hash_append(int hash, byte b) { argument 1053 return hash * 31 + b; 1186 // hash tabl [all...] |
/openjdk10/jdk/src/java.rmi/share/classes/sun/rmi/transport/ |
H A D | StreamRemoteCall.java | 60 public StreamRemoteCall(Connection c, ObjID id, int op, long hash) argument 75 out.writeLong(hash); // stub/skeleton hash
|
/openjdk10/jdk/src/java.rmi/share/classes/sun/rmi/registry/ |
H A D | RegistryImpl_Skel.java | 59 public void dispatch(java.rmi.Remote obj, java.rmi.server.RemoteCall call, int opnum, long hash) argument 61 if (hash != interfaceHash) 62 throw new java.rmi.server.SkeletonMismatchException("interface hash mismatch");
|
/openjdk10/jdk/test/java/util/Objects/ |
H A D | BasicObjectsTest.java | 113 errors += ((Objects.hash((Object[])null) == 0) ? 0 : 1); 115 errors += (Objects.hash("perfect", "ham", "THC") ==
|
/openjdk10/jdk/test/java/util/Map/ |
H A D | MapBinToFromTreeTest.java | 195 this(value, hash(value)); 203 static int hash(int i) { method in class:MapBinToFromTreeTest.HashCodeInteger
|
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/util/ |
H A D | XMLAttributesImpl.java | 56 /** Maximum hash collisions per bucket. */ 98 * Tracks whether each chain in the hash table is stale 116 * Array of randomly selected hash function multipliers or <code>null</code> 274 // Select a new hash function and rehash the table view 807 // If the list is large check duplicates using a hash table. 854 // Select a new hash function and rehash the table view 919 return (hash(qname) & 0x7FFFFFFF) % fTableViewBuckets; 933 return (hash(localpart) & 0x7FFFFFFF) % fTableViewBuckets; 936 return (hash(localpart, uri) & 0x7FFFFFFF) % fTableViewBuckets; 940 private int hash(Strin method in class:XMLAttributesImpl 947 private int hash(String localpart, String uri) { method in class:XMLAttributesImpl [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/sun/font/ |
H A D | GlyphLayout.java | 278 private final int hash; field in class:GlyphLayout.SDCache.SDKey 283 this.hash = font.hashCode() ^ frc.hashCode(); 287 return hash; 294 hash == rhs.hash &&
|
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ast/ |
H A D | CClassNode.java | 114 int hash = 0; 115 hash += ctype; 117 hash++; 119 return hash + (hash >> 5);
|
/openjdk10/jdk/src/java.base/share/classes/java/util/ |
H A D | Locale.java | 824 private final int hash; field in class:Locale.LocaleKey 830 // Calculate the hash value here because it's always used. 835 hash = h; 847 if (hash != other.hash || !base.equals(other.base)) { 858 return hash; 2944 private volatile int hash; field in class:Locale.LanguageRange 3199 * Returns a hash code value for the object. 3201 * @return a hash code value for this object. 3205 int h = hash; [all...] |
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/ |
H A D | DocCommentParser.java | 451 int hash = sig.indexOf("#"); 452 int lparen = sig.indexOf("(", hash + 1); 453 if (hash == -1) { 462 qualExpr = (hash == 0) ? null : parseType(sig.substring(0, hash)); 464 member = parseMember(sig.substring(hash + 1)); 466 member = parseMember(sig.substring(hash + 1, lparen));
|
/openjdk10/hotspot/src/share/vm/libadt/ |
H A D | dict.cpp | 35 // String hash tables 49 // The dictionary is kept has a hash table. The hash table is a even power 50 // of two, for nice modulo operations. Each bucket in the hash table points 52 // The list starts with a count. A hash lookup finds the list head, then a 54 // doubled in size; the total amount of EXTRA times all hash functions are 121 // Double hash table size. If can't do so, just suffer. If can, then run 122 // thru old hash table, moving things to new table. Note that since hash 154 // Don't increment j, hash compacte 204 uint hash = _hash( key ); // Get hash key local [all...] |
H A D | vectset.hpp | 102 int hash() const; // Hash function
|
/openjdk10/jdk/src/java.base/share/classes/java/net/ |
H A D | Inet6Address.java | 281 int hash = 0; 291 hash += component; 293 return hash; 850 * @return a hash code value for this IP address.
|
/openjdk10/jdk/src/java.rmi/share/classes/sun/rmi/server/ |
H A D | UnicastServerRef.java | 117 /** maps method hash to Method object for each remote method */ 121 * A weak hash map, mapping classes to hash maps that map method 325 throw new UnmarshalException("unrecognized method hash: " + 441 long hash; // hash for matching stub with skeleton 454 hash = in.readLong(); 463 skel.dispatch(obj, call, op, hash); 564 * A weak hash map, mapping classes to hash map [all...] |
/openjdk10/jdk/src/java.naming/share/classes/javax/naming/ldap/ |
H A D | Rdn.java | 380 * Returns the hash code of this RDN. Two RDNs that are 382 * hash code. 384 * @return An int representing the hash code of this Rdn. 389 // Sum up the hash codes of the components. 390 int hash = 0; 394 hash += entries.get(i).hashCode(); 396 return hash;
|
/openjdk10/langtools/test/tools/javac/diags/ |
H A D | MessageInfo.java | 366 int hash = line.indexOf("#"); 367 if (hash != -1) 368 line = line.substring(0, hash).trim();
|
/openjdk10/corba/src/java.corba/share/classes/org/omg/CORBA/portable/ |
H A D | Delegate.java | 102 * @param max specifies an upper bound on the hash value returned by 104 * @return ORB-internal hash identifier for object reference 106 public abstract int hash(org.omg.CORBA.Object obj, int max); method in class:Delegate
|
H A D | ObjectImpl.java | 159 * Retrieves the hash code that serves as an ORB-internal identifier for 162 * @param maximum an <code>int</code> indicating the upper bound on the hash 164 * @return an <code>int</code> representing the hash code for this 168 return _get_delegate().hash(this, maximum); 509 * Returns the hash code for this <code>ObjectImpl</code> object. 511 * @return the hash code for this object
|
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/module/ |
H A D | ServicesCatalog.java | 71 return Objects.hash(module, providerName);
|