- Sort Score
- Num 10 results
- Language All
Results 1521 - 1530 of 1,782 for scratch (0.05 seconds)
-
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java
return null; }); try (InputStream inputStream = form.charMappingFile.getInputStream()) { file.update(inputStream); } catch (final IOException e) { logger.warn("Failed to process a request.", e); throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL)); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
if (encoding == null) { return new ByteArrayInputStream(contents.getBytes()); } try { return new ByteArrayInputStream(contents.getBytes(encoding)); } catch (final UnsupportedEncodingException ex) { throw new IORuntimeException(ex); } } /** * Encodes the value of an attribute. * * @param sCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 10.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
// This test documents the expected behavior try { String result = ldapManager.normalizePermissionName(null); assertNull(result); } catch (NullPointerException e) { // NPE is acceptable for null input } } @Test public void test_normalizePermissionName_withLowercaseEnabled() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
assertThat(bb).isEqualTo(expectedHashCode.bytes); assertEquals(expectedHashCode.asInt, hash.asInt()); if (expectedHashCode.asLong == null) { try { hash.asLong(); fail(); } catch (IllegalStateException expected) { } } else { assertEquals(expectedHashCode.asLong.longValue(), hash.asLong()); } assertThat(hash.toString()).isEqualTo(expectedHashCode.toString);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 13.2K bytes - Click Count (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
return; } cleanupScheduler.shutdownNow(); try { cleanupScheduler.awaitTermination(5, TimeUnit.SECONDS); } catch (InterruptedException e) { Thread.currentThread().interrupt(); log.warn("Interrupted while shutting down cleanup scheduler", e); } log.info("Authentication rate limiter closed");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath); entry.setMaxAge(1); // 1ms to expire immediately try { Thread.sleep(10); } catch (InterruptedException e) { // Ignore } // When lease is lost, cache entry should be removed when(baseLeaseManager.getLease(leaseKey)).thenReturn(null);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/ChatSessionTest.java
public void test_touch() { final ChatSession session = new ChatSession(); final LocalDateTime initialTime = session.getLastAccessedAt(); try { Thread.sleep(10); } catch (InterruptedException e) { // ignore } session.touch(); assertTrue(session.getLastAccessedAt().isAfter(initialTime) || session.getLastAccessedAt().isEqual(initialTime));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 12.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java
mockBhv.setTestData(testData); relatedContentHelper.update(); // Give a moment for async execution try { Thread.sleep(100); } catch (InterruptedException e) { // ignore } results = relatedContentHelper.getRelatedContents("test"); assertEquals("Updated Content", results[0]); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java
scheduledJob.setId("nonexistent-job"); try { scheduledJob.start(Map.of(Constants.JOB_LOG_ID, "some-id")); fail("Expected JobNotFoundException"); } catch (final JobNotFoundException e) { // expected } } @Test public void test_startNoArg_callsLaunchNowWithoutParams() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 15.8K bytes - Click Count (0)