- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 36 for rhash (0.02 seconds)
-
src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java
String hash = "01010101010101010101010101010101"; String value = "$H4sIAAAAAAAA_zMwNMALAXC7sg0gAAAA"; assertEquals(value, documentHelper.encodeSimilarDocHash(hash)); hash = "00101010010010100100101010001010"; value = "$H4sIAAAAAAAA_zMwMARDCELQQApMAgAi5-3LIAAAAA"; assertEquals(value, documentHelper.encodeSimilarDocHash(hash));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
} /** * Encodes a similar document hash using GZIP compression and Base64 encoding. * This reduces storage space for hash values while maintaining uniqueness. * * @param hash the hash string to encode * @return the encoded hash string with prefix, or the original hash if encoding fails */ public String encodeSimilarDocHash(final String hash) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:27:04 GMT 2026 - 17.4K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/Gradleception.kt
1. Build a Gradle distribution with a fixed timestamp and hash it, but never use this distribution. 2. Build a Gradle distribution with this hash as a version + fixed timestamp -> dogfood-first 3. Build a Gradle distribution using dogfood-first with this hash as a version + fixed timestamp different from the one above -> dogfood-secondCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 04:44:29 GMT 2026 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
// Same inputs and output should have same hash code assertEquals(item1.hashCode(), item2.hashCode()); // Different inputs should have different hash code assertNotSame(item1.hashCode(), item3.hashCode()); // Same inputs but different output should have different hash code assertNotSame(item1.hashCode(), item4.hashCode()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
final StringBuilder buf = new StringBuilder(50); for (int i = 0; i < docid.length(); i += splitSize) { int hash = docid.substring(i).hashCode() % splitHashSize; if (hash < 0) { hash *= -1; } buf.append('_').append(Integer.toString(hash)).append('/'); } buf.append(docid).append('.').append(imageExtention); return buf.toString(); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 27.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
int logoutHashCode = SsoResponseType.LOGOUT.hashCode(); // Hash code should be consistent for the same object assertEquals(metadataHashCode, SsoResponseType.METADATA.hashCode()); assertEquals(logoutHashCode, SsoResponseType.LOGOUT.hashCode()); // Different enum constants should have different hash codes (usually) assertNotSame(metadataHashCode, logoutHashCode); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/IndexExportJob.java
try { final MessageDigest md = MessageDigest.getInstance("SHA-256"); final byte[] hash = md.digest(input.getBytes(StandardCharsets.UTF_8)); final StringBuilder sb = new StringBuilder(); for (final byte b : hash) { sb.append(String.format("%02x", b)); } return sb.toString();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java
assertTrue(result1.startsWith("FessUserTimeZoneProcessProvider:{")); assertTrue(result2.startsWith("FessUserTimeZoneProcessProvider:{")); // But different hash codes assertFalse(result1.equals(result2)); } // Test static field initialization @Test public void test_centralTimeZone_initialization() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
PrunedTag tag2 = new PrunedTag("div"); tag2.setId("test"); tag2.setCss("highlight"); // Equal objects must have equal hash codes assertEquals(tag1.hashCode(), tag2.hashCode()); // Hash code should be consistent int hash1 = tag1.hashCode(); int hash2 = tag1.hashCode(); assertEquals(hash1, hash2); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java
assertEquals(des, provider.providePrimaryInvertibleCryptographer()); assertEquals(oneWayCryptographer, provider.providePrimaryOneWayCryptographer()); } // Test with different hash algorithms @Test public void test_withSha512Cryptographer() { // Test with SHA512 OneWayCryptographer sha512 = OneWayCryptographer.createSha512Cryptographer();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.2K bytes - Click Count (0)