Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,053 for batch (0.02 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. 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)
  7. 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)
  8. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

         * 4 = SMB_COM_DELETE_DIRECTORY
         * 5 = SMB_COM_OPEN_ANDX
         * 6 = SMB_COM_RENAME
         * 7 = SMB_COM_TRANSACTION
         * 8 = SMB_COM_QUERY_INFORMATION
         */
    
        /* All batch limits are single batch only until further notice
         */
    
        private static byte[] batchLimits = { 1, 1, 1, 1, 1, 1, 1, 1, 0 };
    
        static {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/cache/package-info.java

     * Result result = cache.request(myRequest, req -> {
     *     // Expensive operation to compute result
     *     return computedResult;
     * });
     * </pre>
     * <p>
     * The package also provides support for batch operations through {@link org.apache.maven.api.cache.BatchRequestException}
     * and {@link org.apache.maven.api.cache.RequestResult} which help manage multiple requests and their results.
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. 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)
Back to top