Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,040 for commit (0.05 seconds)

  1. 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();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. CONTRIBUTING.md

    ### Creating commits and writing commit messages
    
    The commit messages that accompany your code changes are an important piece of documentation. Please follow these guidelines when creating commits:
    
    * [Write good commit messages.](https://cbea.ms/git-commit/#seven-rules)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  3. 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()
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                    return 0;
                }
    
                @Override
                public long getExecuteTime() {
                    return 0;
                }
    
                @Override
                public void commit() {
                }
            };
    
            FileListIndexUpdateCallbackImpl callback = new FileListIndexUpdateCallbackImpl(mockCallback, null, 1);
            callback.setMaxDeleteDocumentCacheSize(1000);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  5. 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
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

                    doc2.put("id", "2");
                    doc2.put("title", "Document 2");
                    callback.store(initParamMap, doc2);
    
                    // Commit the changes
                    callback.commit();
                }
    
                @Override
                public void stop() {
                    // Do nothing
                }
            };
    
            DataConfig config = new DataConfig();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  7. scripts/translate.py

    ) -> None:
        print("Setting up GitHub Actions git user")
        repo = git.Repo(Path(__file__).absolute().parent.parent)
        if not repo.is_dirty(untracked_files=True):
            print("Repository is clean, no changes to commit")
            return
        subprocess.run(["git", "config", "user.name", "github-actions[bot]"], check=True)
        subprocess.run(
            ["git", "config", "user.email", "github-actions[bot]@users.noreply.github.com"],
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  8. 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();
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalBwcGitPlugin.java

         * commit was made.
         * <p>
         * This approach doesn't work with merge commits as these can introduce commits in the chronological order
         * after the fact e.x. a merge done today can add commits dated with yesterday so the result will no longer be
         * deterministic.
         * <p>
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 9.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                }
            }
    
            /**
             * Commits the current item to the temporary file.
             * @return the committed item or null if no item to commit
             */
            public ProtwordsItem commit() {
                isCommit = true;
                if (item != null && item.isUpdated()) {
                    try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.9K bytes
    - Click Count (0)
Back to Top