- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 98 for existing (0.16 sec)
-
src/test/java/org/codelibs/fess/entity/QueryContextTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
Map<String, Object> dataMap = new HashMap<>(); dataMap.put("url", "http://example.com/test"); dataMap.put("doc_id", "existing-doc-id"); indexUpdateCallback.store(paramMap, dataMap); // Should keep existing doc_id assertEquals("existing-doc-id", dataMap.get("doc_id")); } public void test_concurrentStore() throws Exception { // Test thread safety
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
public void test_update() throws Exception { writeTestFile("a,b => c\nd,e => f\n"); // Get existing item OptionalEntity<CharMappingItem> existing = charMappingFile.get(1L); assertTrue(existing.isPresent()); // Update the item CharMappingItem updateItem = existing.get(); updateItem.setNewInputs(new String[] { "m", "n" }); updateItem.setNewOutput("o");
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/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
assertNotNull(filename); assertTrue(filename.endsWith(".jpg")); assertTrue(filename.contains(docid)); } // Test getThumbnailFile with existing file public void test_getThumbnailFile_exists() throws IOException { Map<String, Object> docMap = new HashMap<>(); docMap.put("_id", "testdoc");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
} // else no check necessary, all index values are valid L existing = locks.get(index); if (existing != null) { return existing; } L created = supplier.get(); existing = locks.putIfAbsent(index, created); return MoreObjects.firstNonNull(existing, created); } @Override public int size() { return size; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
// Write an existing item (should pass through) ProtwordsItem existingItem = new ProtwordsItem(10, "existing"); ProtwordsItem result = updater.write(existingItem); assertNotNull(result); assertEquals("existing", result.getInput()); assertEquals(10, result.getId()); updater.close(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
form.initialize(); form.crudMode = CrudMode.CREATE; form.dictId = dictId; }); }); } /** * Display the edit form for an existing stopwords entry. * * @param form the edit form containing the entry ID and dictionary ID * @return HTML response for the edit form */ @Execute @Secured({ ROLE })
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
} else { // We already saw this key, and the first value we saw (going backwards) is the one we are // keeping. So we won't touch table[], but we do still want to add the existing entry that // we found to entries[] so that we will see this key in the right place when iterating. if (duplicates == null) { duplicates = new IdentityHashMap<>(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
} catch (IllegalArgumentException e) { assertEquals("name or dataStore is null.", e.getMessage()); } } // Test getDataStore with existing name public void test_getDataStore_existingName() { TestDataStore dataStore = new TestDataStore("TestStore"); dataStoreFactory.add("myStore", dataStore);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
EnumHashBiMap<Currency, Country> bimap2 = EnumHashBiMap.create(emptyBimap2); assertTrue(bimap2.isEmpty()); } public void testEnumHashBiMapConstructor() { /* Test that it copies existing entries. */ EnumHashBiMap<Currency, String> bimap1 = EnumHashBiMap.create(Currency.class); bimap1.put(Currency.DOLLAR, "dollar"); EnumHashBiMap<Currency, String> bimap2 = EnumHashBiMap.create(bimap1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0)