/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/replacements/ |
H A D | HashCodeSnippets.java | 70 int hash = (int) mark.unsignedShiftRight(identityHashCodeShift(INJECTED_VMCONFIG)).rawValue(); 71 if (probability(FAST_PATH_PROBABILITY, hash != uninitializedIdentityHashCodeValue(INJECTED_VMCONFIG))) { 72 return hash;
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/hotspot/test/ |
H A D | MemoryUsageBenchmark.java | 67 int[] hash = {0}; 68 cs.chars().forEach(c -> hash[0] += c); 69 return hash[0];
|
/openjdk10/jdk/src/java.desktop/share/classes/sun/awt/ |
H A D | WeakIdentityHashMap.java | 8 // A weak key reference hash map that uses System.identityHashCode() and "==" 15 * Constructs a new, empty identity hash map with a default initial 170 private final int hash; field in class:WeakIdentityHashMap.WeakKey 174 hash = System.identityHashCode(key); 190 return hash;
|
/openjdk10/jdk/src/java.base/share/classes/com/sun/java/util/jar/pack/ |
H A D | Instruction.java | 327 int hash = 3; 328 hash = 11 * hash + Arrays.hashCode(this.bytes); 329 hash = 11 * hash + this.pc; 330 hash = 11 * hash + this.bc; 331 hash = 11 * hash + this.w; 332 hash [all...] |
/openjdk10/jdk/src/java.management/share/classes/com/sun/jmx/mbeanserver/ |
H A D | Util.java | 117 * @return a hash code value, as described in {@link #hashCode(Descriptor)} 120 int hash = 0; 135 hash += names[i].toLowerCase().hashCode() ^ h; 137 return hash;
|
/openjdk10/jdk/src/java.naming/share/classes/javax/naming/directory/ |
H A D | BasicAttributes.java | 221 * have the same hash code. 257 * Calculates the hash code of this BasicAttributes. 259 * The hash code is computed by adding the hash code of 261 * ignores case of its attribute IDs, one is added to the hash code. 265 * have the same hash code. 267 * @return an int representing the hash code of this BasicAttributes instance. 271 int hash = (ignoreCase ? 1 : 0); 275 hash += all.next().hashCode(); 278 return hash; [all...] |
/openjdk10/jdk/src/java.naming/share/classes/javax/naming/ |
H A D | Reference.java | 346 * Computes the hash code of this reference. 347 * The hash code is the sum of the hash code of its addresses. 349 * @return A hash code of this reference as an int. 352 int hash = className.hashCode(); 354 hash += e.nextElement().hashCode(); 355 return hash;
|
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/java/ |
H A D | Identifier.java | 37 * looked up in a hash table. This means that identifiers with the same 61 static Hashtable<String, Identifier> hash = new Hashtable<>(3001, 0.5f); field in class:Identifier 118 Identifier id = hash.get(s); 120 hash.put(s, id = new Identifier(s));
|
/openjdk10/jdk/test/java/awt/datatransfer/SystemFlavorMap/ |
H A D | SetNativesForFlavor.java | 48 Hashtable hash; field in class:SetNativesForFlavor 67 hash = new Hashtable(flavorMap.getFlavorsForNatives(null)); 68 hashSize = hash.size();
|
H A D | SetFlavorsForNativeTest.java | 48 Hashtable hash; field in class:SetFlavorsForNativeTest 67 hash = new Hashtable(flavorMap.getFlavorsForNatives(null)); 68 hashSize = hash.size();
|
/openjdk10/jdk/test/java/util/ResourceBundle/ |
H A D | TestBug4179766.java | 83 //hash code used by class loaders when sameHash is true 85 //the next unique hash code 125 * Test that loaders with the same hash key still 133 * Test that loaders with different hash keys 182 * [message][object's identity][object's class][object's loader][loaders hash][loaders identity] 190 int hash = -1; 192 hash = l.hashCode(); 195 + " ClassLoader: " + l + " loaderHash: " + hash 201 * working directory. The hash code of the loader can be 221 * Return the hash cod [all...] |
/openjdk10/jdk/src/java.base/share/classes/sun/security/ssl/ |
H A D | OutputRecord.java | 103 * For handshaking, we need to be able to hash every byte above the 105 * bytes, so this is where we can hash them. 239 byte[] hash = signer.compute(contentType, destination, false); 246 * out the hash. 248 destination.limit(destination.limit() + hash.length); 249 destination.put(hash); 338 byte[] hash = signer.compute(contentType, 341 write(hash, 0, hash.length);
|
/openjdk10/jdk/src/java.base/share/classes/java/util/concurrent/ |
H A D | Exchanger.java | 210 * tried) to use randomized, prime-value-stepped, or double-hash 309 int hash; // Pseudo-random for spins field in class:Exchanger.Node 376 for (int h = p.hash, spins = SPINS;;) { 381 p.hash = h; 386 if (h == 0) // initialize hash 411 p.hash = h; 484 int h = p.hash; 516 p.hash = h;
|
/openjdk10/jdk/test/sun/security/mscapi/ |
H A D | SignUsingNONEwithRSA.java | 43 // A MD5 hash 48 // A SHA-1 hash 60 // A SHA-256 hash 67 // A SHA-384 hash 75 // A SHA-512 hash 198 for (byte[] hash : precomputedHashes) { 200 sig1.update(hash); 206 hash.length + "-byte hash (signature length: " + 233 for (byte[] hash [all...] |
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/xmlschema/bindinfo/ |
H A D | BIGlobalBinding.java | 508 int hash = 7; 509 hash = 73 * hash + (this.xmlType != null ? this.xmlType.hashCode() : 0); 510 return hash; 532 int hash = 7; 533 hash = 73 * hash + (this.xmlType != null ? this.xmlType.hashCode() : 0); 534 return hash;
|
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/module/ |
H A D | ModuleHashes.java | 61 * @param nameToHash the map of module name to hash value 69 * Returns the algorithm used to hash the modules ("SHA-256" for example). 83 * Returns the hash for the given module name, {@code null} 84 * if there is no hash recorded for the module. 91 * Returns unmodifiable map of module name to hash 98 * Computes the hash for the given file with the given message digest 129 * Computes the hash for every entry in the given map, returning a 160 * Sets the module hash for the given module name 162 public Builder hashForModule(String mn, byte[] hash) { argument 163 nameToHash.put(mn, hash); [all...] |
/openjdk10/jdk/src/java.rmi/share/classes/sun/rmi/transport/ |
H A D | DGCImpl_Skel.java | 46 public void dispatch(java.rmi.Remote obj, java.rmi.server.RemoteCall call, int opnum, long hash) argument 48 if (hash != interfaceHash) 49 throw new java.rmi.server.SkeletonMismatchException("interface hash mismatch");
|
/openjdk10/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/ |
H A D | SctpStandardSocketOptions.java | 411 * Returns a hash code value for this init max streams. 415 int hash = 7 ^ maxInStreams ^ maxOutStreams; 416 return hash;
|
/openjdk10/jdk/src/java.base/share/classes/java/util/ |
H A D | WeakHashMap.java | 163 * The number of key-value mappings contained in this weak hash map. 173 * The load factor for the hash table. 291 * Retrieve object hash code and applies a supplemental hash function to the 292 * result hash, which defends against poor quality hash functions. This is 293 * critical because HashMap uses power-of-two length hash tables, that 297 final int hash(Object k) { method in class:WeakHashMap 308 * Returns index for hash code h. 322 int i = indexFor(e.hash, tabl 705 final int hash; field in class:WeakHashMap.Entry 711 Entry(Object key, V value, ReferenceQueue<Object> queue, int hash, Entry<K,V> next) argument [all...] |
/openjdk10/hotspot/src/share/vm/ci/ |
H A D | ciObject.hpp | 89 // A hash value for the convenience of compilers. 90 int hash();
|
H A D | ciMetadata.hpp | 111 int hash() { return ident() * 31; } // ??? function in class:ciMetadata
|
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/ |
H A D | BasicHashtableEntry.java | 54 public long hash() { method in class:BasicHashtableEntry
|
/openjdk10/hotspot/src/share/vm/gc/g1/ |
H A D | g1CodeCacheRemSet.cpp | 44 unsigned int hash = compute_hash(nm); local 50 entry->set_hash(hash); 56 int index = hash_to_index(e->hash()); 87 int index = hash_to_index(e->hash());
|
/openjdk10/hotspot/src/share/vm/prims/ |
H A D | resolvedMethodTable.hpp | 71 oop lookup(int index, unsigned int hash, Method* method);
|
/openjdk10/hotspot/src/share/vm/oops/ |
H A D | markOop.hpp | 39 // hash:25 ------------>| age:4 biased_lock:1 lock:2 (normal object) 46 // unused:25 hash:31 -->| unused:1 age:4 biased_lock:1 lock:2 (normal object) 51 // unused:25 hash:31 -->| cms_free:1 age:4 biased_lock:1 lock:2 (COOPs && normal object) 56 // - hash contains the identity hash value: largest value is 58 // a hash value no bigger than 32 bits because they will not 165 enum { no_hash = 0 }; // no hash value assigned 302 markOop copy_set_hash(intptr_t hash) const { 304 tmp |= ((hash & hash_mask) << hash_shift); 343 // hash operation 344 intptr_t hash() const { function in class:markOopDesc [all...] |