Searched defs:hashes (Results 1 - 6 of 6) sorted by relevance

/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DSharedNameTable.java61 private NameImpl[] hashes; field in class:SharedNameTable
84 hashes = new NameImpl[hashSize];
105 NameImpl n = hashes[h];
115 n.next = hashes[h];
116 hashes[h] = n;
128 NameImpl n = hashes[h];
146 n.next = hashes[h];
147 hashes[h] = n;
H A DUnsharedNameTable.java54 private HashEntry[] hashes = null; field in class:UnsharedNameTable
72 hashes = new HashEntry[hashSize];
91 HashEntry element = hashes[h];
107 hashes[h] = firstTableEntry = element.next;
133 hashes[h] = newEntry;
145 hashes = null;
/openjdk7/jdk/src/share/classes/sun/text/
H A DCompactByteArray.java79 hashes = new int[INDEXCOUNT];
85 hashes[i] = 0;
177 if (hashes[i] == hashes[j] &&
189 hashes[j] = hashes[i];
206 hashes = null;
233 hashes[i] = (hashes[i] + (value<<1)) | 1;
241 return hashes[
351 private int[] hashes; field in class:CompactByteArray
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jar/
H A DManifest.java55 static final String[] hashes = {"SHA"}; field in class:Manifest
76 * Parse a manifest from a stream, optionally computing hashes
183 /* compute hashes, write over any other "Hash-Algorithms" (?) */
184 for (int j = 0; j < hashes.length; ++j) {
187 MessageDigest dig = MessageDigest.getInstance(hashes[j]);
193 mh.set(hashes[j] + "-Digest", enc.encode(dig.digest()));
195 throw new JarException("Digest algorithm " + hashes[j] +
H A DSignatureFile.java71 /* Right now we only support SHA hashes */
72 static final String[] hashes = {"SHA"}; field in class:SignatureFile
310 for (int i = 0; i < hashes.length; ++i) {
311 MessageDigest dig = getDigest(hashes[i]);
317 smh.set(hashes[i] + "-Digest", encoder.encode(digest));
/openjdk7/hotspot/src/share/vm/classfile/
H A DaltHashing.cpp246 jbyte* hashes = new jbyte[4 * 256]; local
255 hashes[i * 4] = (jbyte) hash;
256 hashes[i * 4 + 1] = (jbyte) (((juint)hash) >> 8);
257 hashes[i * 4 + 2] = (jbyte) (((juint)hash) >> 16);
258 hashes[i * 4 + 3] = (jbyte) (((juint)hash) >> 24);
262 juint final_hash = murmur3_32(hashes, 4*256);

Completed in 42 milliseconds