- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 734 for commit (0.23 sec)
-
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
// Commit callback.commit(); assertEquals(1, commitCount.get()); assertEquals(3L, documentsBeforeCommit.get()); // Store more and commit again callback.store(params, data); callback.store(params, data); assertEquals(5L, callback.getDocumentSize()); callback.commit();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.4K bytes - Viewed (0) -
tests/transaction_test.go
user := User{Name: "transaction"} if err := tx.Save(&user).Error; err != nil { t.Fatalf("No error should raise") } if err := tx.Commit().Error; err != nil { t.Fatalf("Commit should not raise error") } if err := tx.Rollback().Error; err == nil { t.Fatalf("Rollback after commit should raise error") } } func TestTransactionWithSavePoint(t *testing.T) { tx := DB.Begin()
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 13.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
// Execute commit indexUpdateCallback.commit(); // Verify documents were sent assertEquals(1, indexingHelper.sendDocumentsCalled); assertEquals(0, indexUpdateCallback.docList.size()); } public void test_commit_withEmptyCache() { // Execute commit with no documents indexUpdateCallback.commit(); // Verify no indexing happened
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/protwords/ProtwordsFileTest.java
ProtwordsItem item = new ProtwordsItem(0, "newCommitItem"); ProtwordsFile.ProtwordsUpdater updater = protwordsFile.new ProtwordsUpdater(item); // Commit the item ProtwordsItem result = updater.commit(); assertNotNull(result); assertEquals("newCommitItem", result.getInput()); 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) -
finisher_api.go
} if err != nil { tx.AddError(err) } return tx } // Commit commits the changes in a transaction func (db *DB) Commit() *DB { if committer, ok := db.Statement.ConnPool.(TxCommitter); ok && committer != nil && !reflect.ValueOf(committer).IsNil() { db.AddError(committer.Commit()) } else { db.AddError(ErrInvalidTransaction) } return db }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 22.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
} /** * Commits the changes to the dictionary file. * If there is a pending new item, it is written to the file. * * @return The committed item, or null if no item was committed. * @throws DictionaryException if an I/O error occurs. */ public StopwordsItem commit() { isCommit = true; if (item != null && item.isUpdated()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java
} /** * Commits the changes to the dictionary file. * If there is a pending new item, it is written to the file. * * @return The committed item, or null if no item was committed. * @throws DictionaryException if an I/O error occurs. */ public StemmerOverrideItem commit() { isCommit = true;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.7K bytes - Viewed (0)