Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 605 for batch (0.02 sec)

  1. tests/generics_test.go

    func TestGenericsCreateInBatches(t *testing.T) {
    	batch := []User{
    		{Name: "GenericsCreateInBatches1"},
    		{Name: "GenericsCreateInBatches2"},
    		{Name: "GenericsCreateInBatches3"},
    	}
    	ctx := context.Background()
    
    	if err := gorm.G[User](DB).CreateInBatches(ctx, &batch, 2); err != nil {
    		t.Fatalf("CreateInBatches failed: %v", err)
    	}
    
    	for _, u := range batch {
    		if u.ID == 0 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

        protected CrawlerClientFactory crawlerClientFactory;
    
        /**
         * List of URLs to be deleted, cached for batch processing.
         * All access is synchronized via indexUpdateCallback lock.
         */
        protected List<String> deleteUrlList = new ArrayList<>();
    
        /** Maximum size of the delete URL cache before batch deletion is triggered. */
        protected int maxDeleteDocumentCacheSize;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 29.7K bytes
    - Viewed (3)
  3. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Parses .mvn/jvm.config file for Windows batch/Unix shell scripts.
     * This avoids the complexity of parsing special characters (pipes, quotes, etc.) in scripts.
     *
     * Usage: java JvmConfigParser.java <jvm.config-path> <maven-project-basedir> [output-file]
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 10 16:40:06 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. README.md

    * Hooks (Before/After Create/Save/Update/Delete/Find)
    * Eager loading with `Preload`, `Joins`
    * Transactions, Nested Transactions, Save Point, RollbackTo to Saved Point
    * Context, Prepared Statement Mode, DryRun Mode
    * Batch Insert, FindInBatches, Find To Map
    * SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, NamedArg, Search/Update/Create with SQL Expr
    * Composite Primary Key
    * Auto Migrations
    * Logger
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 09:30:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. generics.go

    	err := g.g.apply(ctx).Find(&r).Error
    	return r, err
    }
    
    func (g execG[T]) FindInBatches(ctx context.Context, batchSize int, fc func(data []T, batch int) error) error {
    	var data []T
    	return g.g.apply(ctx).FindInBatches(&data, batchSize, func(tx *DB, batch int) error {
    		return fc(data, batch)
    	}).Error
    }
    
    func (g execG[T]) Row(ctx context.Context) *sql.Row {
    	return g.g.apply(ctx).Row()
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                        .longOpt("batch-mode")
                        .desc("Run in non-interactive mode. Alias for --non-interactive (kept for backwards compatability)")
                        .get());
                options.addOption(Option.builder()
                        .longOpt(NON_INTERACTIVE)
                        .desc("Run in non-interactive mode. Alias for --batch-mode")
                        .get());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 08 07:36:42 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  7. apache-maven/src/assembly/maven/bin/mvn.cmd

    @REM
    @REM   JAVA_HOME         (Optional) Points to a Java installation.
    @REM   MAVEN_ARGS        (Optional) Arguments passed to Maven before CLI arguments.
    @REM   MAVEN_BATCH_ECHO  (Optional) Set to 'on' to enable the echoing of the batch commands.
    @REM   MAVEN_BATCH_PAUSE (Optional) set to 'on' to wait for a key stroke before ending.
    @REM   MAVEN_OPTS        (Optional) Java runtime options used when Maven is executed.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 10 16:40:06 UTC 2025
    - 10.7K bytes
    - Viewed (3)
  8. CLAUDE.md

    ## Important Notes
    
    ### Thread Safety
    - **Suggester**: Thread-safe for queries
    - **SuggestIndexer**: Thread-safe for indexing
    - **SuggestSettings**: NOT thread-safe for modifications
    
    ### Performance
    - Use batch operations for indexing (100-500 items)
    - Don't call `refresh()` too frequently
    - Limit `maxReadingNum` to prevent memory issues
    - OpenSearch auto-refreshes every 1 second by default
    
    ### Compatibility
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            return searchEngineClient.delete(fessConfig.getIndexDocumentUpdateIndex(), id);
        }
    
        /**
         * Deletes all documents that match the specified URL.
         *
         * @param searchEngineClient the search engine client to use for deletion
         * @param url the URL to match for document deletion
         * @return the number of documents that were deleted
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  10. .github/workflows/maven.yml

              key: master-${{ runner.os }}-${{ github.run_id }}
              restore-keys: |
                master-${{ runner.os }}-
                master-
    
          - name: Set up Maven
            shell: bash
            run: mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.4:wrapper "-Dmaven=4.0.0-rc-4"
    
          - name: Prepare Mimir for Maven 4.x
            shell: bash
            run: |
              rm .mvn/extensions.xml
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 04:24:24 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top