Searched defs:hash (Results 1 - 25 of 140) sorted by relevance

123456

/openjdk7/jdk/src/share/classes/java/rmi/server/
H A DSkeleton.java53 * @param hash stub/skeleton interface hash
59 void dispatch(Remote obj, RemoteCall theCall, int opnum, long hash) argument
H A DRemoteRef.java68 * @param opnum a hash that may be used to represent the method
99 * @param hash stub/skeleton interface hash
105 RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) argument
166 * that refer to the same remote object will have the same hash code
167 * (in order to support remote objects as keys in hash tables).
/openjdk7/jdk/test/java/rmi/activation/Activatable/forceLogSnapshot/
H A DForceLogSnapshot_Skel.java41 public void dispatch(java.rmi.Remote obj, java.rmi.server.RemoteCall call, int opnum, long hash) argument
45 if (hash == 8484760490859430950L) {
47 } else if (hash == -1519179153769139224L) {
50 throw new java.rmi.UnmarshalException("invalid method hash");
53 if (hash != interfaceHash)
54 throw new java.rmi.server.SkeletonMismatchException("interface hash mismatch");
/openjdk7/jdk/test/java/rmi/server/RemoteObject/notExtending/
H A DNotExtending_Skel.java40 public void dispatch(java.rmi.Remote obj, java.rmi.server.RemoteCall call, int opnum, long hash) argument
44 throw new java.rmi.UnmarshalException("invalid method hash");
46 if (hash != interfaceHash)
47 throw new java.rmi.server.SkeletonMismatchException("interface hash mismatch");
/openjdk7/jdk/test/java/rmi/server/serverStackTrace/
H A DImpl1_Skel.java40 public void dispatch(java.rmi.Remote obj, java.rmi.server.RemoteCall call, int opnum, long hash) argument
43 if (hash != interfaceHash)
44 throw new java.rmi.server.SkeletonMismatchException("interface hash mismatch");
/openjdk7/jdk/test/java/rmi/server/useCustomRef/
H A DUseCustomRef_Skel.java41 public void dispatch(java.rmi.Remote obj, java.rmi.server.RemoteCall call, int opnum, long hash) argument
45 if (hash == 5866401369815527589L) {
47 } else if (hash == -5964458762870933304L) {
50 throw new java.rmi.UnmarshalException("invalid method hash");
53 if (hash != interfaceHash)
54 throw new java.rmi.server.SkeletonMismatchException("interface hash mismatch");
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DShadowedSymbolTable.java97 * by the <code>hash(char[],int,int)</code> method when called
100 * @param symbol The symbol to hash.
102 public int hash(String symbol) { method in class:ShadowedSymbolTable
103 return fSymbolTable.hash(symbol);
104 } // hash(String):int
109 * returned by the <code>hash(String)</code> method when called
117 public int hash(char[] buffer, int offset, int length) { method in class:ShadowedSymbolTable
118 return fSymbolTable.hash(buffer, offset, length);
119 } // hash(char[],int,int):int
H A DSymbolTable.java97 final int hash = hash(symbol);
98 final int bucket = hash % fTableSize;
101 if (length == entry.characters.length && hash == entry.hashCode) {
122 entry.hashCode = hash;
140 int hash = hash(buffer, offset, length);
141 int bucket = hash % fTableSize;
143 if (length == entry.characters.length && hash ==entry.hashCode) {
156 entry.hashCode = hash;
169 public int hash(String symbol) { method in class:SymbolTable
191 public int hash(char[] buffer, int offset, int length) { method in class:SymbolTable
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DHashtree2Node.java50 * <p>The hash may have either Hashtables as values (in which
60 * @param hash to get info from (may have sub-hashtables)
66 public static void appendHashToNode(Hashtable hash, String name, argument
70 if ((null == container) || (null == factory) || (null == hash))
87 Enumeration keys = hash.keys();
94 Object item = hash.get(key);
100 // Save name and hash in two steps
128 // Retrieve name and hash in two steps
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DBasicHashtableEntry.java54 public long hash() { method in class:BasicHashtableEntry
/openjdk7/hotspot/src/share/vm/opto/
H A Dmultnode.hpp44 virtual uint hash() const { return NO_HASH; } // CFG nodes do not hash function in class:MultiNode
59 virtual uint hash() const;
H A Drootnode.hpp61 virtual uint hash() const { return NO_HASH; } // CFG nodes do not hash function in class:HaltNode
H A Dlocknode.cpp50 //-----------------------------hash--------------------------------------------
51 uint BoxLockNode::hash() const { function in class:BoxLockNode
54 return Node::hash() + _slot + (_is_eliminated ? Compile::current()->fixed_slots() : 0);
136 //-----------------------------hash--------------------------------------------
137 uint FastLockNode::hash() const { return NO_HASH; } function in class:FastLockNode
145 //-----------------------------hash--------------------------------------------
146 uint FastUnlockNode::hash() const { return NO_HASH; } function in class:FastUnlockNode
H A Dmultnode.cpp63 uint ProjNode::hash() const { function in class:ProjNode
/openjdk7/jdk/src/share/classes/com/sun/tools/attach/
H A DVirtualMachineDescriptor.java64 private volatile int hash; // 0 => not computed field in class:VirtualMachineDescriptor
144 * Returns a hash-code value for this VirtualMachineDescriptor. The hash
149 * @return A hash-code value for this descriptor.
152 if (hash != 0) {
153 return hash;
155 hash = provider.hashCode() * 127 + id.hashCode();
156 return hash;
/openjdk7/jdk/test/java/nio/channels/Channels/
H A DBasic2.java70 if (reader.hash() != writer.hash())
81 private volatile int hash; field in class:Basic2.Reader
109 hash = hash ^ value;
121 int hash() { return hash; } method in class:Basic2.Reader
127 private volatile int hash; field in class:Basic2.Writer
135 hash = 0;
154 hash
173 int hash() { return hash; } method in class:Basic2.Writer
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/
H A DExtendedType.java34 private int hash; field in class:ExtendedType
38 * The hash code is calculated from the node type, namespace and local name.
49 this.hash = nodetype + namespace.hashCode() + localName.hashCode();
54 * and a given hash code.
59 * @param hash The given hash code
61 public ExtendedType (int nodetype, String namespace, String localName, int hash) argument
66 this.hash = hash;
79 this.hash
87 redefine(int nodetype, String namespace, String localName, int hash) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/
H A DDictionary.java89 public Klass find(int index, long hash, Symbol className, Oop classLoader, Oop protectionDomain) { argument
90 DictionaryEntry entry = getEntry(index, hash, className, classLoader);
99 private DictionaryEntry getEntry(int index, long hash, Symbol className, Oop classLoader) { argument
102 if (entry.hash() == hash && entry.equals(className, classLoader)) {
/openjdk7/jdk/src/share/classes/java/util/
H A DObjects.java31 * null}-tolerant methods for computing the hash code of an object,
87 * Returns the hash code of a non-{@code null} argument and 0 for
91 * @return the hash code of a non-{@code null} argument and 0 for
100 * Generates a hash code for a sequence of input values. The hash
112 * return Objects.hash(x, y, z);
117 * value does not equal the hash code of that object reference.</b> This
121 * @return a hash value of the sequence of input values
125 public static int hash(Object... values) { method in class:Objects
/openjdk7/hotspot/src/share/vm/classfile/
H A DresolutionErrors.cpp34 void ResolutionErrorTable::add_entry(int index, unsigned int hash, argument
40 ResolutionErrorEntry* entry = new_entry(hash, pool(), cp_index, error);
45 ResolutionErrorEntry* ResolutionErrorTable::find_entry(int index, unsigned int hash, argument
53 if (error_probe->hash() == hash && error_probe->pool() == pool()) {
67 ResolutionErrorEntry* ResolutionErrorTable::new_entry(int hash, constantPoolOop pool, argument
70 ResolutionErrorEntry* entry = (ResolutionErrorEntry*)Hashtable<constantPoolOop, mtClass>::new_entry(hash, pool);
/openjdk7/jdk/src/share/classes/sun/tools/asm/
H A DConstantPool.java45 Hashtable hash = new Hashtable(101); field in class:ConstantPool
51 return ((ConstantPoolData)hash.get(obj)).index;
58 ConstantPoolData data = (ConstantPoolData)hash.get(obj);
75 hash.put(obj, data);
83 ConstantPoolData list[] = new ConstantPoolData[hash.size()];
90 for (Enumeration e = hash.elements() ; e.hasMoreElements() ;) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DImageCache.java46 // Ordered Map keyed by args hash, ordered by most recent accessed entry.
111 PixelCountSoftReference ref = map.get(hash(config, w, h, args));
112 // check reference has not been lost and the key truly matches, in case of false positive hash match
135 int hash = hash(config, w, h, args);
138 PixelCountSoftReference ref = map.get(hash);
146 map.remove(hash);
155 map.remove(ref.hash);
171 map.put(hash, new PixelCountSoftReference(image, referenceQueue, newPixelCount,hash, confi
179 private int hash(GraphicsConfiguration config, int w, int h, Object ... args) { method in class:ImageCache
192 private final int hash; field in class:ImageCache.PixelCountSoftReference
199 PixelCountSoftReference(Image referent, ReferenceQueue<? super Image> q, int pixelCount, int hash, GraphicsConfiguration config, int w, int h, Object[] args) argument
[all...]
/openjdk7/jdk/src/share/classes/java/beans/
H A DWeakIdentityMap.java56 int hash = key.hashCode();
57 int index = getIndex(this.table, hash);
59 if (entry.isMatched(key, hash)) {
71 int hash = key.hashCode();
72 int index = getIndex(this.table, hash);
74 if (entry.isMatched(key, hash)) {
80 this.table[index] = new Entry<T>(key, hash, value, this.queue, this.table[index]);
109 int index = getIndex(this.table, entry.hash);
146 int index = getIndex(newTable, entry.hash);
161 private static int getIndex(Entry<?>[] table, int hash) { argument
166 private final int hash; field in class:WeakIdentityMap.Entry
170 Entry(Object key, int hash, T value, ReferenceQueue<Object> queue, Entry<T> next) argument
177 isMatched(Object key, int hash) argument
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/
H A DAclEntry.java71 // cached hash code
72 private volatile int hash; field in class:AclEntry
335 private static int hash(int h, Object o) { method in class:AclEntry
340 * Returns the hash-code value for this ACL entry.
347 // return cached hash if available
348 if (hash != 0)
349 return hash;
351 h = hash(h, who);
352 h = hash(h, perms);
353 h = hash(
[all...]
/openjdk7/jdk/src/share/classes/java/rmi/
H A DMarshalledObject.java87 * @serial Stored hash code of contained object.
91 private int hash; field in class:MarshalledObject
110 hash = 13;
125 * Calculate hash from the marshalled representation of object
132 hash = h;
165 * Return a hash code for this <code>MarshalledObject</code>.
167 * @return a hash code
170 return hash;

Completed in 139 milliseconds

123456