- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 32 for rhash (0.01 seconds)
-
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/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) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
assertNotSame(item1.hashCode(), item4.hashCode()); } @Test public void test_hashCode_withNullInput() { // Test hashCode with null input - should not throw, returns consistent hash for null StopwordsItem item1 = new StopwordsItem(1, null); StopwordsItem item2 = new StopwordsItem(2, null); // Should not throw int hash1 = item1.hashCode();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
assertEquals(item1.hashCode(), item1.hashCode()); } @Test public void test_hashCode_withNullInput() { // Test hashCode with null input - should not throw, returns consistent hash for null ProtwordsItem item1 = new ProtwordsItem(1, null); ProtwordsItem item2 = new ProtwordsItem(2, null); // Should not throw int hash1 = item1.hashCode();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (0)