Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,983 for batch (0.01 sec)

  1. src/test/java/jcifs/SmbConnectionTest.java

            // Test various command batch limits
            int readAndXClose = config.getBatchLimit("ReadAndX.Close");
            assertTrue(readAndXClose >= 0, "ReadAndX.Close batch limit should be non-negative");
    
            int treeConnectCheck = config.getBatchLimit("TreeConnectAndX.CheckDirectory");
            assertTrue(treeConnectCheck >= 0, "TreeConnectAndX.CheckDirectory batch limit should be non-negative");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

        private void feedConsumer() {
            final ArrayList<Exchange> batch = new ArrayList<>(batchMaxSize);
            try {
                while (true) {
                    batch.clear();
                    if (eventQueue.drainTo(batch, BATCH_MAX_SIZE) == 0) {
                        batch.add(eventQueue.take());
                    }
                    demux(batch);
                }
            } catch (InterruptedException ignored) {
                // silent
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Feb 06 11:28:05 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

         *
         * @param <REQ> The type of the request
         * @param <REP> The type of the response
         * @param message The error message describing the batch operation failure
         * @param allResults List of results from all attempted requests in the batch
         */
        public <REQ extends Request<?>, REP extends Result<REQ>> BatchRequestException(
                String message, List<RequestResult<REQ, REP>> allResults) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

        private void feedConsumer() {
            final ArrayList<Exchange> batch = new ArrayList<>(batchMaxSize);
            try {
                while (true) {
                    batch.clear();
                    if (eventQueue.drainTo(batch, BATCH_MAX_SIZE) == 0) {
                        batch.add(eventQueue.take());
                    }
                    demux(batch);
                }
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java

        /**
         * Executes and optionally caches a batch of requests using the provided supplier function.
         * This method allows for efficient batch processing of multiple requests.
         * <p>
         * The implementation may optimize the execution by:
         * <ul>
         *   <li>Returning cached results for previously executed requests</li>
         *   <li>Grouping similar requests for batch processing</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                    Arguments.of(true, new String[] {"--force-interactive", "--non-interactive", "--batch-mode"}, false),
                    Arguments.of(false, new String[] {"--non-interactive"}, true),
                    Arguments.of(false, new String[] {"--batch-mode"}, true),
                    Arguments.of(false, new String[] {"--non-interactive", "--batch-mode"}, true));
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

            try {
                return ps.execute();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Executes a batch update.
         *
         * @param ps
         *            {@link PreparedStatement}. Must not be {@literal null}.
         * @return An array of the number of rows affected by each command in the batch.
         * @throws SQLRuntimeException
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. 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)
  9. tests/query_test.go

    		results = append(results, sub...)
    		lastBatch = batch
    		return nil
    	}); result.Error != nil || result.RowsAffected != 5 {
    		t.Errorf("Failed to batch find, got error %v, rows affected: %v", result.Error, result.RowsAffected)
    	}
    	if lastBatch != 3 {
    		t.Fatalf("incorrect last batch, expected: %v, got: %v", 3, lastBatch)
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  10. maven-tests/mvnw.cmd

    try {
      Move-Item -Path "$TMP_DOWNLOAD_DIR/$MAVEN_HOME_NAME" -Destination $MAVEN_HOME_PARENT | Out-Null
    } catch {
      if (! (Test-Path -Path "$MAVEN_HOME" -PathType Container)) {
        Write-Error "fail to move MAVEN_HOME"
      }
    } finally {
      try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null }
      catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" }
    }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Sep 25 18:22:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top