Searched refs:hash (Results 1 - 25 of 34) sorted by relevance

12

/glassfish-3.1.2/security/jaspic-provider-framework/src/main/java/com/sun/jaspic/config/factory/
H A DRegistrationContextImpl.java103 int hash = 7;
104 hash = 17 * hash + (this.messageLayer != null ? this.messageLayer.hashCode() : 0);
105 hash = 17 * hash + (this.appContext != null ? this.appContext.hashCode() : 0);
106 hash = 17 * hash + (this.isPersistent ? 1 : 0);
107 return hash;
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/base/
H A DCacheObjectKey.java259 int hash = 7;
260 hash = 41 * hash + (this.sql != null ? this.sql.hashCode() : 0);
261 hash = 41 * hash + (this.statementType != null ? this.statementType.hashCode() : 0);
262 hash = 41 * hash + this.resultSetType;
263 hash = 41 * hash + this.resultSetConcurrency;
264 hash
[all...]
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/servedcontent/
H A DFixedContent.java85 int hash = 7;
86 hash = 17 * hash + (this.file != null ? this.file.hashCode() : 0);
87 return hash;
H A DAutoSignedContent.java148 int hash = 7;
149 hash = 83 * hash + (this.unsignedFile != null ? this.unsignedFile.hashCode() : 0);
150 hash = 83 * hash + (this.signedFile != null ? this.signedFile.hashCode() : 0);
151 hash = 83 * hash + (this.userProvidedAlias != null ? this.userProvidedAlias.hashCode() : 0);
152 return hash;
H A DCachingDynamicContentImpl.java231 int hash = 7;
232 hash = 89 * hash + (this.template != null ? this.template.hashCode() : 0);
233 hash = 89 * hash + (this.mimeType != null ? this.mimeType.hashCode() : 0);
234 hash = 89 * hash + this.maxInstances;
235 return hash;
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/security/common/
H A DSSHA.java75 * Compute a salted SHA hash.
79 * @return Byte array of length 20 bytes containing hash result.
91 byte[] hash = null;
107 hash = md.digest(buff);
112 md.update(hash);
113 hash = md.digest();
117 assert (hash.length == 20); // SHA output is 20 bytes
120 assert (hash.length == 32); //SHA-256 output is 32 bytes
122 return hash;
127 * Compute a salted SHA hash
157 encode(byte[] salt, byte[] hash, String algo) argument
272 verify(byte[] salt, byte[] hash, byte[] password, String algo) argument
[all...]
H A DFileRealmHelper.java73 * <li>password - A salted SHA hash (SSHA) of the user password or "RESET"
738 byte[] hash = new byte[resultLength];
739 byte[] salt = SSHA.decode(pwdInfo, hash, algo);
741 ud.setHash(hash);
795 * really stored so a salt is generated, hash computed, and these two
822 byte[] hash = SSHA.compute(salt, pwdBytes, algo);
823 user.setHash(hash);
834 private byte[] hash; field in class:FileRealmHelper.User
853 * @param hash SSHA password hash
856 User(String name, String[] groups, String realm, byte[] salt, byte[] hash, String algo) argument
898 setHash(byte[] hash) argument
[all...]
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/
H A DTag.java143 int hash = 7;
144 hash = 89 * hash + (this.tagViewId != null ? this.tagViewId.hashCode() : 0);
145 hash = 89 * hash + (this.tagName != null ? this.tagName.hashCode() : 0);
146 hash = 89 * hash + (this.displayName != null ? this.displayName.hashCode() : 0);
147 return hash;
/glassfish-3.1.2/admingui/plugin-service/src/main/java/org/glassfish/admingui/plugin/
H A DIndexItem.java134 int hash = 3;
135 hash = 89 * hash + (this.target != null ? this.target.hashCode() : 0);
136 hash = 89 * hash + (this.text != null ? this.text.hashCode() : 0);
137 return hash;
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/util/
H A DSQLTrace.java140 * Generate hash code for this obejct using all the fields.
145 int hash = 7;
146 hash = 23 * hash + (this.queryName != null ? this.queryName.hashCode() : 0);
147 return hash;
/glassfish-3.1.2/persistence/cmp/utility/src/main/java/com/sun/jdo/spi/persistence/utility/
H A DWeakHashSet.java164 private int hash; /* Hashcode of key, stored here since the key field in class:WeakHashSet.WeakElement
170 hash = o.hashCode();
176 hash = o.hashCode();
208 return hash;
/glassfish-3.1.2/security/inmemory.jacc.provider/src/main/java/com/sun/enterprise/security/jacc/provider/
H A DRole.java78 int hash = 7;
79 hash = 29 * hash + (this.roleName != null ? this.roleName.hashCode() : 0);
80 return hash;
/glassfish-3.1.2/tests/community/persistence/servlet-jpa-app/src/java/persistence/
H A DWebCustomer.java146 * Returns a hash code value for the object. This implementation computes
147 * a hash code value based on the id fields in this object.
148 * @return a hash code value for this object.
152 int hash = 0;
153 hash += (this.custId != null ? this.custId.hashCode() : 0);
154 return hash;
/glassfish-3.1.2/tests/embedded/cdi_ejb_jpa/src/main/java/org/glassfish/tests/embedded/cdi_ejb_jpa/
H A DPerson.java70 int hash = 0;
71 hash += (id != null ? id.hashCode() : 0);
72 return hash;
/glassfish-3.1.2/tests/embedded/glassfish_resources_xml/src/main/java/org/glassfish/tests/embedded/cdi_ejb_jpa/
H A DPerson.java70 int hash = 0;
71 hash += (id != null ? id.hashCode() : 0);
72 return hash;
/glassfish-3.1.2/deployment/common/src/main/java/org/glassfish/deployment/common/
H A DArtifacts.java297 int hash = 3;
298 hash = 29 * hash + (this.full != null ? this.full.hashCode() : 0);
299 hash = 29 * hash + (this.part != null ? this.part.hashCode() : 0);
300 return hash;
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/deployment/
H A DGenericSniffer.java193 int hash = 5;
194 hash = 71 * hash + (getModuleType() != null ? getModuleType().hashCode() : 0);
195 return hash;
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/cache/
H A DBaseCache.java120 // cache entries hash table
252 * Returns a hash code for non-null Object x.
255 protected int hash(Object x) { method in class:BaseCache
368 return getIndex(hash(key));
377 int hashCode = hash(key);
383 * get the item stored at the given pre-computed hash code and the key.
436 int hashCode = hash(key);
520 int hashCode = hash(key);
533 int hashCode = hash(key);
544 int hashCode = hash(ke
[all...]
H A DFIFOEJBObjectCache.java117 int hashCode = hash(key);
124 int hashCode = hash(key);
130 int hashCode = hash(key);
136 int hashCode = hash(key);
301 int hashCode = hash(key);
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/util/cache/
H A DBaseCache.java109 // cache entries hash table
199 * Returns a hash code for non-null Object x.
202 protected int hash(Object x) { method in class:BaseCache
315 return getIndex(hash(key));
324 int hashCode = hash(key);
330 * get the item stored at the given pre-computed hash code and the key.
381 int hashCode = hash(key);
466 int hashCode = hash(key);
479 int hashCode = hash(key);
490 int hashCode = hash(ke
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/ssl/
H A DJarSigner.java106 * @return the hash.
108 private String hash(String content) { method in class:JarSigner
118 * @return resulting hash
120 private String hash(JarFile jf, JarEntry je) throws IOException { method in class:JarSigner
167 me.append(digestAlgorithm).append("-Digest: ").append(hash(jf, je)).append("\r\n");
173 sigFileEntries.append(digestAlgorithm).append("-Digest: ").append(hash(me.toString())).append("\r\n\r\n");
179 StringBuilder sigFile = new StringBuilder("Signature-Version: 1.0\r\n").append(digestAlgorithm).append("-Digest-Manifest-Main-Attributes: ").append(hash(manifestHeader.toString())).append("\r\n").append("Created-By: ").append(System.getProperty("java.version")).append(" (").append(System.getProperty("java.vendor")).append(")\r\n");
182 sigFile.append(digestAlgorithm).append("-Digest-Manifest: ").append(hash(manifestHeader.toString())).append("\r\n\r\n");
/glassfish-3.1.2/installer/src/cpp/share/launcher/
H A Dzip_util.c218 * Returns a hash code value for the specified string.
221 hash(const char *s) function
364 /* Allocate hash table */
444 * Record the LOC offset and the name hash in our hash cell.
448 zc->hash = hash(name);
469 * Finally we can add the entry to the hash table
471 hsh = zc->hash % tablelen;
621 * Read a LOC corresponding to a given hash cel
[all...]
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/
H A DTopCoordinator.java137 int hash = 0; field in class:TopCoordinator
208 // Cache the hash value of the Coordinator.
210 hash = superInfo.globalTID.hashCode();
305 // Cache the hash value of the Coordinator.
307 hash = superInfo.globalTID.hashCode();
486 // Cache the hash value of the Coordinator.
488 hash = superInfo.globalTID.hashCode();
570 // Cache the hash value of the Coordinator.
572 hash = superInfo.globalTID.hashCode();
1107 * Returns a hash valu
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DWebApplication.java268 final int hash = moduleName.indexOf('#');
269 if (hash == -1) {
272 return moduleName.substring(hash + 1);
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/
H A DSQLStoreManager.java391 HashSet hash = new HashSet();
394 if (!hash.contains(temp)) {
395 hash.add(temp);

Completed in 62 milliseconds

12