- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for Insert (0.03 sec)
-
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
assertNotNull(manager); } // Test insert with no chains public void test_insert_noChains() { User user = createTestUser("testuser"); authenticationManager.insert(user); // Should not throw exception even with no chains } // Test insert with single chain public void test_insert_singleChain() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14K bytes - Viewed (0) -
cmd/benchmark-utils_test.go
// benchmark utility which helps obtain number of allocations and bytes allocated per ops. b.ReportAllocs() // the actual benchmark for PutObject starts here. Reset the benchmark timer. for i := 0; b.Loop(); i++ { // insert the object. objInfo, err := obj.PutObject(b.Context(), bucket, "object"+strconv.Itoa(i), mustGetPutObjReader(b, bytes.NewReader(textData), int64(len(textData)), md5hex, sha256hex), ObjectOptions{}) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
assertEquals(3, result5.getAllRecordCount()); } // Test insert method public void test_insert() throws Exception { writeTestFile("a,b => c\n"); CharMappingItem newItem = new CharMappingItem(0, new String[] { "x", "y" }, "z"); charMappingFile.insert(newItem); // Verify the item was added
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
TestRule rule3 = new TestRule("rule3", true); ruleManager.addRule(rule1); ruleManager.addRule(rule3); ruleManager.addRule(1, rule2); // Insert in middle List<Rule> rules = ruleManager.getRules(); assertEquals(3, rules.size()); assertEquals("rule1", rules.get(0).getRuleId()); assertEquals("rule2", rules.get(1).getRuleId());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
tests/generics_test.go
lang := Language{Code: "upsert", Name: "Upsert"} if err := gorm.G[Language](DB, clause.OnConflict{DoNothing: true}).Create(ctx, &lang); err != nil { t.Fatalf("failed to upsert, got %v", err) } lang2 := Language{Code: "upsert", Name: "Upsert"} if err := gorm.G[Language](DB, clause.OnConflict{DoNothing: true}).Create(ctx, &lang2); err != nil { t.Fatalf("failed to upsert, got %v", err) }Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
* @return an optional containing the item if found */ public abstract OptionalEntity<T> get(long id); /** * Inserts a new dictionary item. * * @param item the item to insert */ public abstract void insert(T item); /** * Updates an existing dictionary item. * * @param item the item to update */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.2K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
TF_DataType value) { auto iter = builder->attr_names.insert(attr_name).first; builder->Set(*iter, static_cast<tensorflow::DataType>(value)); } void TF_AttrBuilderSetTypeList(TF_AttrBuilder* builder, const char* attr_name, const TF_DataType* values, int num_values) { auto iter = builder->attr_names.insert(attr_name).first;Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 03:53:25 UTC 2025 - 29.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
} public void test_insert() { // Create new item for insertion ProtwordsItem newItem = new ProtwordsItem(0, "newWord"); // Insert the item protwordsFile.insert(newItem); // Verify the item was added protwordsFile.reload(null); boolean found = false; PagingList<ProtwordsItem> list = protwordsFile.selectList(0, 100);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/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java
User appliedUser; String changePasswordUsername; String changePasswordPassword; boolean changePasswordResult = false; @Override public void insert(User user) { insertCalled = true; insertedUser = user; } @Override public void delete(User user) { deleteCalled = true;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
assertNotNull(result); assertNotNull(stopwordsFile.stopwordsItemList); } // Test insert method public void test_insert() { loadTestData(); StopwordsItem newItem = new StopwordsItem(0, "test"); stopwordsFile.insert(newItem); // Verify the item was added boolean found = false;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0)