Searched refs:hashes (Results 1 - 8 of 8) sorted by relevance

/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/langtools/src/share/classes/com/sun/tools/javac/util/
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;
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;
/openjdk7/jdk/test/sun/misc/
H A DHashing.java65 byte[] hashes = new byte[4 * 256];
75 hashes[i * 4] = (byte) hash;
76 hashes[i * 4 + 1] = (byte) (hash >>> 8);
77 hashes[i * 4 + 2] = (byte) (hash >>> 16);
78 hashes[i * 4 + 3] = (byte) (hash >>> 24);
82 int final_hash = sun.misc.Hashing.murmur3_32(0, hashes);
/openjdk7/jdk/test/java/net/NetworkInterface/
H A DEquals.java38 HashMap<String,Integer> hashes = new HashMap<>();
43 hashes.put(ni.getName(),ni.hashCode());
54 int h = hashes.get(ni.getName());
/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);
/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));

Completed in 50 milliseconds