- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 197 for updated (0.08 sec)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
public void test_isUpdated() { // Test isUpdated method StopwordsItem item = new StopwordsItem(1, "original"); assertFalse(item.isUpdated()); item.setNewInput("updated"); assertTrue(item.isUpdated()); item.setNewInput(""); assertTrue(item.isUpdated()); item.setNewInput(null); assertFalse(item.isUpdated()); } public void test_isDeleted() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
// Configure field and index names with special characters expiresFieldName = "expires-field.with@special#chars"; documentUpdateIndex = "fess.update-index$special%chars"; // Re-register FessConfig with updated values fessConfig = new TestFessConfig() { @Override public String getIndexFieldExpires() { return expiresFieldName; }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.1K bytes - Viewed (0) -
cmd/metacache-bucket.go
} } // updateCacheEntry will update a cache. // Returns the updated status. func (b *bucketMetacache) updateCacheEntry(update metacache) (metacache, error) { b.mu.Lock() defer b.mu.Unlock() existing, ok := b.caches[update.id] if !ok { return update, errFileNotFound } existing.update(update) b.caches[update.id] = existing b.updated = true return existing, nil }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
assertNull(result); updater.close(); } public void test_updater_writeLine() { StopwordsFile.StopwordsUpdater updater = stopwordsFile.new StopwordsUpdater(null); // Test writing a comment line updater.write("# This is a comment"); updater.close(); } // Test edge cases public void test_emptyFile() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
// Initially not updated assertFalse(item.isUpdated()); // Set only newInputs - still not updated item.setNewInputs(new String[] { "new" }); assertFalse(item.isUpdated()); // Set both newInputs and newOutput - now updated item.setNewOutput("newOutput"); assertTrue(item.isUpdated()); // Set newInputs to null - not updatedRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
cmd/bucket-metadata-sys.go
}) if err != nil { return updatedAt, fmt.Errorf("Error encrypting bucket target metadata %w", err) } meta.BucketTargetsConfigUpdatedAt = updatedAt meta.BucketTargetsConfigMetaUpdatedAt = updatedAt default: return updatedAt, fmt.Errorf("Unknown bucket %s metadata update requested %s", bucket, configFile) } return updatedAt, sys.save(ctx, meta) }Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
updateItem.setNewOutput("o"); charMappingFile.update(updateItem); // Verify the update OptionalEntity<CharMappingItem> updated = charMappingFile.get(1L); assertTrue(updated.isPresent()); CharMappingItem item = updated.get(); assertArrayEquals(new String[] { "m", "n" }, item.getInputs()); assertEquals("o", item.getOutput()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
when(mockFile2.createTime()).thenReturn(600L); when(mockFile2.lastAccess()).thenReturn(900L); // Update cache List<SmbFile> files = Arrays.asList(mockFile1, mockFile2); directoryLeaseManager.updateDirectoryCache(directoryPath, files); // Verify cache entry was updated (test the cache content directly) DirectoryCacheEntry cacheEntry = directoryLeaseManager.getCacheEntry(directoryPath);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
existingSource.put(FieldNames.TAGS, Arrays.asList("existing")); Map<String, Object> updated = item.getUpdatedSource(existingSource); assertNotNull(updated); assertEquals("test", updated.get(FieldNames.TEXT)); assertEquals(25L, updated.get(FieldNames.QUERY_FREQ)); // 20 + 5 assertEquals(20L, updated.get(FieldNames.DOC_FREQ)); // 10 + 10 @SuppressWarnings("unchecked")
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
public void test_isUpdated() { // Test isUpdated method ProtwordsItem item = new ProtwordsItem(1, "word"); assertFalse(item.isUpdated()); item.setNewInput("newword"); assertTrue(item.isUpdated()); item.setNewInput(""); assertTrue(item.isUpdated()); item.setNewInput(null); assertFalse(item.isUpdated()); } public void test_isDeleted() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0)